/* 
================================================================
SQLGuard Dashboard - Core CSS
Theme: Modern Dark / Glassmorphism
================================================================
*/

/* Fonts loaded via system stack */

:root {
    --bg-color: #05070a;
    --card-bg: #0d1117; /* Saydamlık tamamen kaldırıldı */
    --glass-border: #161b22; /* Beyazımsı kenarlar karartıldı */
    --primary-color: #58a6ff;
    --accent-color: #7d4cdb;
    --text-main: #c9d1d9;
    --text-pill: #8b949e;
    --text-color: #c9d1d9;
    --success: #238636;
    --danger: #da3633;
    --warning: #d29922;
    --report-tile-bg: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #05070a; 
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ensure icons use Font Awesome */
.fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
    font-family: "Font Awesome 6 Free" !important;
}

/* Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--card-bg);
    border-right: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(243, 243, 243);
    margin-bottom: 3rem;
}

.brand span {
    color: var(--primary-color);
}

.backup-option {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border: 1px solid #30363d;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #0d1117;
}

.backup-option:hover {
    background: #21262d;
    border-color: #8b949e;
    transform: translateX(5px);
}

.backup-option.selected {
    border-color: #58a6ff;
    background: rgba(88, 166, 255, 0.1);
    box-shadow: 0 0 0 1px #58a6ff;
}

.backup-option i {
    font-size: 1.8rem;
    margin-right: 1.2rem;
    min-width: 30px;
    text-align: center;
}

.backup-option strong {
    display: block;
    color: #f0f6fc;
    font-size: 1rem;
    margin-bottom: 2px;
}

.nav-links {
    list-style: none;
}

.nav-item {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-pill);
}

.nav-item:hover, .nav-item.active {
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 2rem 3rem;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-content.expanded {
    margin-left: 0;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-toggle {
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--primary-color);
    padding: 5px;
    transition: transform 0.2s ease;
}

.sidebar-toggle:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.api-key-box {
    background: var(--card-bg);
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.btn-logout-sidebar:hover {
    background: #f85149 !important;
    color: white !important;
    transform: scale(1.02);
}


/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}


.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card-title {
    font-size: 0.9rem;
    color: var(--text-pill);
    margin-bottom: 10px;
}

.card-value {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Instance Table */
.data-section {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th {
    text-align: left;
    color: var(--text-pill);
    font-size: 0.85rem;
    padding: 12px;
    border-bottom: 1px solid var(--glass-border);
}

td {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    vertical-align: middle;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.status-online { background: rgba(35, 134, 54, 0.2); color: #3fb950; }
.status-offline { background: rgba(218, 54, 51, 0.2); color: #f85149; }

/* Charts Area */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
}

.chart-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    min-height: 420px; /* Grafiğin yeri önceden ayrılmış olsun */
}

#live-chart, #sql-chart {
    min-height: 350px;
    width: 100%;
}

.content-section {
    display: none;
    width: 100%;
}

.content-section.active {
    display: block;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.search-box i {
    color: var(--text-pill);
}

.search-box input:focus {
    width: 300px !important;
    transition: width 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.5s ease forwards;
}
/* --- FINAL REFINED BACKUP MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none; /* JS flex'e çeviriyor */
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 16px;
    width: 90%;
    max-width: 550px;
    padding: 2.5rem;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    color: #c9d1d9;
    animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #30363d;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

.modal-close {
    background: #21262d;
    border: none;
    color: #8b949e;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body p {
    color: #c9d1d9;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.backup-option {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.backup-option:hover {
    background: #1c2128;
    border-color: #8b949e;
}

.backup-option.selected {
    border-color: #58a6ff;
    background: rgba(88, 166, 255, 0.1);
}

.backup-option i {
    font-size: 2rem;
    margin-right: 1.5rem;
    min-width: 40px;
}

.backup-option strong {
    display: block;
    color: #f0f6fc;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.backup-option div div {
    color: #8b949e;
    font-size: 0.85rem;
    line-height: 1.4;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary { background: #238636; color: white; }
.btn-secondary { background: #30363d; color: #c9d1d9; }

/* --- OFFLINE CHART OVERLAY --- */
.chart-card {
    position: relative; /* Overlay'in bu kutuya göre hizalanması için */
}

.chart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(6px);
    display: none; /* Varsayılan gizli */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: inherit;
    color: #f85149;
    font-weight: 600;
    gap: 12px;
    border: 1px solid #f8514944;
}

.chart-overlay i {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px #f8514944);
}

.chart-overlay span {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.chart-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* --- PREMIUM TOAST NOTIFICATIONS --- */
#toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    width: 380px;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    overflow: hidden;
    animation: toastSlideInPremium 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast.success .toast-icon { background: rgba(54, 187, 83, 0.15); color: #3fb950; }
.toast.error .toast-icon { background: rgba(248, 81, 73, 0.15); color: #f85149; }
.toast.info .toast-icon { background: rgba(88, 166, 255, 0.15); color: #58a6ff; }
.toast.warning .toast-icon { background: rgba(210, 153, 34, 0.15); color: #d29922; }

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.toast-message {
    font-size: 0.88rem;
    color: #8b949e;
    line-height: 1.4;
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    background: var(--primary-color);
    animation: toastProgress 5s linear forwards;
}

.toast.success .toast-progress-bar { background: #3fb950; }
.toast.error .toast-progress-bar { background: #f85149; }
.toast.info .toast-progress-bar { background: #58a6ff; }
.toast.warning .toast-progress-bar { background: #d29922; }

@keyframes toastSlideInPremium {
    from { transform: translateX(120%) scale(0.9); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes toastSlideOutPremium {
    to { transform: translateX(120%) scale(0.9); opacity: 0; }
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* --- GLASS CARD & HEALTH SECTION STYLES --- */
.glass-card {
    background: rgba(13, 17, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.health-check-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    transition: all 0.3s ease;
}

.health-check-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(88, 166, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
}

#health-score-chart {
    min-height: 180px !important;
    width: 100%;
}

@media (max-width: 1100px) {
    #section-health > div {
        grid-template-columns: 1fr !important;
    }
}
/* --- SETTINGS PAGE STYLES --- */
/* --- MODERN SETTINGS PAGE STYLES --- */
.settings-container {
    display: flex;
    gap: 50px;
    margin-top: 1rem;
    align-items: flex-start;
    width: 100%;
    min-height: 700px;
}

.settings-nav {
    flex: 0 0 400px;
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: sticky;
    top: 20px;
}

.settings-nav-header {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-pill);
    
    letter-spacing: 1px;
    padding: 10px 15px;
    margin-top: 5px;
}

.settings-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-pill);
    padding: 20px 28px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.settings-tab i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.settings-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transform: translateX(3px);
}

.settings-tab.active {
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
    border-color: rgba(88, 166, 255, 0.2);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.05);
}

.settings-content-area {
    flex: 1;
    min-height: 700px;
}

.settings-panel {
    display: none;
    animation: slideUp 0.4s ease;
}

.settings-panel.active {
    display: block;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    margin-bottom: 2rem;
}

.panel-header h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.panel-header h3 i {
    color: var(--primary-color);
    font-size: 2rem;
}

.panel-header p {
    color: var(--text-pill);
    font-size: 1.05rem;
}

/* Settings Cards */
.profile-card, .settings-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4.5rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    width: 100%;
    margin-bottom: 3rem;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.premium-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 15px 40px rgba(88, 166, 255, 0.4);
    border: 5px solid rgba(255,255,255,0.1);
}

.profile-info h4 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #3fb950;
    font-weight: 600;
    background: rgba(63, 185, 80, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #3fb950;
    border-radius: 50%;
    box-shadow: 0 0 10px #3fb950;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.modern-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.settings-item-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    transition: all 0.2s ease;
}

.settings-item-card:hover {
    border-color: rgba(88, 166, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.item-info label {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.item-info p {
    font-size: 0.85rem;
    color: var(--text-pill);
}

/* API Key Premium Box */
.api-key-premium-box {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.key-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.key-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-pill);
    letter-spacing: 0.5px;
}

.key-status {
    font-size: 0.75rem;
    color: #3fb950;
    font-weight: 600;
}

.key-display-area {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0,0,0,0.2);
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.key-display-area code {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.key-actions {
    display: flex;
    gap: 8px;
}

.key-actions button {
    background: #21262d;
    border: 1px solid #30363d;
    color: #8b949e;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.key-actions button:hover {
    color: #ffffff;
    border-color: #8b949e;
}

.key-actions button.danger:hover {
    background: rgba(248, 81, 73, 0.1);
    color: #f85149;
    border-color: #f85149;
}

.key-warning {
    margin-top: 15px;
    font-size: 0.75rem;
    color: #ff7b72;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Command Box Premium */
.command-box-premium {
    background: #05070a;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 20px;
}

.command-box-premium code {
    color: #79c0ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.command-box-premium button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
}

.btn-download-premium {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #238636, #2ea043);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(35, 134, 54, 0.2);
}

/* Cloud Provider Selector */
.cloud-provider-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.provider-option {
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 600;
}

.provider-option i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.provider-option:hover {
    background: rgba(255,255,255,0.05);
}

.provider-option.active {
    border-color: var(--primary-color);
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
}

.cloud-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

/* Color Picker */
.color-picker-grid {
    display: flex;
    gap: 15px;
}

.color-dot {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s;
}


.color-dot.active {
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Action Buttons */
.btn-save {
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
}

.btn-save:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.api-key-display {
    background: #05070a;
    border: 1px solid #30363d;
    padding: 12px 15px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

/* --- FINAL STYLES --- */
@media (max-width: 900px) {
    .settings-container {
        flex-direction: column;
    }
    .settings-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .settings-tab {
        flex: 0 0 auto;
    }
}

/* --- CUSTOM MODAL (CONFIRM/ALERT) --- */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-card {
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-icon {
    font-size: 3rem;
    color: #f85149;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.modal-body {
    color: #8b949e;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-modal {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    flex: 1;
}

.btn-modal-confirm {
    background: #f85149;
    color: white;
}

.btn-modal-confirm:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-modal-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: #8b949e;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalScaleIn {
    to { transform: scale(1); }
}

/* --- AUTHENTICATION STYLES --- */
#auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at top right, #0d1117, #05070a);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
}

.admin-only {
    display: none;
}

.auth-card {
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: authPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes authPop {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(88, 166, 255, 0.3));
}

.auth-header h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-pill);
    font-size: 0.9rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-pill);
    font-weight: 500;
}

/* --- GLOBAL MODERN INPUTS --- */
input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="number"],
.auth-input {
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid var(--glass-border);
    color: #f0f6fc;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

input:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(88, 166, 255, 0.3);
}

input:focus {
    background: rgba(88, 166, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.1), inset 0 0 10px rgba(88, 166, 255, 0.05);
}

input::placeholder {
    color: #484f58;
}

.auth-btn {
    background: var(--primary-color);
    color: white;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.auth-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-pill);
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.auth-link:hover {
    text-decoration: underline;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
}

/* ==========================================================================
   SETTINGS REDESIGN COMPONENTS
   ========================================================================== */

.settings-container {
    display: flex;
    gap: 24px;
    height: calc(100vh - 120px);
}

.settings-nav {
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 1px solid var(--glass-border);
    padding-right: 20px;
}

.settings-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #8b949e;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-align: left;
}

.settings-tab-btn i {
    width: 20px;
    text-align: center;
}

.settings-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.settings-tab-btn.active {
    background: rgba(56, 139, 253, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

.settings-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.settings-pane {
    display: none;
}

.settings-pane.active {
    display: block;
}

/* Toggle Switch */
.switch-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #30363d;
    transition: .4s;
    border-radius: 22px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px; width: 16px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* ==========================================================================
   ALERTS REDESIGN COMPONENTS
   ========================================================================== */

.alert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.alert-card {
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.alert-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--glass-border);
}

.alert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: rgba(22, 27, 34, 0.9);
}

.alert-card.critical {
    background: linear-gradient(180deg, rgba(248, 81, 73, 0.05) 0%, rgba(13, 17, 23, 0.9) 100%);
    border-color: rgba(248, 81, 73, 0.2);
    box-shadow: 0 15px 35px rgba(248, 81, 73, 0.15);
}

.alert-card.critical::before {
    background: linear-gradient(90deg, #f85149, #ff7b72);
    animation: criticalPulse 2s infinite;
}

.alert-card.warning {
    background: linear-gradient(180deg, rgba(210, 153, 34, 0.05) 0%, rgba(13, 17, 23, 0.9) 100%);
    border-color: rgba(210, 153, 34, 0.2);
    box-shadow: 0 15px 35px rgba(210, 153, 34, 0.1);
}

.alert-card.warning::before {
    background: linear-gradient(90deg, #d29922, #f3d45c);
}

@keyframes criticalPulse {
    0% { opacity: 1; box-shadow: 0 0 10px #f85149; }
    50% { opacity: 0.6; box-shadow: 0 0 25px #f85149; }
    100% { opacity: 1; box-shadow: 0 0 10px #f85149; }
}

.alert-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.alert-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.alert-badge.critical { background: rgba(248, 81, 73, 0.15); color: #ff7b72; border: 1px solid rgba(248, 81, 73, 0.3); }
.alert-badge.warning { background: rgba(210, 153, 34, 0.15); color: #f3d45c; border: 1px solid rgba(210, 153, 34, 0.3); }

.alert-card-body {
    flex: 1;
}

.alert-card-body h4 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.alert-card-body p {
    margin: 0;
    font-size: 0.95rem;
    color: #8b949e;
    line-height: 1.6;
}

.alert-card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #8b949e;
    font-weight: 500;
}

/* Sidebar Badge */
.nav-badge {
    background: #f85149;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto;
    box-shadow: 0 0 10px rgba(248, 81, 73, 0.4);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(248, 81, 73, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(248, 81, 73, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(248, 81, 73, 0); }
}

.ai-suggestion-box {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.08) 0%, rgba(88, 166, 255, 0.02) 100%);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    color: #e6edf3;
    display: none; 
    animation: slideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: inset 0 0 20px rgba(88, 166, 255, 0.05);
    position: relative;
}

.ai-suggestion-box::before {
    content: "\f544"; /* Robot icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    bottom: -15px;
    font-size: 5rem;
    opacity: 0.05;
    color: var(--primary-color);
    pointer-events: none;
}

.ai-suggestion-box.active {
    display: block;
}

.ai-suggestion-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #58a6ff;
    font-weight: 800;
    margin-bottom: 12px;
    
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.ai-suggestion-header i {
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.5);
}

.ai-toggle-btn {
    background: linear-gradient(180deg, rgba(88, 166, 255, 0.15), rgba(88, 166, 255, 0.05));
    border: 1px solid rgba(88, 166, 255, 0.3);
    color: #79c0ff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(88, 166, 255, 0.1);
}

.ai-toggle-btn:hover {
    background: linear-gradient(180deg, rgba(88, 166, 255, 0.25), rgba(88, 166, 255, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(88, 166, 255, 0.2);
    border-color: rgba(88, 166, 255, 0.5);
    color: #ffffff;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* History table improvements */
#alerts-history-body tr {
    transition: all 0.2s ease;
}

#alerts-history-body tr:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: scale(1.01);
}

/* Modern Action Buttons */
.btn-action-delete {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(248, 81, 73, 0.2);
    background: rgba(248, 81, 73, 0.05);
    color: #f85149;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-action-delete:hover {
    background: #f85149;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 81, 73, 0.3);
}

.btn-action-delete i {
    font-size: 0.95rem;
}

/* Modern Status Toggle Buttons */
.status-toggle-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    
    letter-spacing: 0.8px;
    min-width: 90px;
    justify-content: center;
}

.status-toggle-active {
    background: rgba(88, 166, 255, 0.08);
    color: #58a6ff;
    border-color: rgba(88, 166, 255, 0.2);
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.05);
}

.status-toggle-active:hover {
    background: #58a6ff;
    color: #0d1117;
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.4);
    transform: scale(1.05);
}

.status-toggle-passive {
    background: rgba(139, 148, 158, 0.08);
    color: #8b949e;
    border-color: rgba(139, 148, 158, 0.2);
}

.status-toggle-passive:hover {
    background: #8b949e;
    color: #0d1117;
    transform: scale(1.05);
}

.status-toggle-btn i {
    font-size: 0.55rem;
    filter: drop-shadow(0 0 2px currentColor);
}

/* Modern Confirm Modal Premium Theme */
.confirm-modal-card {
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(248, 81, 73, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(248, 81, 73, 0.1);
    border-radius: 24px;
    max-width: 420px;
    width: 90%;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: confirmModalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f85149, transparent);
}

@keyframes confirmModalPop {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

#confirm-icon-container {
    background: rgba(248, 81, 73, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 1px solid rgba(248, 81, 73, 0.2);
    box-shadow: 0 0 20px rgba(248, 81, 73, 0.1);
}

#confirm-icon-container i {
    font-size: 2.5rem;
    color: #f85149;
    filter: drop-shadow(0 0 5px rgba(248, 81, 73, 0.5));
}

/* --- PROFESSIONAL PITR 'TIME STREAM' STYLES --- */
.pitr-main-stage {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pitr-view-controls {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.view-btn {
    background: transparent;
    border: none;
    color: #8b949e;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.view-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.view-btn.active {
    background: var(--primary-color);
    color: #0d1117;
}

.pitr-timeline-container {
    position: relative;
    padding: 80px 0;
    margin: 20px 0;
    background: linear-gradient(90deg, transparent 0%, rgba(88, 166, 255, 0.03) 50%, transparent 100%);
    border-radius: 20px;
}

.pitr-timeline-track-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-50%);
    z-index: 1;
}

.pitr-timeline-track {
    position: relative;
    width: 100%;
    height: 4px;
    z-index: 2;
}

.pitr-dot {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pitr-dot i {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px currentColor);
}

.pitr-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    background: currentColor;
    opacity: 0.3;
    z-index: -1;
}

.dot-full { top: -12px; color: #58a6ff; z-index: 10; }
.dot-full::after { height: 0; }

.dot-diff { top: -45px; color: #d29922; }
.dot-diff::after { height: 45px; top: 12px; }

.dot-log { top: 20px; color: #3fb950; }
.dot-log::after { height: 20px; bottom: 8px; }

.pitr-dot:hover {
    transform: translateX(-50%) scale(1.4);
    z-index: 50;
}

.pitr-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 120px;
    background: transparent;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 30;
    cursor: pointer;
    margin: 0;
}

.pitr-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 2px;
    height: 120px;
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    cursor: pointer;
}

.pitr-time-indicator {
    position: absolute;
    top: -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1rem;
    pointer-events: none;
    z-index: 40;
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.5);
}

.pitr-time-indicator i {
    font-size: 1.2rem;
    margin-bottom: -5px;
}

/* Snapshot Preview Card */
.pitr-snapshot-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8b949e;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.preview-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-item label {
    font-size: 0.75rem;
    color: #8b949e;
}

.preview-item span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.pitr-legend-modern {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.pitr-status-badge {
    background: rgba(63, 185, 80, 0.1);
    color: #3fb950;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(63, 185, 80, 0.2);
}

.pitr-warning-box {
    background: rgba(210, 153, 34, 0.05);
    border: 1px solid rgba(210, 153, 34, 0.2);
    padding: 15px 25px;
    border-radius: 12px;
    color: #d29922;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
}

.pitr-restore-btn {
    padding: 18px 45px !important;
    font-size: 1.1rem !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(125, 76, 219, 0.3) !important;
}

.pitr-restore-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(125, 76, 219, 0.4) !important;
}

.pitr-status-badge {
    background: rgba(63, 185, 80, 0.1);
    color: #3fb950;
    border: 1px solid rgba(63, 185, 80, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
/* Rapor Sayfası Ekleri */
.report-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.report-stats-grid .stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.report-stats-grid .stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.report-stats-grid .stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-pill);
    display: block;
}

.report-stats-grid .stat-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.report-type-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.report-type-card:hover {
    background: rgba(255,255,255,0.05);
}

.report-type-card.active {
    border-color: var(--primary-color);
    background: rgba(88, 166, 255, 0.1);
}

.report-type-card i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--text-pill);
}

.report-type-card.active i {
    color: var(--primary-color);
}

/* Server Action Buttons */
.btn-action-primary {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(88, 166, 255, 0.4);
    color: #58a6ff;
    background: rgba(88, 166, 255, 0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-action-primary:hover {
    background: rgba(88, 166, 255, 0.15);
    border-color: #58a6ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.15);
}

.btn-action-danger {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(248, 81, 73, 0.4);
    color: #f85149;
    background: rgba(248, 81, 73, 0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-action-danger:hover {
    background: rgba(248, 81, 73, 0.15);
    border-color: #f85149;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(248, 81, 73, 0.15);
}
.schedule-time-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-time-stat:first-child {
    border-left: none;
}

.time-label {
    font-size: 0.6rem;
    font-weight: 800;
    color: #8b949e;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.time-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e6edf3;
}

/* --- CUSTOM MODERN SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(88, 166, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(88, 166, 255, 0.5);
}

/* Settings Content Scroll Correction */
.settings-content {
    max-height: 85vh;
    overflow-y: auto;
    padding-right: 15px; /* Scrollbar için boşluk */
}

/* Form Spacing Improvements */
.form-group {
    margin-bottom: 20px !important;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-pill);
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.5px;
    
}

/* Area for long text like JSON keys */
.auth-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 15px;
    color: white;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
}

.auth-textarea:focus {
    border-color: var(--primary-color);
    background: rgba(88, 166, 255, 0.05);
    outline: none;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}
/* --- CLOUD MANAGEMENT & PROVIDER PICKER --- */
.cloud-provider-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.provider-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.provider-card i {
    font-size: 2rem;
    color: var(--text-pill);
    transition: all 0.3s ease;
}

.provider-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-pill);
}

.provider-card:hover {
    background: rgba(88, 166, 255, 0.05);
    border-color: rgba(88, 166, 255, 0.3);
    transform: translateY(-3px);
}

.provider-card.active {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.15);
}

.provider-card.active i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.provider-card.active span {
    color: #ffffff;
}

.provider-card.active::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Status Pulse Animation */
.status-pulse {
    width: 10px;
    height: 10px;
    background-color: #3fb950;
    border-radius: 50%;
    position: relative;
}

.status-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3fb950;
    border-radius: 50%;
    animation: statusPulseAnim 2s infinite;
}

@keyframes statusPulseAnim {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* Refined Cloud Table */
#cloud-backup-table-body tr {
    transition: background 0.2s ease;
}

#cloud-backup-table-body tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.btn-action-cloud-restore {
    background: rgba(58, 185, 80, 0.1);
    color: #3fb950;
    border: 1px solid rgba(58, 185, 80, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.2s;
}

.btn-action-cloud-restore:hover {
    background: #238636;
    color: white;
}

/* --- MODERN SCHEDULER STYLES --- */
.frequency-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.frequency-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.frequency-card:hover {
    background: rgba(88, 166, 255, 0.05);
    border-color: rgba(88, 166, 255, 0.4);
    transform: translateY(-3px);
}

.frequency-card.active {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.2);
}

.frequency-card i {
    font-size: 1.6rem;
    color: var(--text-pill);
}

.frequency-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-pill);
}

.frequency-card:hover {
    background: rgba(88, 166, 255, 0.05);
    border-color: rgba(88, 166, 255, 0.3);
    transform: translateY(-2px);
}

.frequency-card.active {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.1);
}

.frequency-card.active i, .frequency-card.active span {
    color: var(--primary-color);
}

.modern-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.scheduler-step-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scheduler-step-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(88, 166, 255, 0.2), transparent);
}

.time-picker-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 17, 23, 0.6);
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.time-picker-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.1);
}

.time-picker-container input {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    width: 40px;
    text-align: center;
    outline: none;
    padding: 0;
    margin: 0;
}

.time-picker-container span {
    color: var(--text-pill);
    font-weight: 700;
}

/* --- MODERN SCHEDULE LIST FIX --- */
.schedule-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.schedule-item {
    background: #0d1117;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.2s ease;
    width: 100%;
}

.schedule-item:hover {
    background: #161b22;
    border-color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.schedule-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.schedule-info {
    flex: 1;
    min-width: 0; /* İçerik taşmasını önler */
}

.schedule-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
}

.schedule-info span {
    font-size: 0.85rem;
    color: var(--text-pill);
    display: block;
}

.schedule-badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-freq { 
    background: rgba(125, 76, 219, 0.15); 
    color: #a371f7; 
    border: 1px solid rgba(125, 76, 219, 0.3); 
}

.badge-type-full { background: rgba(88, 166, 255, 0.15); color: #58a6ff; border: 1px solid rgba(88, 166, 255, 0.3); }
.badge-type-diff { background: rgba(210, 153, 34, 0.15); color: #d29922; border: 1px solid rgba(210, 153, 34, 0.3); }
.badge-type-log { background: rgba(63, 185, 80, 0.15); color: #3fb950; border: 1px solid rgba(63, 185, 80, 0.3); }

.badge-type { 
    background: rgba(88, 166, 255, 0.15); 
    color: #58a6ff; 
    border: 1px solid rgba(88, 166, 255, 0.3); 
}

.schedule-cloud-status {
    color: #3fb950;
    font-size: 1.3rem;
    margin: 0 10px;
}

.schedule-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.btn-schedule-action {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: #161b22;
    color: var(--text-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.btn-schedule-action:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-schedule-delete:hover {
    background: var(--danger) !important;
    border-color: var(--danger) !important;
}

/* --- MODERN PITR SELECTION PANEL --- */
.pitr-selection-panel {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeIn 0.5s ease forwards;
}

.selection-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.selection-icon {
    width: 50px;
    height: 50px;
    background: rgba(88, 166, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.selection-item:hover .selection-icon {
    background: var(--primary-color);
    color: #0d1117;
    transform: rotate(-10deg) scale(1.1);
}

.selection-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.selection-content::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 5px;
    bottom: 12px;
    font-size: 0.7rem;
    color: var(--text-pill);
    pointer-events: none;
    opacity: 0.5;
}

.selection-content label {
    font-size: 0.7rem;
    color: var(--text-pill);
    
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    font-weight: 700;
}

.selection-content select {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    width: 100%;
    appearance: none;
    padding: 5px 0;
}

.selection-content select option {
    background: #0d1117;
    color: white;
    padding: 10px;
}

.selection-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--glass-border), transparent);
}

@media (max-width: 900px) {
    .pitr-selection-panel {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 20px;
    }
    .selection-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    }
}
/* --- MODERN SCHEDULER SELECTOR STYLES --- */
.selection-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 100;
}


.selection-card-modern {
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 18px 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: visible;
}

.selection-card-modern:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(88, 166, 255, 0.3);
    transform: translateY(-3px);
}

.selection-card-modern.active {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(88, 166, 255, 0.1);
    z-index: 10;
}

.selection-card-modern .card-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-pill);
    transition: all 0.3s;
}

.selection-card-modern.active .card-icon {
    background: var(--primary-color);
    color: white;
}

.card-text-content {
    flex: 1;
}

.card-text-content label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-pill);
    
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.card-text-content span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selection-card-modern .card-arrow {
    color: var(--text-pill);
    font-size: 0.8rem;
}

/* Custom Dropdown Overlay */
.selector-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #161b22;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-top: 10px;
    z-index: 9999;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    animation: dropdownSlide 0.2s ease-out;
}

.selector-overlay.active {
    display: block;
}

@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.selector-option {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.selector-option:last-child {
    border-bottom: none;
}

.selector-option:hover {
    background: rgba(255,255,255,0.05);
    color: var(--primary-color);
}

.selector-option.selected {
    color: var(--primary-color);
    background: rgba(88, 166, 255, 0.05);
}

/* --- MODERN SERVER CARDS --- */
.server-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.server-card-premium {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 22px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
}

.server-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(88, 166, 255, 0.1);
}

.server-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.server-id-badge {
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

.server-status-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-pill-online {
    background: rgba(63, 185, 80, 0.1);
    color: #3fb950;
    border: 1px solid rgba(63, 185, 80, 0.2);
}

.status-pill-offline {
    background: rgba(248, 81, 73, 0.1);
    color: #f85149;
    border: 1px solid rgba(248, 81, 73, 0.2);
}

.server-main-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.server-icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.1), rgba(125, 76, 219, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.server-name-group h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 2px;
}

.server-name-group p {
    font-size: 0.75rem;
    color: var(--text-pill);
}

.server-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: 12px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 0.65rem;
    color: var(--text-pill);
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 0.85rem;
    color: #e6edf3;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-actions-row {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.btn-server-action {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-server-explore {
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
}

.btn-server-explore:hover {
    background: var(--primary-color);
    color: white;
}

.btn-server-delete {
    background: rgba(248, 81, 73, 0.05);
    color: #f85149;
}

.btn-server-delete:hover {
    background: #f85149;
    color: white;
}

.server-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.server-card-premium:hover::before {
    opacity: 1;
}

.section-header-modern h2 {
    margin: 0;
    font-weight: 700;
}

.search-wrapper-modern {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.search-wrapper-modern:focus-within {
    border-color: var(--primary-color);
    background: rgba(88, 166, 255, 0.05);
}

.search-wrapper-modern i {
    color: var(--text-pill);
    font-size: 0.9rem;
}

.search-wrapper-modern input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    font-size: 0.9rem;
    width: 200px;
}

/* PITR Editable Time Styles */
.editable-time-container {
    position: relative;
    display: inline-block;
}

.editable-time {
    cursor: pointer;
    border-bottom: 1px dashed var(--primary-color);
    transition: color 0.2s;
}

.editable-time:hover {
    color: var(--primary-color);
}

.hidden-time-input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    cursor: pointer;
    z-index: -1;
}

.hidden-time-input.visible {
    position: static;
    opacity: 1;
    z-index: 1;
    background: #161b22;
    color: white;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 0.9rem;
}

/* High-End Styled DateTime Input */
#preview-target-input.visible {
    background: #0d1117;
    color: #58a6ff;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 0 10px rgba(88, 166, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 5px;
}

#preview-target-input.visible:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.2);
}

#preview-target-input::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(100%) saturate(500%) hue-rotate(180deg);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

#preview-target-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.tile-info {
    min-width: 150px;
}

.editable-time {
    display: block;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(88, 166, 255, 0.4);
}

/* Modernized Analysis Reports Styles */
.reports-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #30363d;
}

.reports-title-area h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f0f6fc;
    margin-bottom: 8px;
}

.reports-title-area p {
    color: #8b949e;
    font-size: 1rem;
}

.reports-selector {
    min-width: 320px;
}

.reports-container-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.report-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.report-stat-tile {
    background: #0d1117;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.report-stat-tile:hover {
    transform: translateY(-5px);
    border-color: #30363d;
}

.highlight-tile {
    background: linear-gradient(145deg, #161b22, #0d1117);
    border-color: var(--primary-color);
}

.tile-label {
    font-size: 0.75rem;
    color: #8b949e;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tile-value-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.tile-sub {
    font-size: 0.85rem;
    color: #484f58;
}

.modern-report-card {
    background: #0d1117;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.card-header-premium {
    background: rgba(255,255,255,0.02);
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #30363d;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1rem;
}

.card-content-premium {
    padding: 1.5rem;
    min-height: 120px;
}

.reports-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.ai-wisdom-card {
    border-left: 5px solid var(--primary-color);
}

.empty-state-reports {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #484f58;
    padding: 2rem 0;
}

.empty-state-reports i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* --- PREMIUM CLOUD SETTINGS STYLES --- */
.premium-cloud-card {
    padding: 3rem !important;
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-pill);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: block;
}

.cloud-provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.provider-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.provider-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.provider-card.active {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(88, 166, 255, 0.15);
}

.provider-icon {
    font-size: 2rem;
    color: var(--text-pill);
    transition: all 0.3s ease;
}

.provider-card.active .provider-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.provider-info strong {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.provider-info span {
    font-size: 0.8rem;
    color: var(--text-pill);
}

.modern-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.full-width {
    grid-column: span 2;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 20px;
    color: var(--text-pill);
    font-size: 1rem;
    pointer-events: none;
}

.input-with-icon .auth-input {
    padding-left: 50px !important;
}

.auth-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-input:focus {
    border-color: var(--primary-color) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.1) !important;
    outline: none;
}

.cloud-toggles-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.toggle-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.toggle-info strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 2px;
}

.toggle-info span {
    font-size: 0.8rem;
    color: var(--text-pill);
}

.connection-status-box {
    padding: 15px 25px;
    border-radius: 12px;
    background: rgba(63, 185, 80, 0.1);
    border: 1px solid rgba(63, 185, 80, 0.3);
    color: #3fb950;
    font-weight: 600;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cloud-actions-premium {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-premium-primary {
    background: var(--primary-color);
    color: #05070a;
    border: none;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(88, 166, 255, 0.4);
}

.btn-premium-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-premium-outline:hover {
    background: rgba(88, 166, 255, 0.05);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modern-form-grid, .cloud-toggles-row {
        grid-template-columns: 1fr;
    }
    .premium-cloud-card {
        padding: 1.5rem !important;
    }
}

/* --- CLOUD TOOLBAR MODERN --- */
.cloud-toolbar-premium {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.cloud-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.cloud-search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b949e;
    font-size: 0.9rem;
}

.cloud-search-wrapper input {
    width: 100% !important;
    padding: 10px 15px 10px 40px !important;
    background: rgba(13, 17, 23, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #c9d1d9 !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0 !important;
}

.cloud-search-wrapper input:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15) !important;
    background: rgba(13, 17, 23, 0.8) !important;
}

.cloud-filter-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cloud-filter-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--primary-color);
    pointer-events: none;
    z-index: 5;
}

.cloud-filter-wrapper select {
    appearance: none !important;
    padding: 10px 35px 10px 40px !important;
    background: rgba(13, 17, 23, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #c9d1d9 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 150px !important;
    margin-bottom: 0 !important;
}

.cloud-filter-wrapper select:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-refresh-modern {
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.2);
    color: var(--primary-color);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refresh-modern:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(180deg);
}

/* --- MODERN PITR TIMELINE OVERHAUL --- */
.pitr-main-stage {
    position: relative;
    padding: 20px 0;
    margin-bottom: 40px;
}

.pitr-fast-travel {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.pitr-fast-travel button {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #8b949e;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pitr-fast-travel button:hover {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.15);
}

.pitr-fast-travel button i {
    font-size: 0.8rem;
}

.pitr-timeline-wrapper {
    position: relative;
    height: 100px;
    background: rgba(13, 17, 23, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 30px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.pitr-timeline-track {
    position: absolute;
    left: 30px;
    right: 30px;
    height: 4px;
    pointer-events: none;
    z-index: 2;
}

.pitr-timeline-track-bg {
    position: absolute;
    left: 30px;
    right: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

/* Custom Range Slider */
.pitr-slider-modern {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.pitr-slider-modern::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border: 4px solid #0d1117;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.5);
    cursor: grab;
    transition: all 0.2s ease;
}

.pitr-slider-modern::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.2);
}

/* Time Bubble */
.pitr-time-bubble {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    transition: left 0.1s linear;
    z-index: 15;
}

.bubble-content {
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.bubble-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary-color);
}

/* Timeline Markers */
.pitr-marker {
    position: absolute;
    top: -10px;
    width: 12px;
    height: 24px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.pitr-marker.full { background: #58a6ff; box-shadow: 0 0 10px rgba(88, 166, 255, 0.3); }
.pitr-marker.diff { background: #d29922; box-shadow: 0 0 10px rgba(210, 153, 34, 0.3); }
.pitr-marker.log { 
    width: 2px; 
    height: 12px; 
    top: -4px; 
    background: #3fb950; 
    opacity: 0.6;
}

.pitr-marker:hover {
    transform: scale(1.5);
    z-index: 20;
    opacity: 1;
}

/* --- CLOUD LAYOUT GRID --- */
.cloud-layout-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 25px;
    align-items: start;
    width: 100%;
}
@media (max-width: 1200px) {
    .cloud-layout-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ABONELIK & BILLING PREMIUM STYLES --- */
.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    margin-top: 25px !important;
}

.pricing-plan-card {
    border: 1px solid var(--glass-border) !important;
    border-radius: 24px !important;
    padding: 35px 30px !important;
    background: rgba(13, 17, 23, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

.pricing-plan-card:hover {
    border-color: var(--primary-color) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 45px rgba(88, 166, 255, 0.1) !important;
}

.pricing-plan-card.premium-tier {
    border: 2px solid var(--primary-color) !important;
    background: rgba(88, 166, 255, 0.03) !important;
}

.pricing-plan-card ul li {
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
}

.pricing-plan-card button {
    transition: all 0.2s ease !important;
}

.pricing-plan-card button:hover:not(:disabled) {
    transform: scale(1.02) !important;
}

/* File Browser Styling */
.browse-header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    border-radius: 6px 6px 0 0;
}
.folder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    padding: 15px;
}
.folder-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.folder-card:hover {
    border-color: #58a6ff;
    background: #21262d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.folder-card i.fa-folder {
    font-size: 2.2rem;
    color: #ffca28; /* Classic folder gold */
    transition: transform 0.2s;
}
.folder-card:hover i.fa-folder {
    transform: scale(1.1);
}
.folder-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #c9d1d9;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.folder-count {
    font-size: 0.75rem;
    color: #8b949e;
}
.folder-detail-view {
    padding: 15px;
    border-top: 1px solid #30363d;
    animation: fadeIn 0.2s ease-out;
}
.back-to-folders {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #58a6ff;
    font-size: 0.8rem;
    cursor: pointer;
    margin-bottom: 12px;
    background: transparent;
    border: none;
    padding: 0;
}
.back-to-folders:hover {
    text-decoration: underline;
    color: #79c0ff;
}
.file-list-table {
    width: 100%;
    border-collapse: collapse;
}
.file-list-table th {
    text-align: left;
    color: #8b949e;
    font-size: 0.75rem;
    padding: 8px 10px;
    border-bottom: 1px solid #30363d;
}
.file-list-table td {
    padding: 10px;
    border-bottom: 1px solid #21262d;
}
.file-icon {
    font-size: 1.1rem;
    margin-right: 8px;
}
.file-icon.bak { color: #ff7b72; } /* Red for full backups */
.file-icon.trn { color: #79c0ff; } /* Blue for log backups */
.file-icon.sql { color: #7ee787; } /* Green for sql scripts */

/* LIGHT THEME VARIABLES OVERRIDE */
body.light-theme {
    --bg-color: #f6f8fa;
    --card-bg: #ffffff;
    --glass-border: #d0d7de;
    --text-main: #24292f;
    --text-pill: #57606a;
    --text-color: #24292f;
    --report-tile-bg: rgba(0, 0, 0, 0.03);
    background-color: #f6f8fa;
}

/* Specific Light Theme Visibility & Color Overrides */
body.light-theme .notification-item-title,
body.light-theme .time-value,
body.light-theme .meta-value,
body.light-theme .ai-suggestion-box,
body.light-theme .notification-dropdown-header h3,
body.light-theme .notification-item-desc,
body.light-theme .toggle-info strong,
body.light-theme .api-key-box span,
body.light-theme h1, body.light-theme h2, body.light-theme h3, body.light-theme h4, body.light-theme h5, body.light-theme h6,
body.light-theme p {
    color: #24292f !important;
}

body.light-theme .notification-dropdown {
    background: #ffffff !important;
    border-color: #d0d7de !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .notification-item:hover {
    background: rgba(0, 0, 0, 0.03) !important;
}

body.light-theme .notification-item-time {
    color: #57606a !important;
}

body.light-theme .ai-suggestion-box {
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.05) 0%, rgba(88, 166, 255, 0.01) 100%) !important;
    border: 1px solid rgba(88, 166, 255, 0.3) !important;
}

body.light-theme .toast {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    color: #24292f !important;
}

body.light-theme .toast-title {
    color: #24292f !important;
}

body.light-theme .toast-message {
    color: #57606a !important;
}

body.light-theme .sidebar {
    background: #ffffff;
    border-right: 1px solid #d0d7de;
}

body.light-theme .top-bar {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid #d0d7de;
}

body.light-theme .card,
body.light-theme .glass-card,
body.light-theme .chart-card,
body.light-theme .data-section,
body.light-theme .selection-card-modern,
body.light-theme .auth-card {
    background: #ffffff;
    border-color: #d0d7de;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.light-theme .nav-item {
    color: #57606a;
}

body.light-theme .nav-item:hover,
body.light-theme .nav-item.active {
    color: var(--primary-color);
    background: rgba(88, 166, 255, 0.1);
}

body.light-theme input,
body.light-theme select,
body.light-theme textarea {
    background: #ffffff;
    border-color: #d0d7de;
    color: #24292f;
}

body.light-theme input:focus {
    border-color: var(--primary-color);
}

body.light-theme tr {
    background: #ffffff;
}

body.light-theme tr:hover {
    background: #f6f8fa;
}

body.light-theme td {
    color: #24292f;
    border-bottom: 1px solid #e1e4e8;
}

body.light-theme th {
    color: #57606a;
    border-bottom: 2px solid #e1e4e8;
}

body.light-theme .selector-overlay {
    background: #ffffff;
    border-color: #d0d7de;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

body.light-theme .selector-option {
    color: #24292f;
}

body.light-theme .selector-option:hover {
    background: #f6f8fa;
}

body.light-theme .selector-option.selected {
    background: rgba(88, 166, 255, 0.15);
    color: var(--primary-color);
}

/* Light Theme Reports Overrides */
body.light-theme .reports-header-section {
    border-bottom-color: var(--glass-border);
}
body.light-theme .reports-title-area h3 {
    color: var(--text-main);
}
body.light-theme .reports-title-area p {
    color: var(--text-pill);
}
body.light-theme .report-stat-tile {
    background: var(--card-bg);
    border-color: var(--glass-border);
}
body.light-theme .report-stat-tile:hover {
    border-color: var(--glass-border);
}
body.light-theme .highlight-tile {
    background: linear-gradient(145deg, #ffffff, #f6f8fa);
    border-color: var(--primary-color);
}
body.light-theme .tile-label {
    color: var(--text-pill);
}
body.light-theme .tile-sub {
    color: var(--text-pill);
}
body.light-theme .modern-report-card {
    background: var(--card-bg);
    border-color: var(--glass-border);
}
body.light-theme .card-header-premium {
    background: rgba(0, 0, 0, 0.02);
    border-bottom-color: var(--glass-border);
}
body.light-theme .empty-state-reports {
    color: var(--text-pill);
}
body.light-theme .report-type-card:hover {
    background: rgba(0, 0, 0, 0.03);
}

/* NO TRANSITIONS OVERRIDE */
body.no-transitions * {
    transition: none !important;
    animation: none !important;
}

/* SHOW GRIDLINES OVERRIDE */
body.show-gridlines td, body.show-gridlines th {
    border: 1px solid var(--glass-border) !important;
}

/* NOTIFICATION DROPDOWN */
.notification-bell {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.notification-bell:hover {
    background: rgba(255,255,255,0.1);
}

.notification-bell i {
    font-size: 1.2rem;
    color: var(--text-color);
}

.bell-dot {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 8px;
    height: 8px;
    background-color: #f85149;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(248,81,73,0.5);
}

.notification-dropdown {
    position: absolute;
    top: 50px;
    right: -10px;
    width: 320px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: default;
    backdrop-filter: blur(10px);
}

.notification-dropdown-header {
    padding: 15px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.02);
}

.notification-dropdown-header h3 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

.notification-dropdown-header button {
    background: transparent;
    border: none;
    color: #8b949e;
    cursor: pointer;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.notification-dropdown-header button:hover {
    color: #f85149;
}

.notification-dropdown-body {
    max-height: 350px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: background 0.2s;
    text-align: left;
}

.notification-item:hover {
    background: rgba(255,255,255,0.03);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.success { border-left: 3px solid #3fb950; }
.notification-item.error { border-left: 3px solid #f85149; }
.notification-item.info { border-left: 3px solid #58a6ff; }

.notification-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e6edf3;
    display: flex;
    justify-content: space-between;
}

.notification-item-desc {
    font-size: 0.75rem;
    color: #8b949e;
    line-height: 1.4;
}

.notification-item-time {
    font-size: 0.7rem;
    color: #484f58;
}

.notification-empty {
    padding: 20px;
    text-align: center;
    color: #8b949e;
    font-size: 0.85rem;
}


