/**
 * Arise Pulse - Application Stylesheet (style.css)
 * 19.11.2026 - Hasan & AI: View dosyalarındaki satır içi <style> blokları
 * (Salt-Okunur Mod kuralları, SPA ilerleme çubuğu ve sayfa bileşen yardımcıları)
 * merkezi harici stil dosyasına taşındı.
 */

/* ==========================================================================
   1. SALT-OKUNUR İZLEME MODU (PULSE_READ_ONLY=true) GÖRÜNÜM KORUMASI
   ========================================================================== */
body[data-pulse-readonly="true"] #dropdownRestartServices,
body[data-pulse-readonly="true"] #btnQuickBgsave,
body[data-pulse-readonly="true"] #btnQuickRestartDaemon,
body[data-pulse-readonly="true"] #btnTriggerRestartDaemon,
body[data-pulse-readonly="true"] #btnTriggerSaveKeydb,
body[data-pulse-readonly="true"] #btnSaveToDisk,
body[data-pulse-readonly="true"] #btnDeleteSelected,
body[data-pulse-readonly="true"] #bulkSelectionToolbar,
body[data-pulse-readonly="true"] #keyDetailDeleteBtn,
body[data-pulse-readonly="true"] #btnModalDeleteKey,
body[data-pulse-readonly="true"] .btn-delete-key,
body[data-pulse-readonly="true"] .btn-kill-client,
body[data-pulse-readonly="true"] .key-row-checkbox,
body[data-pulse-readonly="true"] #checkAllRows,
body[data-pulse-readonly="true"] #selectAllKeys {
    display: none !important;
}

/* ==========================================================================
   2. SPA (SINGLE PAGE APPLICATION) GEÇİŞ İLERLEME ÇUBUĞU
   ========================================================================== */
.pulse-spa-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2.5px;
    width: 0%;
    background: linear-gradient(90deg, var(--arise-orange), #ff9b6a);
    box-shadow: 0 0 8px rgba(232, 98, 44, 0.55);
    z-index: 2050;
    opacity: 0;
    pointer-events: none;
    transition: width 0.22s ease-out, opacity 0.18s ease;
}

/* ==========================================================================
   3. ORTAK BİLEŞEN VE ETKİLEŞİM YARDIMCILARI
   ========================================================================== */
#pulse-toast-container {
    z-index: 1090;
}

.tenant-row {
    cursor: pointer;
}

.btn-pulse-restart-confirm {
    background-color: var(--arise-orange) !important;
    border-color: var(--arise-orange) !important;
    color: #ffffff !important;
}

.btn-pulse-restart-confirm:hover,
.btn-pulse-restart-confirm:focus {
    background-color: var(--arise-orange-hover) !important;
    border-color: var(--arise-orange-hover) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   4. POSTGRESQL 18 DERİN TELEMETRİ, WAL/YEDEK VE TABLO/KİRACI BOYUT KARTLARI
   ========================================================================== */
.pulse-pg-metric-tile {
    background: var(--arise-surface-subtle);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    height: 100%;
}

.pulse-pg-metric-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    margin-bottom: 0.25rem;
}

.pulse-pg-metric-sub {
    font-size: 0.73rem;
    color: var(--bs-secondary-color);
}

.pulse-pg-progress {
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background-color: rgba(148, 163, 184, 0.22);
}

.pulse-pg-table {
    font-size: 0.81rem;
}

.pulse-section-heading {
    color: var(--arise-navy);
}

.pulse-accent-icon {
    color: var(--arise-orange);
}
