/* ==========================================================================
   Choose user type page (/choose-user-type). Loaded only by
   auth/user-selection.blade.php. Colours follow ds-theme.css.
   ========================================================================== */

.us-page { background: #f6f7fb; font-family: "Manrope", sans-serif; color: #334155; }

/* --- Hero --- */
.us-page .us-hero { position: relative; overflow: hidden; padding: 44px 0 96px; text-align: center; color: #fff; background: linear-gradient(135deg, #1e1b4b 0%, #2e2a7a 60%, #3f51b5 100%); }
.us-page .us-hero::after { content: ""; position: absolute; right: -10%; bottom: -60%; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.us-page .us-crumb { margin-bottom: 14px; font-size: 13px; color: #c7cbe8; }
.us-page .us-crumb a { color: #c7cbe8; }
.us-page .us-crumb a:hover { color: #fff; }
.us-page .us-hero h1 { margin: 0 0 10px; font-family: "Manrope", sans-serif; font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.us-page .us-hero p { max-width: 560px; margin: 0 auto; font-size: 16px; line-height: 1.6; color: #d6d9f2; }

.us-page .us-toggle { position: relative; z-index: 1; display: inline-flex; margin-top: 26px; padding: 4px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; }
.us-page .us-toggle a { padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #e0e3f7; transition: background .2s, color .2s; }
.us-page .us-toggle a.active { background: #fff; color: #1e1b4b; }

/* --- Cards --- */
.us-page .us-wrap { position: relative; z-index: 2; margin-top: -64px; padding-bottom: 72px; }
.us-page .us-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 928px; margin: 0 auto; }

.us-page .us-card { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1.5px solid #e7eaf3; border-radius: 22px; box-shadow: 0 18px 40px -24px rgba(30, 27, 75, .35); transition: transform .2s, border-color .2s, box-shadow .2s; }
.us-page .us-card:hover { transform: translateY(-4px); border-color: #3f51b5; box-shadow: 0 26px 50px -24px rgba(63, 81, 181, .45); }
.us-page .us-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.us-page .us-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #eef0fb; color: #3f51b5; font-size: 28px; }
.us-page .us-card-ws .us-icon { background: #ecfdf5; color: #047857; }
.us-page .us-card h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 21px; font-weight: 800; color: #1e1b4b; }
.us-page .us-sub { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: #64748b; }
.us-page .us-desc { margin: 0 0 18px; font-size: 15px; line-height: 1.6; }

.us-page .us-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.us-page .us-badge-ok { background: #e7f6ee; color: #0f9d58; }
.us-page .us-badge-wait { background: #fef3e2; color: #b45309; }

.us-page .us-list { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.us-page .us-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: #334155; }
.us-page .us-list li i { flex: none; font-size: 18px; line-height: 1.2; color: #0f9d58; }

/* The CTA's ::after covers the whole card, so the card is clickable without nesting links */
.us-page .us-cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; margin-top: auto; border-radius: 14px; background: #3f51b5; font-size: 15px; font-weight: 800; color: #fff; transition: background .2s; }
.us-page .us-cta::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.us-page .us-card:hover .us-cta { background: #3343a0; color: #fff; }
.us-page .us-card-ws .us-cta { background: #1e1b4b; }
.us-page .us-card-ws:hover .us-cta { background: #2e2a7a; }
.us-page .us-more { position: relative; z-index: 1; align-self: center; margin-top: 12px; font-size: 13px; font-weight: 700; color: #3f51b5; }
.us-page .us-more:hover { text-decoration: underline; }

/* --- Distributor note + switch --- */
.us-page .us-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; max-width: 928px; margin: 28px auto 0; padding: 18px 22px; background: #fff; border: 1px dashed #cfd4ea; border-radius: 16px; font-size: 14px; }
.us-page .us-foot b { color: #1e1b4b; }
.us-page .us-foot a,
.us-page .us-switch a { font-weight: 800; color: #3f51b5; }
.us-page .us-foot a:hover,
.us-page .us-switch a:hover { text-decoration: underline; }
.us-page .us-switch { margin: 18px 0 0; text-align: center; font-size: 14px; color: #64748b; }

@media only screen and (max-width: 767px) {
    .us-page .us-hero { padding-bottom: 84px; }
    .us-page .us-grid { grid-template-columns: 1fr; }
    .us-page .us-card { padding: 22px; }
    .us-page .us-foot { flex-direction: column; align-items: flex-start; }
}
