/* Kickoffscore Popup Styles */

.kickoffscore-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.kickoffscore-popup-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.kickoffscore-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 2px solid #333;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 1000000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.kickoffscore-popup-close:hover {
    background-color: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
    transform: rotate(90deg);
}

.kickoffscore-popup-content {
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
}

.kickoffscore-popup-content a {
    display: block;
    line-height: 0;
}

.kickoffscore-popup-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .kickoffscore-popup-container {
        max-width: 95%;
        max-height: 85%;
    }
    
    .kickoffscore-popup-close {
        top: -12px;
        right: -12px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .kickoffscore-popup-close {
        top: 10px;
        right: 10px;
        background-color: rgba(255, 255, 255, 0.95);
    }
}

/* Prevent body scroll when popup is open */
body.kickoffscore-popup-open {
    overflow: hidden;
}
