/* ===========================================
   Eid al-Adha Countdown - Tool Specific Styles (Green/Gold Theme)
   =========================================== */

/* Tool Layout */
.eac-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- Festive Header --- */
.eac-header {
    background: #065f46; /* Deep Green */
    color: #fcd34d; /* Gold/Yellow */
    padding: 15px;
    border-radius: 10px 10px 0 0;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: -1px; /* Overlap border */
    border: 2px solid #fcd34d;
}

/* --- Countdown Display --- */
.eac-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 0 30px 0;
    padding: 25px 0;
    border-radius: 0 0 15px 15px;
    background: #ecfdf5; /* Light Mint Green */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #d1fae5;
}

.eac-segment {
    background: #ffffff;
    border: 2px solid #065f46; /* Primary Green Border */
    border-radius: 10px;
    padding: 15px 10px;
    width: 23%; /* Approx 1/4 of container width */
    min-width: 70px;
}

.eac-value {
    font-size: 3rem;
    font-weight: 900;
    color: #f59e0b; /* Primary Gold */
    line-height: 1.1;
    margin-bottom: 5px;
    font-family: 'Arial Black', sans-serif;
}

.eac-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #065f46; /* Deep Green Label */
    text-transform: uppercase;
}

/* --- Target Date & Finished Elements --- */
.eac-target-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: #047857; /* Darker Green for text */
    margin-top: 15px;
    margin-bottom: 10px;
}

.eac-finished {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f59e0b;
    padding: 30px;
    background: #065f46; 
    border: 3px solid #fcd34d;
    border-radius: 10px;
    display: none; /* Initially hidden */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .eac-countdown {
        flex-wrap: wrap; /* Wrap segments on small screens */
        gap: 10px;
    }
    .eac-segment {
        width: 45%; /* Two segments per row */
        padding: 10px 5px;
    }
    .eac-value {
        font-size: 2rem;
    }
    .eac-header {
        font-size: 1.5rem;
    }
}