/* Auth pages — Soft Horizon compact */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.85rem;
    background:
        radial-gradient(ellipse 90% 55% at 50% -15%, rgba(147, 197, 253, 0.35), transparent 55%),
        linear-gradient(180deg, #F8FBFF 0%, #EEF2F7 100%);
}

.auth-shell,
.auth-page > .container {
    width: 100%;
    max-width: 360px !important;
    margin: 0 auto;
}

.auth-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    position: relative;
}

.auth-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #0EA5E9);
}

.auth-card-body {
    position: relative;
    padding: 1.15rem 1.15rem 1.1rem;
}

.auth-brand {
    text-align: center;
    margin-bottom: 0.85rem;
}

.auth-brand .brand-pill {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0B1220 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.auth-brand .brand-pill .heart {
    display: none;
}

.auth-subtitle {
    color: #64748B;
    font-size: 0.88rem;
    margin: 0.2rem 0 0;
    font-weight: 500;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.75rem 0;
    color: #94A3B8;
    font-size: 0.75rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
}

.auth-telegram-block {
    text-align: center;
    padding: 0.6rem 0.7rem;
    border-radius: 12px;
    background: #EFF6FF;
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.auth-telegram-block p {
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 0.4rem;
}

.auth-form .mb-3 {
    margin-bottom: 0.65rem !important;
}

.auth-form .form-label {
    font-size: 0.78rem;
    color: #64748B;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.auth-form .form-control,
.auth-form .input-group-text {
    background: #F8FAFC !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    color: #0B1220 !important;
    font-size: 0.88rem;
    min-height: 38px;
    border-radius: 10px;
    padding: 0.35rem 0.7rem;
}

.auth-form .input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.auth-form .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: #2563EB;
    padding: 0.35rem 0.65rem;
}

.auth-form .form-control:focus {
    background: #fff !important;
    border-color: #2563EB !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12) !important;
}

.auth-form .form-check {
    margin-bottom: 0.65rem !important;
}

.auth-form .form-check-label {
    font-size: 0.8rem;
    color: #64748B;
}

.auth-form .btn-coral,
.auth-form .btn {
    min-height: 40px;
    font-size: 0.9rem !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: 999px !important;
}

.auth-footer-links {
    text-align: center;
    margin-top: 0.85rem;
}

.auth-footer-links a {
    color: #2563EB;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-links a:hover {
    color: #1D4ED8;
}

.auth-page .alert {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.7rem !important;
    margin-bottom: 0.75rem !important;
    border-radius: 10px !important;
}

.profile-telegram-widget-wrap {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Register uses same compact shell */
.auth-page .row .col-md-6 {
    margin-bottom: 0 !important;
}
.auth-page .row .mb-3 {
    margin-bottom: 0.65rem !important;
}
