/* =========================
   Payment Success Styles
========================= */
.payment-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--color-light);
    padding: 1rem;
}

.success-card {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    padding: 2rem 2.5rem;
    max-width: 480px;
    width: 100%;
    animation: fadeInUp 0.6s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: popIn 0.6s ease;
}

.success-card h1 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.success-card p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.payment-details {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    background: var(--color-light);
}

.payment-details div {
    margin: 0.4rem 0;
}

/* =========================
   Animations
========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================
   Responsive
========================= */
@media (max-width: 480px) {
    .success-card {
        padding: 1.5rem;
    }

    .success-card h1 {
        font-size: 1.5rem;
    }
}
