/* Main Styles */
.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.countdown-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fcde04;
    border: 2px solid #000;
    border-radius: 10px;
    font-size: 24px;
    font-weight: bold;
}

.button-container {
    margin-top: 10px;
    background: #131a3e;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.button-container button {
    padding: 10px 20px;
    font-size: 16px;
    background: #fcde04;
    border: none;
    cursor: pointer;
}

/* Full-screen loading overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #fcde04;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
table, th, td {
    border: 1px solid black !important;
}
th, td {
    padding: 5px;
    text-align: center;
}
/* Countdown Item Wrapper */
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Countdown Label Styling */
.countdown-label {
    width: 50px;  /* Match width of .countdown-box */
    height: 20px; /* Adjust height to keep proportion */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* No background to keep clean */
    font-size: 12px; /* Smaller font size */
    font-weight: bold;
    color: white; /* White text for better contrast */
    margin-top: 3px; /* Small space between box and label */
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .timer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .countdown-container {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
    }

    .countdown-box {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .button-container {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
    }

    .button-container button {
        padding: 8px 12px;
        font-size: 14px;
    }

    .timer-container .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .timer-container .row > div {
        width: 100%;
    }
}   