/* ============================================================
   UK Linguistic Services - Client Portal auth pages.
   Shared "big company" branding for default.aspx, mylogin.aspx
   and password-reset.aspx. Everything is scoped under .auth-*
   classes so it never collides with the theme's own markup.
   ============================================================ */

.auth-stage { padding: 22px 10px 56px; }
.auth-stage .auth-page-title { text-align: center; margin: 4px 0 22px; }
.auth-stage .auth-page-title h1 { font-size: 26px; font-weight: 600; color: #2c3e50; margin: 0; }
.auth-stage .auth-page-title .sub { display: block; margin-top: 6px; font-size: 13px; color: #8a95a3; }

/* Logo chip - a white rounded plate holding the real logo so it
   reads on any background (incl. the blue brand panel). */
.auth-logo-chip {
    display: inline-block; background: #ffffff; border-radius: 10px;
    padding: 9px 15px; box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.auth-logo-chip img { display: block; height: 40px; width: auto; border: 0; }

/* ---- Two-panel hero card (login) ---- */
.auth-hero {
    max-width: 900px; margin: 0 auto; display: flex; flex-wrap: wrap;
    background: #ffffff; border-radius: 14px; overflow: hidden;
    border: 1px solid #e6ebf1; box-shadow: 0 18px 44px rgba(31,78,121,.14);
}
.auth-hero-brand {
    flex: 1 1 340px;
    background: linear-gradient(150deg, #1f4e79 0%, #2c4270 55%, #22315a 100%);
    color: #ffffff; padding: 40px 34px; position: relative; overflow: hidden;
}
.auth-hero-brand:after {
    content: ""; position: absolute; right: -70px; bottom: -70px;
    width: 220px; height: 220px; background: rgba(255,255,255,.05); border-radius: 50%;
}
.auth-hero-brand .auth-welcome { margin: 26px 0 8px; font-size: 24px; font-weight: 600; position: relative; }
.auth-hero-brand .auth-tagline { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: #cfe0f0; max-width: 320px; position: relative; }
.auth-trust { list-style: none; margin: 0 0 24px; padding: 0; position: relative; }
.auth-trust li { position: relative; padding: 0 0 12px 28px; font-size: 13.5px; color: #eaf1fb; line-height: 1.5; }
.auth-trust li .fa { position: absolute; left: 0; top: 2px; color: #7ee0a6; font-size: 14px; }
.auth-secure { font-size: 12px; color: #9fb6d6; position: relative; }
.auth-secure .fa { margin-right: 6px; }

.auth-hero-form { flex: 1 1 380px; padding: 40px 36px; background: #ffffff; }
.auth-hero-form .auth-form-title { margin: 0 0 4px; font-size: 20px; font-weight: 600; color: #1f2d3d; }
.auth-hero-form .auth-form-sub { margin: 0 0 22px; font-size: 13px; color: #8a95a3; }

/* ---- Single branded card (reset) ---- */
.auth-card {
    max-width: 460px; margin: 0 auto 18px; background: #ffffff;
    border: 1px solid #e6ebf1; border-radius: 14px; overflow: hidden;
    box-shadow: 0 18px 44px rgba(31,78,121,.12);
}
.auth-card-head {
    background: linear-gradient(135deg, #1f4e79 0%, #2c4270 100%);
    padding: 24px 26px 20px; text-align: center; color: #ffffff;
}
.auth-card-head .auth-card-title { margin: 14px 0 2px; font-size: 19px; font-weight: 600; }
.auth-card-head .auth-card-sub { margin: 0; font-size: 12.5px; color: #cfe0f0; }
.auth-card-body { padding: 26px; }

/* ---- Fields: bullet-proof icon alignment (fixed 46px box, line-height == input height) ---- */
.auth-field { margin-bottom: 18px; }
.auth-field > label {
    display: block; margin: 0 0 6px; font-size: 12px; font-weight: 600;
    color: #55606c; text-transform: uppercase; letter-spacing: .4px;
}
.auth-input-icon { position: relative; display: block; }
.auth-input-icon > .fa {
    position: absolute; left: 0; top: 0; bottom: 0; width: 46px;
    line-height: 48px; text-align: center; color: #9aa4af; font-size: 15px;
    pointer-events: none; z-index: 3; transition: color .15s ease;
}
.auth-input-icon > .form-control {
    height: 48px; width: 100%; padding: 6px 14px 6px 46px; font-size: 14px;
    border: 1px solid #d7dee6; border-radius: 8px; box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-input-icon > .form-control:focus {
    border-color: #1f4e79; box-shadow: 0 0 0 3px rgba(31,78,121,.12); outline: none;
}
.auth-input-icon > input:focus + .fa { color: #1f4e79; }

.auth-help-row { margin: -4px 0 18px; text-align: right; }
.auth-help-row a { font-size: 12.5px; color: #1f4e79; text-decoration: none; }
.auth-help-row a:hover { text-decoration: underline; }
.auth-help-row a .fa { margin-right: 4px; }

/* Primary gradient button (full width) */
.auth-btn {
    display: block; width: 100%; padding: 13px 16px; border: 0; border-radius: 8px;
    background: linear-gradient(135deg, #2f74d0 0%, #1f4e79 100%);
    color: #ffffff; font-size: 15px; font-weight: 600; text-align: center;
    text-decoration: none; cursor: pointer;
    box-shadow: 0 6px 16px rgba(31,78,121,.24); transition: filter .15s ease, box-shadow .15s ease;
}
.auth-btn:hover, .auth-btn:focus { color: #ffffff; text-decoration: none; filter: brightness(1.06); }
.auth-btn:active { filter: brightness(.96); }
.auth-btn .fa { margin-left: 6px; }
.auth-btn.auth-btn-ghost {
    background: #ffffff; color: #1f4e79; border: 1px solid #d7dee6; box-shadow: none;
}
.auth-btn.auth-btn-ghost:hover { background: #f4f8fc; color: #1f4e79; filter: none; }

.auth-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.auth-actions .auth-btn { flex: 1 1 auto; }

/* Alerts */
.auth-alert { border-radius: 8px; padding: 12px 14px; font-size: 13px; margin-bottom: 18px; }
.auth-alert .fa { margin-right: 6px; }
.auth-alert h4 { margin: 0 0 4px; font-size: 14px; }

/* Footer help line */
.auth-foot {
    margin-top: 22px; padding-top: 16px; border-top: 1px solid #eef2f6;
    font-size: 12.5px; color: #8a95a3; text-align: center;
}
.auth-foot a { color: #1f4e79; text-decoration: none; }
.auth-foot .fa { margin-right: 5px; color: #2d7c34; }

@media (max-width: 560px) {
    .auth-hero-brand { flex-basis: 100%; padding: 30px 26px; }
    .auth-hero-form { flex-basis: 100%; padding: 28px 24px; }
    .auth-hero-brand .auth-welcome { font-size: 21px; }
    .auth-stage .auth-page-title h1 { font-size: 22px; }
}
