/* Light Theme CSS for Website Down Migration Page (CPAO Theme) */

:root {
    --cpao-navy: #003c80;
    --cpao-navy-dark: #002654;
    --cpao-blue-light: #2563eb;
    --cpao-sky: #0284c7;
    --cpao-gold: #b45309;
    --cpao-maroon: #880002;
    
    --bg-page: #f0f4f9;
    --card-bg: #ffffff;
    --border-light: #e2e8f0;
    --border-strong: #cbd5e1;
    
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    
    --status-bg: #fffbeb;
    --status-border: #fcd34d;
    --status-text: #b45309;
    --success-green: #15803d;
    --success-bg: #f0fdf4;
    
    --shadow-card: 0 20px 40px -15px rgba(0, 60, 128, 0.12);
    --shadow-button: 0 4px 14px rgba(0, 60, 128, 0.25);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-page);
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(2, 132, 199, 0.05) 0%, transparent 40%);
    color: var(--text-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* Top Government Bar */
.top-gov-bar {
    width: 100%;
    background-color: #001e44;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 0.4rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--cpao-maroon);
}

.top-gov-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.top-gov-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-gov-right a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

/* Official Navy Header Bar */
.brand-header-wrap {
    width: 100%;
    background: linear-gradient(135deg, #002654 0%, #003c80 100%);
    box-shadow: 0 4px 15px rgba(0, 38, 84, 0.2);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: center;
}

.brand-header {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brand-logo {
    height: 62px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.brand-titles h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.brand-titles p {
    font-size: 0.875rem;
    color: #93c5fd;
    font-weight: 600;
}

/* Main Container Card */
.main-card {
    width: 92%;
    max-width: 880px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-card);
    margin: 2rem 0 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--cpao-navy) 0%, var(--cpao-blue-light) 50%, var(--cpao-sky) 100%);
}

/* Status Badge Pill */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--status-bg);
    border: 1px solid var(--status-border);
    color: var(--status-text);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--cpao-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
    animation: pulseLight 1.8s infinite;
}

@keyframes pulseLight {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.35); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Typography */
.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--cpao-navy-dark);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Countdown Section */
.timer-section {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2.25rem;
}

.timer-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cpao-navy);
    font-weight: 800;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.timer-box {
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 1.25rem 0.5rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s, transform 0.2s;
}

.timer-box:hover {
    border-color: var(--cpao-navy);
    transform: translateY(-2px);
}

.timer-value {
    font-family: 'Space Grotesk', monospace;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--cpao-navy-dark);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.timer-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Help Desk Contact Cards */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.info-card {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: #e0e7ff;
    color: var(--cpao-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 0.95rem;
    color: var(--cpao-navy-dark);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.info-content p {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.5;
}

.info-content a {
    color: var(--cpao-navy);
    font-weight: 700;
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

/* Actions Bar */
.action-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.btn-refresh {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--cpao-navy);
    color: #ffffff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-button);
    transition: all 0.2s ease;
}

.btn-refresh:hover {
    background: var(--cpao-navy-dark);
    transform: translateY(-1px);
}

/* Footer */
.site-footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.site-footer strong {
    color: var(--cpao-navy-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .main-card { padding: 1.75rem; }
    .hero-title { font-size: 1.75rem; }
    .timer-grid { grid-template-columns: repeat(3, 1fr); }
    .info-grid { grid-template-columns: 1fr; }
    .brand-header { flex-direction: column; text-align: center; }
    .brand-logo-group { flex-direction: column; }
    .btn-refresh { width: 100%; justify-content: center; }
}
