/* Auth pages (login / register / password reset) — split screen */
.auth-body { background: #fff; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }

.auth-brand {
    position: relative; isolation: isolate; color: #fff; padding: 44px 56px; display: flex; flex-direction: column; justify-content: space-between;
    background:
        radial-gradient(700px 380px at 10% 0%, rgba(20, 144, 155, .45), transparent 60%),
        linear-gradient(160deg, rgba(11, 29, 44, .93) 0%, rgba(18, 71, 90, .9) 100%),
        url("../images/banner-img11.png") center / cover no-repeat;
}
.auth-brand::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 320px; height: 320px; border: 80px solid rgba(201, 161, 74, .12); border-radius: 50%; z-index: -1; }
.auth-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.auth-brand-copy { max-width: 470px; }
.auth-brand-copy h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; margin-bottom: 16px; }
.auth-brand-copy p { color: #c9d7de; font-size: 16px; line-height: 1.7; margin-bottom: 26px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-weight: 600; font-size: 14.5px; }
.auth-points span { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-gold); color: var(--ink); align-items: center; justify-content: center; font-size: 13px; font-weight: 800; margin-right: 10px; }
.auth-brand-foot { color: #8fa6b3; font-size: 12.5px; }

.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 28px; position: relative; background: linear-gradient(180deg, #fff 0%, var(--sand) 100%); }
.auth-back { position: absolute; top: 24px; right: 28px; font-weight: 600; font-size: 13.5px; color: var(--slate); }
.auth-back:hover { color: var(--teal); }
.auth-card { width: 100%; max-width: 440px; }
.auth-logo-sm { display: none; margin-bottom: 22px; }
.auth-logo-sm img { height: 40px; width: auto; }
.auth-card h1 { font-size: 30px; margin-bottom: 8px; }
.auth-card .auth-sub { color: var(--slate); margin-bottom: 26px; font-size: 15px; }

.auth-form .field-block { margin-bottom: 16px; }
.auth-form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.auth-form label small { font-weight: 500; color: var(--slate-soft); }
.auth-form input[type=text], .auth-form input[type=email], .auth-form input[type=password], .auth-form input[type=tel] {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.auth-form input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 111, 120, .12); }
.auth-form .input-wrap { position: relative; }
.auth-form .input-wrap input { padding-right: 56px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--slate-soft); font-weight: 700; font-size: 12.5px; padding: 8px 10px; border-radius: 8px; }
.pw-toggle:hover { color: var(--teal); background: var(--sand); }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 20px; font-size: 13.5px; flex-wrap: wrap; }
.auth-row label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: var(--slate); cursor: pointer; }
.auth-row input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--teal); }
.auth-row a { color: var(--teal); font-weight: 700; }
.auth-row a:hover { text-decoration: underline; }
.auth-submit { width: 100%; padding: 15px; border: 0; border-radius: 12px; background: var(--grad-teal); color: #fff; font-size: 15.5px; font-weight: 700; box-shadow: 0 12px 24px -12px rgba(15, 111, 120, .85); transition: transform .2s var(--ease), box-shadow .2s; }
.auth-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(15, 111, 120, .9); }
.auth-alt { text-align: center; margin-top: 22px; color: var(--slate); font-size: 14px; }
.auth-alt a { color: var(--teal); font-weight: 700; }
.auth-alt a:hover { text-decoration: underline; }
.auth-error { background: #fdeceb; border: 1px solid #f6c8c4; color: #9b2a24; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; }
.auth-error ul { margin: 0; padding-left: 18px; }
.auth-ok { background: #e6f6ee; border: 1px solid #bfe6d1; color: #14633f; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; font-weight: 600; }

/* "I want to ..." account type cards */
.role-cards { display: grid; gap: 10px; }
.role-card { position: relative; display: flex !important; gap: 14px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; background: #fff; margin: 0 !important; transition: border-color .2s, box-shadow .2s, background .2s; }
.role-card:hover { border-color: var(--teal); }
.role-card input { position: absolute; opacity: 0; pointer-events: none; }
.role-card .ico { width: 42px; height: 42px; border-radius: 12px; background: #e7f4f5; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 42px; }
.role-card b { display: block; font-size: 14.5px; color: var(--ink); }
.role-card span.d { display: block; font-size: 12.5px; color: var(--slate-soft); font-weight: 500; margin-top: 2px; }
.role-card .tick { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 22px; display: flex; align-items: center; justify-content: center; color: transparent; font-size: 12px; font-weight: 800; transition: all .2s; }
.role-card:has(input:checked) { border-color: var(--teal); background: #f1fafa; box-shadow: 0 0 0 4px rgba(15, 111, 120, .1); }
.role-card:has(input:checked) .tick { background: var(--teal); border-color: var(--teal); color: #fff; }
.role-card:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 900px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-main { justify-content: flex-start; padding: 28px 20px 40px; min-height: 100vh; }
    .auth-back { position: static; align-self: flex-start; margin-bottom: 18px; }
    .auth-logo-sm { display: block; }
    .auth-card h1 { font-size: 26px; }
}

/* ---------- phones: app-style sign-in (gradient header + rounded sheet) ---------- */
.auth-top { display: none; }
@media (max-width: 900px) {
    .auth-body { background: var(--ink); }
    .auth-main {
        padding: 0; justify-content: flex-start; align-items: stretch; min-height: 100vh;
        background:
            radial-gradient(520px 260px at 90% 0%, rgba(20, 144, 155, .55), transparent 65%),
            linear-gradient(160deg, #0b1d2c 0%, #12475a 70%, #0f6f78 100%);
    }
    .auth-back { position: static; align-self: flex-start; margin: 0; padding: calc(16px + env(safe-area-inset-top)) 22px 0; color: #b8cbd4; }
    .auth-top { display: block; padding: 14px 24px 34px; }
    .auth-top img { height: 40px; width: auto; filter: brightness(0) invert(1); }
    .auth-logo-sm { display: none; }
    .auth-card {
        max-width: none; flex: 1; background: #fff; border-radius: 32px 32px 0 0; padding: 30px 22px calc(36px + env(safe-area-inset-bottom));
        box-shadow: 0 -24px 60px -24px rgba(0, 0, 0, .55); animation: sheetUp .5s var(--ease);
    }
    @keyframes sheetUp { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
    .auth-form input[type=text], .auth-form input[type=email], .auth-form input[type=password], .auth-form input[type=tel] { font-size: 16px; padding: 15px 16px; background: #f7f8fa; border-color: transparent; }
    .auth-form input:focus { background: #fff; }
    .auth-submit { padding: 17px; border-radius: 16px; font-size: 16px; }
    .role-card { border-radius: 16px; }
}

.auth-shell {
    position: relative;
    overflow: hidden;   /* circle shell se bahar nikal ke extra scroll/white space nahi banayega */
}

.auth-brand,
.auth-main {
    position: relative;
    overflow: hidden;
}