/* Quick Checkout Modal Styles */

.sppcfw-qc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.sppcfw-qc-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.sppcfw-qc-modal-content {
    position: relative;
    background: white;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 30px;
    animation: sppcfw-qc-slide-in 0.3s ease-out;
}

@keyframes sppcfw-qc-slide-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sppcfw-qc-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.sppcfw-qc-close-btn:hover {
    color: #333;
}

.sppcfw-qc-body {
    color: #333;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sppcfw-qc-modal-content {
        max-width: 95%;
        max-height: 95vh;
        padding: 20px;
    }
    
    .sppcfw-qc-close-btn {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .sppcfw-qc-modal-content {
        max-width: 98%;
        max-height: 95vh;
        padding: 15px;
    }
}
