/* ══════════════════════════════════════════════════════════════════
   HIDDEN PROFIT SCAN — SHARED CONFIRMATION PAGE STYLES

   Common CSS shared across confirmation pages (booking-confirmed,
   scheduler-confirmation). The index and scan-results pages have
   unique designs and use standalone CSS files.

   Load this BEFORE individual confirmation page CSS files.

   Last updated: 2026-02-12
   ══════════════════════════════════════════════════════════════════ */

/* ═══ SUCCESS ICON ═══ */
.success-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-l);
    box-shadow: 0 4px 12px hsl(0, 0%, 0%, 0.1);
}

.success-icon .material-symbols-rounded {
    font-size: 40px;
    color: hsl(160, 84%, 39%);
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 40;
}

/* ═══ SUCCESS CARD ═══ */
.success-card {
    background: linear-gradient(135deg, hsl(160, 84%, 39%) 0%, hsl(161, 94%, 30%) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    color: white;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.success-card h1 {
    font-size: 2rem;
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-s);
}

.success-card p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* ═══ INFO BOX ═══ */
.info-box {
    background: hsl(152, 81%, 96%);
    border: 1px solid hsl(152, 76%, 80%);
    border-radius: var(--radius-md);
    padding: var(--space-l);
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: start;
    gap: var(--space-m);
}

.info-box .material-symbols-rounded {
    color: hsl(163, 88%, 20%);
    font-size: 24px;
    flex-shrink: 0;
}

.info-box-content {
    flex: 1;
}

.info-box-title {
    color: hsl(163, 88%, 20%);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-xs);
    font-size: 1rem;
}

.info-box-text {
    color: hsl(163, 94%, 24%);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ═══ AGENDA ITEMS ═══ */
.agenda-item {
    display: flex;
    align-items: start;
    gap: var(--space-m);
    padding: var(--space-m);
    background: var(--surface-background);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-m);
}

.agenda-item .material-symbols-rounded {
    color: var(--primary-600);
    flex-shrink: 0;
    font-size: 24px;
}

.agenda-item-content {
    flex: 1;
}

.agenda-item-title {
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-xxs);
}

.agenda-item-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ═══ NEXT STEPS SECTION ═══ */
.next-steps {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
}

.next-steps h2 {
    font-size: 1.5rem;
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-l);
}

.next-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps-list li {
    display: flex;
    align-items: start;
    gap: var(--space-m);
    padding: var(--space-m) 0;
    border-bottom: 1px solid var(--surface-border);
}

.next-steps-list li:last-child {
    border-bottom: none;
}

.next-steps-list .material-symbols-rounded {
    color: var(--primary-600);
    flex-shrink: 0;
    font-size: 20px;
}

/* ═══ CONFIRMATION DETAILS ═══ */
.confirmation-details {
    background: white;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: var(--space-l);
    margin-bottom: var(--space-xl);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-s) 0;
    border-bottom: 1px solid var(--surface-border);
}

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

.detail-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: var(--weight-medium);
}

.detail-value {
    color: var(--text-primary);
    font-weight: var(--weight-semibold);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .success-icon {
        width: 56px;
        height: 56px;
    }

    .success-icon .material-symbols-rounded {
        font-size: 32px;
    }

    .success-card {
        padding: var(--space-l);
    }

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

    .success-card p {
        font-size: 1rem;
    }

    .info-box {
        flex-direction: column;
    }

    .agenda-item {
        flex-direction: column;
    }

    .next-steps {
        padding: var(--space-l);
    }
}

@media (max-width: 480px) {
    .success-card h1 {
        font-size: 1.25rem;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
}
