/* ============================================
   Order Success Modal
   ============================================ */

.order-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.order-success-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.order-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.order-success-container {
    position: relative;
    background: rgb(var(--background-primary));
    border-radius: var(--guru-radius-lg);
    padding: var(--guru-space-xl);
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.order-success-modal.active .order-success-container {
    transform: scale(1);
}

.order-success-icon {
    width: 4rem;
    height: 4rem;
    stroke-width: 1.5;
    color: #52c41a;
    margin-bottom: var(--guru-space-md);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.order-success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(var(--color-text-primary));
    margin-bottom: var(--guru-space-md);
}

.order-success-code {
    font-size: 1.25rem;
    color: rgb(var(--color-text-primary));
    margin-bottom: var(--guru-space-sm);
}

.order-success-code strong {
    color: rgb(var(--color-primary));
    font-size: 1.5rem;
    font-weight: 700;
}

.order-success-message {
    font-size: 0.9375rem;
    color: rgba(var(--color-text-primary), 0.7);
    line-height: 1.6;
    margin-bottom: var(--guru-space-lg);
}

.order-success-actions {
    display: flex;
    flex-direction: column;
    gap: var(--guru-space-sm);
}

.btn-view-orders,
.btn-close-success {
    padding: var(--guru-space-sm) var(--guru-space-md);
    border: none;
    border-radius: var(--guru-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--guru-transition);
}

.btn-view-orders {
    background: rgb(var(--color-primary));
    color: rgb(var(--badge-color));
}

.btn-view-orders:hover {
    background: rgba(var(--color-primary), 0.9);
    transform: translateY(-1px);
}

.btn-close-success {
    background: rgb(var(--background-secondary));
    color: rgb(var(--color-text-primary));
}

.btn-close-success:hover {
    background: rgba(var(--color-text-primary), 0.1);
}

