/* ==========================================================================
   WC Availability Scheduler — Countdown & Messages
   ========================================================================== */

/* Notice block (shared pre/post) */
.was-notice {
    margin: 1.5em 0;
    padding: 1.5em;
    border-radius: 8px;
    text-align: center;
}

.was-notice--pre {
    background: #fef9f0;
    border: 2px solid #f0c040;
}

.was-notice--post {
    background: #f0f7fe;
    border: 2px solid #4a90d9;
}

/* Message text */
.was-message {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 1em;
    color: #333;
}

.was-notice--post .was-message {
    margin-bottom: 0;
}

/* Countdown grid */
.was-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.was-countdown--done {
    opacity: 0.5;
    transition: opacity 0.3s;
}

/* Individual unit box */
.was-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.was-num {
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a2e;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.was-label {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-top: 4px;
}

/* Separator */
.was-sep {
    font-size: 2em;
    font-weight: 700;
    color: #ccc;
    line-height: 1;
    padding-bottom: 18px;
}

/* Transition message */
.was-transition-msg {
    margin-top: 1em;
    padding: 12px 16px;
    background: #e8f5e9;
    border-radius: 6px;
    font-size: 0.95em;
    color: #2e7d32;
    line-height: 1.5;
    animation: was-pulse 1.5s ease-in-out infinite;
}

@keyframes was-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive */
@media (max-width: 480px) {
    .was-unit {
        min-width: 56px;
        padding: 8px 10px;
    }

    .was-num {
        font-size: 1.6em;
    }

    .was-sep {
        font-size: 1.4em;
        padding-bottom: 14px;
    }

    .was-label {
        font-size: 0.65em;
    }
}
