/* Booyakka guest authentication pages */
.auth-page {
    min-height: calc(100vh - 150px);
    padding: clamp(42px, 7vw, 88px) 20px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 12% 12%, rgba(92, 61, 255, .10), transparent 34%),
        radial-gradient(circle at 88% 88%, rgba(255, 211, 74, .13), transparent 31%),
        #f5f3ec;
}

.auth-shell {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
    gap: 24px;
    align-items: stretch;
}

.auth-shell.auth-shell-centered {
    grid-template-columns: minmax(0, 620px);
    justify-content: center;
}

.auth-intro,
.auth-card {
    border: 1px solid #ddd9cf;
    border-radius: 26px;
    box-shadow: 0 28px 70px rgba(22, 28, 45, .11);
    overflow: hidden;
}

.auth-intro {
    position: relative;
    min-height: 590px;
    padding: clamp(30px, 5vw, 54px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background:
        radial-gradient(circle at 85% 12%, rgba(147, 99, 255, .36), transparent 28%),
        linear-gradient(145deg, #11182f 0%, #18244a 56%, #4b30ba 100%);
}

.auth-intro::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -150px;
    bottom: -160px;
    border-radius: 50%;
    background: rgba(255, 211, 74, .15);
    pointer-events: none;
}

.auth-brand-mark {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 21px;
    color: #fff;
    background: linear-gradient(135deg, #d94ae7, #5267ff 58%, #40c7f4);
    font: 700 27px/1 Ubuntu, sans-serif;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255,255,255,.32);
}

.auth-intro-content {
    position: relative;
    z-index: 1;
    max-width: 610px;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    margin: 0 0 18px;
    border-radius: 999px;
    color: #6f38ee;
    background: #f0ebff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.auth-intro .auth-kicker {
    color: #fff1a9;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
}

.auth-intro h1,
.auth-card h1 {
    margin: 0;
    font-family: "Yatra One", Ubuntu, sans-serif;
    letter-spacing: -.035em;
    line-height: 1.02;
}

.auth-intro h1 {
    max-width: 660px;
    color: #fff;
    font-size: clamp(44px, 5vw, 68px);
}

.auth-card h1 {
    color: #141b30;
    font-size: clamp(34px, 4vw, 48px);
}

.auth-intro p,
.auth-card p {
    margin: 14px 0 0;
    line-height: 1.65;
}

.auth-intro p { color: rgba(255,255,255,.78); font-size: 17px; }
.auth-card p { color: #687086; }

.auth-benefits {
    display: grid;
    gap: 11px;
    margin-top: 28px;
}

.auth-benefit {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;
    background: rgba(255,255,255,.075);
    color: #fff;
    font-weight: 700;
}

.auth-benefit span {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #10203b;
    background: #ffd957;
    font-size: 13px;
    font-weight: 900;
}

.auth-card {
    padding: clamp(28px, 4vw, 46px);
    background: #fff;
}

.auth-card-header { margin-bottom: 25px; }
.auth-form { display: grid; gap: 17px; }
.auth-field { display: grid; gap: 7px; }

.auth-field label,
.auth-field .auth-label {
    color: #283149;
    font-size: 13px;
    font-weight: 900;
}

.auth-field input,
.auth-field select,
.auth-field textarea,
.auth-form input:not([type="checkbox"]),
.auth-form select,
.auth-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #d7dbea;
    border-radius: 12px;
    background: #fbfcff;
    color: #172036;
    font: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-field input:focus,
.auth-form input:not([type="checkbox"]):focus,
.auth-form select:focus,
.auth-form textarea:focus {
    border-color: #6749ef;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(103,73,239,.13);
}

.auth-field input::placeholder,
.auth-form input::placeholder { color: #7b8396; }

.auth-actions,
.auth-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.auth-actions { margin-top: 5px; }
.auth-actions.auth-actions-right { justify-content: flex-end; }
.auth-actions form { margin: 0; }

.auth-link,
.auth-card a,
.auth-logout-button {
    color: #5937df;
    font-weight: 850;
    text-decoration: none;
}

.auth-link:hover,
.auth-card a:hover,
.auth-logout-button:hover { text-decoration: underline; }

.auth-submit,
.auth-form button[type="submit"] {
    min-height: 50px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #6d43ef, #3155db);
    font: inherit;
    font-weight: 900;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 13px 28px rgba(69,70,215,.23);
    transition: transform .18s ease, box-shadow .18s ease;
}

.auth-submit:hover,
.auth-form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(69,70,215,.30);
}

.auth-check-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #596177;
    font-weight: 700;
}

.auth-check-label input,
.auth-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6749ef;
}

.auth-status,
.auth-success,
.auth-error-box {
    margin: 0;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 13px;
}

.auth-status,
.auth-success {
    color: #166534;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
}

.auth-error-box,
.auth-form .text-red-600,
.auth-form .text-red-500,
.auth-form .text-sm.text-red-600 {
    color: #b42318 !important;
}

.auth-error-box ul { margin: 0; padding-left: 18px; }
.auth-secondary-panel { margin-top: 18px; padding: 15px; border-radius: 12px; background: #f5f6fb; color: #596177; }
.auth-help, .auth-muted, .auth-link-row { color: #687086; }

@media (max-width: 920px) {
    .auth-shell { grid-template-columns: 1fr; max-width: 700px; }
    .auth-intro { min-height: 440px; }
}

@media (max-width: 640px) {
    .auth-page { padding: 28px 14px 42px; place-items: start center; }
    .auth-intro { min-height: auto; padding: 28px 23px; }
    .auth-brand-mark { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 48px; }
    .auth-intro h1 { font-size: 40px; }
    .auth-card { padding: 26px 20px; }
    .auth-actions, .auth-check-row { align-items: stretch; flex-direction: column; }
    .auth-submit, .auth-form button[type="submit"] { width: 100%; }
}
