/* ============================================
   LOOMS by Nowshin — Order Success Styles
   ============================================ */

.success-section {
    padding: 4rem 0;
    background: var(--looms-cream);
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.success-card {
    max-width: 650px;
    margin: 0 auto;
    background: var(--looms-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--looms-taupe);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--looms-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon i {
    font-size: 3rem;
    color: var(--looms-white);
}

.success-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--looms-charcoal);
    margin-bottom: 0.75rem;
}

.success-message {
    font-size: 1rem;
    color: var(--looms-graphite);
    margin-bottom: 2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.order-number-box {
    display: inline-flex;
    flex-direction: column;
    padding: 1.25rem 2.5rem;
    background: var(--looms-pearl);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.order-number-box .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--looms-slate);
    margin-bottom: 0.35rem;
}

.order-number-box .number {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--looms-sage);
}

.order-details {
    background: var(--looms-pearl);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--looms-taupe);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--looms-slate);
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--looms-charcoal);
}

.next-steps {
    margin-bottom: 2rem;
}

.next-steps h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--looms-charcoal);
    margin-bottom: 1.25rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.step-item {
    padding: 1rem;
}

.step-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.75rem;
    background: var(--looms-pearl);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 1.25rem;
    color: var(--looms-sage);
}

.step-item p {
    font-size: 0.85rem;
    color: var(--looms-graphite);
    margin: 0;
    line-height: 1.5;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.share-section {
    padding-top: 1.5rem;
    border-top: 1px solid var(--looms-taupe);
}

.share-section p {
    font-size: 0.9rem;
    color: var(--looms-slate);
    margin-bottom: 0.75rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--looms-white);
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.share-btn:hover {
    transform: scale(1.1);
    color: var(--looms-white);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.share-btn.whatsapp {
    background: #25d366;
}

/* ============================================
   Media Queries
   ============================================ */
@media (max-width: 767.98px) {
    .success-card {
        padding: 2rem 1.5rem;
    }

    .success-title {
        font-size: 1.6rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-actions .btn {
        width: 100%;
    }
}
