/* Store Selection Modal */
.store-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.store-modal-overlay.show {
    display: flex;
}

.store-modal {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.store-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--bg-secondary);
}

.store-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
}

.store-modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.store-modal-body {
    padding: 24px;
}

.store-modal-instruction {
    background: var(--accent-blue-soft);
    border: 2px solid var(--accent-blue-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.store-modal-instruction-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-blue-dark);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-modal-instruction-icon {
    font-size: 1.5rem;
}

.store-modal-image {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.store-copied-badge {
    background: var(--success);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.store-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--bg-secondary);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-modal-close {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-close:hover {
    background: #d1d5db;
    color: var(--text-primary);
}

.btn-modal-next {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-light) 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-modal-next:hover {
    box-shadow: 0 6px 10px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-modal-next:active {
    transform: translateY(1px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .store-modal {
        max-width: 95%;
        margin: 20px;
    }

    .store-modal-title {
        font-size: 1.25rem;
    }

    .store-modal-footer {
        flex-direction: column;
    }

    .btn-modal-close,
    .btn-modal-next {
        width: 100%;
        justify-content: center;
    }
}