/* =========================================================
   ASHUNT LOGIN — portal layout (matches index header)
========================================================= */

:root {
    --al-bg: #07090d;
    --al-panel: rgba(12, 14, 18, 0.92);
    --al-gold: #dca72f;
    --al-gold-soft: #efc657;
    --al-text: #eef2f7;
    --al-muted: rgba(238, 242, 247, 0.58);
    --al-line: rgba(220, 167, 47, 0.22);
    --al-danger: #ff6976;
    --al-font: "Manrope", "Segoe UI", sans-serif;
    --al-display: "Cinzel", Georgia, serif;
}

body.ashunt-login-body {
    min-height: 100vh;
    color: var(--al-text);
    font-family: var(--al-font);
    font-weight: 500;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(220, 167, 47, 0.12), transparent 55%),
        linear-gradient(180deg, #0b0e14 0%, var(--al-bg) 45%, #05070a 100%);
}

.ashunt-login-page {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 160px 0 56px;
}

@media (max-width: 991px) {
    .ashunt-login-page {
        padding-top: 72px;
    }
}

.ashunt-login-shell {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--al-line);
    background: rgba(10, 12, 16, 0.88);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ashunt-login-shell.is-centered {
    max-width: 520px;
}

.ashunt-login-main {
    position: relative;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 90% 10%, rgba(220, 167, 47, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(16, 18, 24, 0.96), rgba(8, 10, 14, 0.98));
}

.ashunt-login-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 28px 32px;
}

.ashunt-login-form-wrap {
    width: 100%;
    max-width: 400px;
}

.ashunt-login-heading {
    margin-bottom: 26px;
    text-align: center;
}

.ashunt-login-heading__kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--al-gold);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ashunt-login-heading h1 {
    margin: 0 0 10px;
    color: #fff8e8;
    font-family: var(--al-display);
    font-size: clamp(1.8rem, 3.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.15;
}

.ashunt-login-heading p {
    margin: 0;
    color: var(--al-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.ashunt-login-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 105, 118, 0.35);
    background: rgba(120, 30, 36, 0.35);
    color: #ffd0d5;
    font-size: 0.88rem;
    line-height: 1.45;
}

.ashunt-login-form {
    display: grid;
    gap: 14px;
}

.ashunt-login-field {
    display: grid;
    gap: 7px;
}

.ashunt-login-field label {
    color: rgba(245, 233, 209, 0.86);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ashunt-login-control {
    position: relative;
    display: flex;
    align-items: center;
}

.ashunt-login-control__icon {
    position: absolute;
    left: 14px;
    color: rgba(220, 167, 47, 0.72);
    font-size: 0.92rem;
    pointer-events: none;
    z-index: 1;
}

.ashunt-login-control input {
    width: 100%;
    height: 48px;
    padding: 0 46px 0 42px;
    border-radius: 12px;
    border: 1px solid rgba(220, 167, 47, 0.22);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-family: var(--al-font);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ashunt-login-control input::placeholder {
    color: rgba(238, 242, 247, 0.38);
    font-weight: 500;
}

.ashunt-login-control input:focus {
    border-color: rgba(220, 167, 47, 0.55);
    box-shadow: 0 0 0 3px rgba(220, 167, 47, 0.12);
}

.ashunt-login-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(238, 242, 247, 0.55);
    cursor: pointer;
}

.ashunt-login-password-toggle:hover {
    color: var(--al-gold-soft);
    background: rgba(220, 167, 47, 0.08);
}

.ashunt-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
}

.ashunt-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--al-muted);
    font-size: 0.86rem;
    font-weight: 600;
    user-select: none;
}

.ashunt-login-remember input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ashunt-login-checkbox {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    border: 1px solid rgba(220, 167, 47, 0.35);
    background: rgba(0, 0, 0, 0.28);
    color: transparent;
    font-size: 0.65rem;
    flex: 0 0 18px;
}

.ashunt-login-remember input:checked + .ashunt-login-checkbox {
    background: linear-gradient(180deg, #efc657, #c48d1f);
    border-color: transparent;
    color: #1a1205;
}

.ashunt-login-forgot {
    color: var(--al-gold-soft);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.ashunt-login-forgot:hover {
    color: #ffe39b;
    text-decoration: underline;
}

.ashunt-login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    margin-top: 6px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #efc657, #c48d1f);
    color: #1a1205;
    font-family: var(--al-font);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(196, 141, 31, 0.28);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.ashunt-login-submit:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.ashunt-login-form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--al-muted);
    font-size: 0.9rem;
}

.ashunt-login-form-footer a {
    color: var(--al-gold-soft);
    font-weight: 800;
    text-decoration: none;
}

.ashunt-login-form-footer a:hover {
    color: #ffe39b;
    text-decoration: underline;
}

.ashunt-recaptcha-field,
.ashunt-recaptcha-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.ashunt-recaptcha-field {
    margin: 4px 0 2px;
}

.ashunt-recaptcha-wrap .g-recaptcha {
    transform-origin: center center;
}

@media (max-width: 575px) {
    .ashunt-login-content {
        padding: 28px 18px 24px;
    }

    .ashunt-login-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
