/* Takaful4All Maintenance Page Styles */

:root {
    /* Colors derived from Takaful4All Logo */
    --primary-teal: #0097a7;
    /* Teal from the wave */
    --primary-blue: #005698;
    /* Blue from the text/wave */
    --bg-gradient-start: #003055;
    /* Darker deep blue */
    --bg-gradient-end: #005698;
    /* Lighter blue */

    --text-color: #334155;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --info-box-bg: #f1f5f9;
    --info-text: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lexend', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--primary-teal) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    padding: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    gap: 32px;
    /* Space between logo, card, footer */
}

.logo-wrapper {
    margin-bottom: 10px;
}

.brand-logo {
    max-width: 250px;
    height: auto;
    display: block;
    /* Optional: Drop shadow for the logo to pop against the dark background if needed */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.card {
    background-color: var(--card-bg);
    border-radius: 24px;
    padding: 48px 40px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
}

.icon-wrapper {
    margin-bottom: 24px;
    /* Optional circle bg for icon */
    /* width: 80px; height: 80px; background: #eff6ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; */
}

.maintenance-icon {
    width: 100px;
    height: auto;
}

.title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.message {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.downtime-box {
    background-color: var(--info-box-bg);
    padding: 16px 24px;
    border-radius: 12px;
    width: 100%;
}

.downtime-label {
    font-size: 14px;
    color: var(--info-text);
    margin-bottom: 4px;
}

.downtime-date {
    font-weight: 700;
    color: #0f172a;
}

.downtime-sub {
    font-size: 13px;
    color: var(--text-muted);
}

footer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    text-align: center;
    line-height: 1.5;
    max-width: 500px;
}

/* Countdown Styles */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin-top: 32px;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    min-width: 70px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.expired-message {
    color: var(--primary-teal);
    font-weight: 700;
    font-size: 18px;
}

/* Return Home Button */
.btn-return {
    display: inline-block;
    margin-top: 32px;
    padding: 12px 24px;
    background-color: var(--primary-teal);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 6px rgba(0, 151, 167, 0.2);
}

.btn-return:hover {
    background-color: #008391;
    /* Darker teal */
    transform: translateY(-1px);
}

.btn-return:active {
    transform: translateY(0);
}

/* Responsiveness */
@media (max-width: 480px) {
    .card {
        padding: 32px 24px;
    }

    .title {
        font-size: 24px;
    }

    .brand-logo {
        max-width: 200px;
    }

    .countdown-container {
        gap: 8px;
    }

    .time-unit {
        min-width: 60px;
        padding: 10px 8px;
    }

    .number {
        font-size: 20px;
    }

    .label {
        font-size: 10px;
    }
}