/**
 * Checkout Guard Modal Styles
 * Modern modal for store closed message
 */

.store-closed-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.store-closed-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-closed-modal.show .store-closed-modal-overlay {
    opacity: 1;
}

.store-closed-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.store-closed-modal.show .store-closed-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.store-closed-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #6b7280;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-closed-modal-close:hover {
    color: #111827;
}

.store-closed-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    border-radius: 50%;
    color: #ef4444;
}

.store-closed-modal-icon svg {
    width: 48px;
    height: 48px;
}

.store-closed-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.store-closed-modal-message {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.store-closed-modal-btn-ok {
    width: 100%;
    padding: 14px 20px;
    background: var(--wfs-primary-color, #267dc9);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.store-closed-modal-btn-ok:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(38, 125, 201, 0.3);
}

.store-closed-modal-btn-ok:active {
    transform: translateY(0);
}

/* Modal responsive */
@media (max-width: 480px) {
    .store-closed-modal-content {
        padding: 24px;
        max-width: 340px;
    }
    
    .store-closed-modal-title {
        font-size: 20px;
    }
    
    .store-closed-modal-message {
        font-size: 14px;
    }
    
    .store-closed-modal-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }
    
    .store-closed-modal-icon svg {
        width: 40px;
        height: 40px;
    }
}
