/* Kickflip Customizer Popup Styles */

/* Customize Button */
.kickflip-customize-btn {
    display: inline-block;
    margin: 10px 5px 10px 0;
    padding: 12px 30px;
    background-color: #0073aa;
    color: #ffffff !important;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.kickflip-customize-btn:hover {
    background-color: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.kickflip-customize-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.kickflip-customize-btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Modal Container */
.kickflip-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}

/* Modal Overlay */
.kickflip-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Modal Content */
.kickflip-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85%;
    margin: 5% auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* Modal Close Button */
.kickflip-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #333333;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kickflip-modal-close:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
}

/* Modal Body */
.kickflip-modal-body {
    flex: 1;
    padding: 20px;
    overflow: hidden;
}

/* Modal Iframe */
.kickflip-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

/* Body class when modal is open */
body.kickflip-modal-open {
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .kickflip-modal-content {
        width: 95%;
        height: 90%;
        margin: 5% auto;
    }
    
    .kickflip-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .kickflip-modal-body {
        padding: 10px;
    }
    
    .kickflip-customize-btn {
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .kickflip-modal-content {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .kickflip-modal-close {
        top: 5px;
        right: 5px;
    }
    
    .kickflip-modal-body {
        padding: 5px;
    }
}

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

.kickflip-modal {
    animation: fadeIn 0.3s ease;
}

