/**
 * Countdown Timer CSS
 * 
 * Styles for the countdown timer component
 */

/* Countdown Timer Container */
.countdown-card {
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.countdown-card-header {
    margin-bottom: 10px;
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

/* Countdown Timer Container */
.countdown-timer-container {
    /* display: flex;
    justify-content: center; */
    /* flex-wrap: wrap; */
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* Individual Countdown Items (days, hours, minutes, seconds) */
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    padding: 8px;
    border-radius: 6px;
    background-color: rgb(255, 255, 255);
}

/* Countdown Values (numbers) */
.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Countdown Labels (days, hours, etc.) */
.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Expired Message */
.countdown-expired {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px;
    background-color: rgba(255, 0, 0, 0.1);
    color: rgb(255, 255, 255);
    border-radius: 6px;
}

/* Position Specific Styles */
.countdown-header {
    margin-bottom: 20px;
    margin-inline: 20px;
}

.countdown-footer {
    margin-top: 20px;
}

.countdown-body {
    margin: 30px 0;
}

.countdown-body-injected {
    margin: 20px 0;
}

/* Action Button */
.countdown-action {
    margin-top: 15px;
}

.countdown-action .btn {
    padding: 5px 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.countdown-action .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .countdown-item {
        min-width: 50px;
        padding: 5px;
    }
    
    .countdown-value {
        font-size: 1.2rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}
