/* =====================================================================
   Sign-in screens (login.php, register.php) - blue + gold glossy theme
   Pages opt in with <body class="auth-page">
   ===================================================================== */

body.auth-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(120% 50% at 85% -5%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(160deg, #0a2687 0%, #1546c4 55%, #2a6af0 100%) fixed !important;
    font-family: "Outfit", sans-serif !important;
    color: #1b1b1f;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body.auth-page *:not(i):not([class*="fa-"]) {
    font-family: "Outfit", sans-serif;
}

/* ---------- brand block ---------- */
.au-brand {
    text-align: center;
    color: #fff;
    padding: 46px 20px 30px;
}

.au-logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    border: 3px solid #f5c43c;
    box-shadow: 0 10px 26px rgba(5, 20, 80, .45), 0 0 0 6px rgba(245, 196, 60, .15);
    overflow: hidden;
}

.au-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.au-brand h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

body.auth-page .au-brand p {
    margin: 4px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .85) !important;
}

/* ---------- white sheet ---------- */
.au-sheet,
body.auth-page form.form,
body.auth-page .card-register {
    flex: 1;
    width: 100%;
    max-width: 520px;
    margin: 0 auto !important;
    padding: 28px 22px 36px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%) !important;
    border: 0 !important;
    border-radius: 36px 36px 0 0 !important;
    box-shadow: 0 -10px 30px rgba(5, 20, 80, .3) !important;
    backdrop-filter: none !important;
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
    color: #1b1b1f !important;
    box-sizing: border-box;
}

body.auth-page > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: none;
    padding: 0;
}

body.auth-page h3,
body.auth-page h4 {
    color: #10225a !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    text-align: center;
    margin: 0 0 20px !important;
}

body.auth-page .form-icon {
    color: #e0a10f !important;
}

body.auth-page label,
body.auth-page .form-label {
    display: block;
    color: #10225a !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    margin: 12px 0 6px !important;
}

body.auth-page .form-control,
body.auth-page input[type="text"],
body.auth-page input[type="tel"],
body.auth-page input[type="password"] {
    width: 100%;
    height: 50px !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    border: 1.5px solid #d6deed !important;
    background: #fff !important;
    color: #1b1b1f !important;
    font-size: 17px !important;
    box-shadow: none !important;
    outline: none;
    box-sizing: border-box;
}

body.auth-page .form-control:focus,
body.auth-page input:focus {
    border-color: #1546c4 !important;
    box-shadow: 0 0 0 3px rgba(21, 70, 196, .12) !important;
}

body.auth-page ::placeholder {
    color: #9aa8c7 !important;
}

/* register.php: MDB floating labels -> fixed label above the field */
body.auth-page .form-outline {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px !important;
}

body.auth-page .form-outline .form-label {
    order: -1;
    position: static !important;
    transform: none !important;
    max-width: none !important;
    padding: 0 !important;
    background: none !important;
    pointer-events: auto;
}

body.auth-page .form-outline .form-notch {
    display: none !important;
}

/* buttons */
body.auth-page .btn-x,
body.auth-page .btn-primary,
body.auth-page button[type="submit"] {
    position: relative;
    overflow: hidden;
    display: flex;          /* not !important: buttons the page hides with style="display:none" must stay hidden */
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    border: 0 !important;
    border-radius: 30px !important;
    background: linear-gradient(180deg, #1650c9 0%, #0a3fae 55%, #08349a 100%) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    box-shadow: 0 8px 18px rgba(10, 63, 174, .35), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}

body.auth-page #send-otp-btn,
body.auth-page #verify-mobile-btn {
    background: radial-gradient(circle at 50% 20%, #ffe08a 0%, #f5c43c 55%, #e0a10f 100%) !important;
    color: #10225a !important;
    text-shadow: none;
    box-shadow: 0 8px 18px rgba(224, 161, 15, .35), inset 0 1px 0 rgba(255, 255, 255, .7) !important;
}

body.auth-page #verify-mobile-btn {
    height: 44px;
    font-size: 15px !important;
}

body.auth-page .btn-x:disabled,
body.auth-page .btn-primary:disabled {
    opacity: .7;
}

/* small text, links, messages */
body.auth-page small,
body.auth-page .text-light,
body.auth-page p {
    color: #5b6478 !important;
}

body.auth-page a {
    color: #1546c4 !important;
    font-weight: 600;
    text-decoration: none;
}

body.auth-page .text-warning,
body.auth-page #resend-timer {
    color: #b7791f !important;
}

body.auth-page .text-success {
    color: #11793a !important;
}

body.auth-page .phone_loader {
    margin-top: 6px;
}

body.auth-page .loader_login .alert {
    border-radius: 14px;
    font-size: 14px;
    margin: 0;
}

body.auth-page .app-download-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    height: 48px;
    border-radius: 30px;
    background: #fff !important;
    border: 1.5px solid #cbd9f3 !important;
    color: #1546c4 !important;
    font-weight: 600;
}

.au-foot {
    text-align: center;
    margin-top: 22px;
    font-size: 12.5px;
    color: #9aa8c7;
}

/* welcome.php: gold "Get Started" button (beats the shared blue .btn-x) */
#au-start {
    background: radial-gradient(circle at 50% 20%, #ffe08a 0%, #f5c43c 55%, #e0a10f 100%) !important;
    color: #10225a !important;
    text-shadow: none;
    box-shadow: 0 8px 18px rgba(224, 161, 15, .35), inset 0 1px 0 rgba(255, 255, 255, .7) !important;
}
