/* custom-countdown-default.css */

/*
   -------------------------------------------------
   1. Base Styles (for Mobile / Smallest Screens)
   -------------------------------------------------
   Squares fixed at 50px. Font sizes maximized to fit.
*/
.simply-countdown {
    flex-wrap: nowrap; /* Forces all items onto a single line */
    justify-content: center; /* Keeps them centered if there's extra space */
    gap: 0.4rem; /* Small gap between sections */
}

.simply-countdown > .simply-section {
    width: 50px;   /* FIXED AT 50px (Reverted from 60px) */
    height: 50px;  /* FIXED AT 50px (Reverted from 60px) */
    padding: 0.5rem; /* Adjusted padding for optimal fit with larger font */
    border-radius: 0.5rem;
}

.simply-countdown > .simply-section > div {
    flex-direction: column;
    align-items: center;
    line-height: 1; /* Critical for vertical spacing with large fonts */
}

.simply-countdown > .simply-section .simply-amount {
    font-size: 2.5rem; /* Maximize number font size for 50px square */
    font-weight: 400;
    line-height: 1.1; /* Tighter line-height */
}

.simply-countdown > .simply-section .simply-word {
    font-size: 1rem; /* Maximize word font size for 50px square */
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em; /* Tighter letter-spacing */
}

/*
   -------------------------------------------------
   2. Medium Screens (e.g., Tablets - min-width: 640px)
   -------------------------------------------------
   Squares fixed at 65px. Font sizes maximized to fit.
*/
@media (min-width: 640px) {
    .simply-countdown {
        gap: 0.8rem;
    }

    .simply-countdown > .simply-section {
        width: 65px;   /* FIXED AT 65px (Reverted from 75px) */
        height: 65px;  /* FIXED AT 65px (Reverted from 75px) */
        padding: 0.7rem; /* Adjusted padding */
    }

    .simply-countdown > .simply-section .simply-amount {
        font-size: 3.3rem; /* Maximize number font for 65px square */
        line-height: 1.1;
    }

    .simply-countdown > .simply-section .simply-word {
        font-size: 1.1rem; /* Maximize word font for 65px square */
        line-height: 1;
    }
}

/*
   -------------------------------------------------
   3. Large Screens (e.g., Desktops - min-width: 1024px)
   -------------------------------------------------
   Squares fixed at 80px. Font sizes maximized to fit.
*/
@media (min-width: 1024px) {
    .simply-countdown {
        gap: 1rem;
    }

    .simply-countdown > .simply-section {
        width: 80px;   /* FIXED AT 80px (Reverted from 90px) */
        height: 80px;  /* FIXED AT 80px (Reverted from 90px) */
        padding: 1.1rem; /* Adjusted padding */
    }

    .simply-countdown > .simply-section .simply-amount {
        font-size: 4.2rem; /* Maximize number font for 80px square */
        line-height: 1.1;
    }

    .simply-countdown > .simply-section .simply-word {
        font-size: 1.5rem; /* Maximize word font for 80px square */
        line-height: 1;
    }
}