.giveaway-timer {
    text-align: center;
    margin-top: 5px;
    padding: 8px; /* Reduced padding */
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 12px; /* Overall smaller font size */
}

.timer-label {
    font-size: 14px; /* Smaller label font */
    font-weight: bold;
    color: #333;
    margin-bottom: 5px; /* Reduced margin */
}

.timer-label span {
    display: none;
    font-size: 14px; /* Adjusted font size for visibility */
    font-weight: bold;
}

.timer-label .visible {
    display: block;
}

.active-message {
    color: green; /* Active status color */
}

.upcoming-message {
    color: blue; /* Upcoming status color */
}

.expired-message {
    color: red; /* Expired status color */
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 4px; /* Smaller gap between time boxes */
    font-size: 12px; /* Smaller text size for timer values */
    font-weight: bold;
    color: #333;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px; /* Compact width */
    padding: 3px; /* Reduced padding */
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.time-value {
    font-size: 14px; /* Smaller timer value font */
    font-weight: bold;
    color: #333;
}

.time-label {
    font-size: 8px; /* Compact label font */
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .time-box {
        width: 35px; /* Further reduced width for small screens */
        padding: 2px; /* Minimal padding */
    }

    .time-value {
        font-size: 12px; /* Smaller value font */
    }

    .time-label {
        font-size: 7px; /* Smaller label font */
    }
}
