/* ===========================================
   Rio Carnival Countdown - Tool Specific Styles (Tropical Green, Yellow, Blue Theme)
   =========================================== */

/* Tool Layout */
.rcc-box {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* --- Display Box --- */
.rcc-display-box {
    background: #009246; /* Tropical Green Base (Brazilian Flag Green) */
    background-image: linear-gradient(135deg, #009246, #005aa7); /* Green to Blue Gradient */
    border: 5px solid #ffde00; /* Yellow/Gold Border */
    border-radius: 20px;
    padding: 40px 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: white;
}

.rcc-date-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #e3f2fd; /* Light Blue/Cream */
}

.rcc-countdown-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.rcc-countdown-item {
    text-align: center;
    flex: 1;
    padding: 10px 5px;
}

.rcc-time-value {
    font-size: 4rem;
    font-weight: 900;
    color: #ffde00; /* Bright Yellow Gold Value */
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.rcc-time-unit {
    font-size: 1rem;
    font-weight: 500;
    color: #b3e5fc; /* Light Blue Unit */
    text-transform: uppercase;
    margin-top: 5px;
}

/* --- Festive Message --- */
.rcc-message {
    margin-top: 20px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #005aa7; /* Deep Blue Text */
    background: #ffde00; /* Yellow background for pop */
    padding: 10px;
    border-radius: 8px;
    display: none; /* Hidden until the countdown hits zero */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rcc-time-value {
        font-size: 3rem;
    }
}
@media (max-width: 500px) {
    .rcc-countdown-grid {
        flex-wrap: wrap;
    }
    .rcc-countdown-item {
        flex: 1 1 45%; /* Two items per row on small screens */
    }
    .rcc-time-value {
        font-size: 2.2rem;
    }
    .rcc-time-unit {
        font-size: 0.8rem;
    }
    .rcc-display-box {
        padding: 30px 10px;
    }
}