/* css/pages/static_pages.css */
.static-page-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: var(--bg-card, #ffffff);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    color: var(--text-main, #334155);
}

body.dark-mode .static-page-container {
    background: var(--bg-card, #1e293b);
    color: var(--text-main, #f8fafc);
}

.static-page-container h1 { 
    font-size: 1.8rem; 
    margin-bottom: 24px; 
    border-bottom: 2px solid var(--accent-color, #3b82f6); 
    padding-bottom: 12px; 
}

.static-page-container h2 { 
    font-size: 1.4rem; 
    margin-top: 32px; 
    margin-bottom: 16px; 
    font-weight: 600; 
    border-left: 4px solid var(--accent-color, #3b82f6); 
    padding-left: 12px; 
}

.static-page-container p { 
    line-height: 1.8; 
    margin-bottom: 16px; 
    color: var(--text-sub, #475569); 
}

body.dark-mode .static-page-container p { 
    color: var(--text-sub, #cbd5e1); 
}

.static-page-container ol, 
.static-page-container ul { 
    line-height: 1.8; 
    margin-bottom: 16px; 
    color: var(--text-sub, #475569); 
}

body.dark-mode .static-page-container ol, 
body.dark-mode .static-page-container ul { 
    color: var(--text-sub, #cbd5e1); 
}

/* Cookie Table specific styles */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    font-size: 0.9rem;
}
.cookie-table th, .cookie-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}
body.dark-mode .cookie-table th, body.dark-mode .cookie-table td { border-color: #334155; }
.cookie-table th { background: var(--bg-hover, #f8fafc); font-weight: 600; }
body.dark-mode .cookie-table th { background: #0f172a; }

/* System Status specific styles */
.status-hero {
    background-color: #10b981;
    color: white;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.status-hero i { font-size: 2rem; }
.status-hero h2 { margin: 0; font-size: 1.4rem; }
.status-hero p { margin: 4px 0 0 0; opacity: 0.9; }

.status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}
body.dark-mode .status-item { border-color: #334155; }

.status-item:last-child { border-bottom: none; }
.status-name { font-weight: 600; font-size: 1.1rem; }
.status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.incident-log { margin-top: 48px; }
.incident-log h3 { font-size: 1.2rem; margin-bottom: 16px; border-bottom: 1px solid var(--border-color, #e2e8f0); padding-bottom: 8px; }
.incident-log p { color: var(--text-sub, #64748b); font-size: 0.9rem; }

/* Release Notes specific styles */
.release-item {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}
.release-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.release-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
}

.version-badge {
    background: var(--accent-color, #3b82f6);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
}

.release-date {
    color: var(--text-sub, #64748b);
    font-size: 0.95rem;
    font-weight: 500;
}

.release-content h3 { font-size: 1.1rem; margin: 24px 0 8px 0; color: var(--text-main); }
.release-content ul { padding-left: 20px; color: var(--text-sub, #475569); line-height: 1.7; }
body.dark-mode .release-content ul { color: #cbd5e1; }
.release-content li { margin-bottom: 8px; }

/* Contact Admin Form specific styles */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; }
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color, #cbd5e1);
    border-radius: 8px;
    background: var(--bg-main, #f8fafc);
    color: var(--text-main);
    font-family: inherit;
}
body.dark-mode .form-control { border-color: #334155; background: #0f172a; }
.form-control:focus { outline: none; border-color: var(--accent-color, #3b82f6); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }

.btn-submit {
    background: var(--accent-color, #3b82f6);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-submit:hover { background: #2563eb; }

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--accent-color, #3b82f6);
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 32px;
    font-size: 0.9rem;
}

/* System Status Incident Styles */
.incident-card {
    border-left: 4px solid #10b981;
    background: var(--bg-hover, #f8fafc);
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 0 8px 8px 0;
}
body.dark-mode .incident-card { background: #1e293b; }
.incident-date { font-size: 0.85rem; color: var(--text-sub); margin-bottom: 4px; }
.incident-title { font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; color: var(--text-main); }
.incident-desc { font-size: 0.95rem; line-height: 1.6; color: var(--text-sub); }

/* Help Center FAQ Styles */
.faq-item {
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    margin-bottom: 16px;
    background: var(--bg-card, #ffffff);
    overflow: hidden;
}
body.dark-mode .faq-item { border-color: #334155; }
.faq-question {
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-hover, #f8fafc);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
body.dark-mode .faq-question { background: #1e293b; color: #f8fafc; }
.faq-question:hover { background: rgba(59, 130, 246, 0.05); }
.faq-answer {
    padding: 20px;
    color: var(--text-sub);
    line-height: 1.7;
    display: none;
    border-top: 1px solid var(--border-color, #e2e8f0);
}
body.dark-mode .faq-answer { border-color: #334155; color: #cbd5e1; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform 0.3s ease; color: var(--accent-color, #3b82f6); }
