/* Popup stiliai */
.baggerracing-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.baggerracing-popup-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    text-align: center;
    animation: baggerracingFadeIn 0.5s;
}

@keyframes baggerracingFadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.baggerracing-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.baggerracing-popup-close:hover,
.baggerracing-popup-close:focus {
    color: #333;
    text-decoration: none;
}

.baggerracing-countdown {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.baggerracing-countdown-item {
    margin: 0 10px;
    text-align: center;
    min-width: 80px;
}

.baggerracing-countdown-item span:first-child {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 10px 0;
    margin-bottom: 5px;
}

.baggerracing-countdown-label {
    font-size: 14px;
    color: #666;
}

.baggerracing-popup-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.baggerracing-popup-button {
    background-color: #0073aa; /* WordPress mėlyna */
    color: white;
    border: none;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.baggerracing-popup-button:hover {
    background-color: #005177;
}

.baggerracing-popup-login {
    background-color: #e74c3c; /* Ryški raudona */
    font-weight: bold;
}

.baggerracing-popup-login:hover {
    background-color: #c0392b;
}

/* Mobilių įrenginių pritaikymas */
@media screen and (max-width: 600px) {
    .baggerracing-popup-content {
        margin: 20% auto;
        padding: 20px;
        width: 90%;
    }
    
    .baggerracing-countdown {
        flex-wrap: wrap;
    }
    
    .baggerracing-countdown-item {
        margin: 5px;
        min-width: 60px;
    }
    
    .baggerracing-countdown-item span:first-child {
        font-size: 28px;
        padding: 8px 0;
    }
}
