@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito+Sans:wght@400;600;700;800&display=swap");

:root {
    --stark-bg: #1a1a2e;
    --stark-bg-deep: #10101d;
    --stark-accent: #D4A017;
    --stark-accent-soft: #f5c842;
    --stark-text: #ffffff;
    --stark-text-dark: #18181f;
    --stark-muted: #6b7280;
    --stark-panel: #fafafa;
    --stark-card-border: rgba(26, 26, 46, 0.08);
    --stark-shadow: 0 28px 80px rgba(14, 14, 26, 0.18);
}

html body.stark-login-body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(212, 160, 23, 0.18), transparent 32%),
        linear-gradient(135deg, #111120 0%, #1a1a2e 100%);
    font-family: "Nunito Sans", sans-serif;
}

body.stark-login-body #wrapwrap,
body.stark-login-body main,
body.stark-login-body .stark-login-layout,
body.stark-login-body .stark-login-page,
body.stark-login-body .stark-login-shell {
    min-height: 100vh;
}

body.stark-login-body main {
    padding: 0 !important;
}

.stark-login-body .o_skip_to_content,
.stark-login-body a[href="#wrapwrap"] {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 20;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(12, 14, 26, 0.88);
    color: #f5c842;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.stark-login-body .o_skip_to_content:focus,
.stark-login-body a[href="#wrapwrap"]:focus {
    transform: translateY(0);
}

.stark-login-layout {
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background:
        linear-gradient(90deg, #161526 0 57%, #f3f0ea 57% 100%);
}

.oe_login_form.stark-login-page {
    display: block;
    min-height: 100vh;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    position: relative;
}

.stark-login-page {
    min-height: 100vh;
}

.stark-login-shell {
    display: flex;
    min-height: 100vh;
    width: min(100%, 1680px);
    margin: 0 auto;
}

.stark-login-hero,
.stark-login-panel {
    position: relative;
    min-height: 100vh;
}

.stark-login-hero {
    flex: 0 0 60%;
    overflow: hidden;
    background-color: var(--stark-bg);
    background-image:
        radial-gradient(circle at top left, rgba(245, 200, 66, 0.18), transparent 22%),
        radial-gradient(circle at 78% 18%, rgba(245, 200, 66, 0.11), transparent 18%),
        linear-gradient(125deg, rgba(11, 12, 22, 0.82), rgba(26, 26, 46, 0.96)),
        repeating-linear-gradient(117deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 44px);
    background-position: center;
    background-size: cover;
    color: var(--stark-text);
}

.stark-login-hero::before,
.stark-login-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.stark-login-hero::before {
    top: 10%;
    right: -8%;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    border: 1px solid rgba(245, 200, 66, 0.1);
    box-shadow:
        0 0 0 3rem rgba(245, 200, 66, 0.028),
        0 0 0 7rem rgba(255, 255, 255, 0.022);
}

.stark-login-hero::after {
    inset: auto auto 7% 8%;
    width: 18rem;
    height: 8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    transform: rotate(-10deg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(245, 200, 66, 0.06));
}

.stark-login-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 16, 29, 0.18), rgba(16, 16, 29, 0.7)),
        linear-gradient(90deg, rgba(245, 200, 66, 0.06), transparent 45%);
}

.stark-login-hero__accent {
    position: absolute;
    top: 12%;
    right: -10%;
    width: 58%;
    height: 14px;
    background: linear-gradient(90deg, var(--stark-accent), var(--stark-accent-soft));
    transform: rotate(-24deg);
    box-shadow: 0 0 28px rgba(212, 160, 23, 0.35);
}

.stark-login-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    min-height: 100vh;
    padding: 3rem 4.5rem;
}

.stark-login-brand,
.stark-login-mobile-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stark-logo-badge {
    position: relative;
    display: grid;
    place-items: center;
    width: 12rem;
    min-width: 12rem;
    height: 5.25rem;
    padding: 0.7rem 1rem;
    overflow: hidden;
    border: 1px solid rgba(245, 200, 66, 0.16);
    border-radius: 1.6rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
        rgba(12, 14, 26, 0.42);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 16px 34px rgba(10, 14, 25, 0.26);
    backdrop-filter: blur(12px);
}

.stark-logo-badge::before,
.stark-logo-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stark-logo-badge::before {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(245, 200, 66, 0.16), transparent 60%);
    opacity: 0.9;
}

.stark-logo-badge::after {
    inset: 0.55rem;
    background: url("/stark_login_theme/static/src/img/stark_mark.svg") center/4rem no-repeat;
    opacity: 0.28;
}

.stark-login-brand__logo,
.stark-login-mobile-brand__logo {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(8, 12, 23, 0.24));
}

.stark-login-brand__text,
.stark-login-mobile-brand {
    display: flex;
    flex-direction: column;
}

.stark-login-brand__eyebrow,
.stark-login-mobile-brand span {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.12em;
    font-size: 1.05rem;
}

.stark-login-brand__tagline {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.stark-login-hero__copy {
    max-width: 42rem;
    margin-top: auto;
}

.stark-login-hero__slash {
    width: 20rem;
    max-width: 48%;
    height: 12px;
    margin: 0 0 3rem 18%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--stark-accent), #ffd54f);
    transform: rotate(-24deg);
    box-shadow: 0 0 32px rgba(212, 160, 23, 0.42);
}

.stark-login-hero__kicker {
    margin-bottom: 0.75rem;
    color: var(--stark-accent-soft);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.stark-login-hero h1,
.stark-login-card h2 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.05em;
}

.stark-login-hero h1 {
    font-size: clamp(3.4rem, 5vw, 5.9rem);
    line-height: 0.95;
    max-width: 6.2ch;
}

.stark-login-hero__lead {
    max-width: 34rem;
    margin-top: 1.25rem;
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.stark-login-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.1rem;
}

.stark-login-hero__site-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.15rem;
    border: 1px solid rgba(245, 200, 66, 0.5);
    border-radius: 999px;
    color: var(--stark-accent-soft);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.stark-login-hero__site-link:hover,
.stark-login-hero__site-link:focus {
    background: rgba(245, 200, 66, 0.12);
    color: #fff3bf;
    text-decoration: none;
    transform: translateY(-1px);
}

.stark-login-hero__site-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.98rem;
}

.stark-login-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stark-login-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    color: var(--stark-text);
    font-size: 0.95rem;
    font-weight: 700;
}

.stark-login-stat i {
    color: var(--stark-accent-soft);
}

.stark-login-panel {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 3rem;
    background:
        radial-gradient(circle at top left, rgba(212, 160, 23, 0.14), transparent 24%),
        radial-gradient(circle at bottom right, rgba(17, 19, 38, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(245, 245, 245, 0.98), rgba(255, 255, 255, 0.96));
}

.stark-login-mobile-brand {
    display: none;
}

.stark-logo-badge--mobile {
    width: 9.8rem;
    min-width: 9.8rem;
    height: 4rem;
    padding: 0.55rem 0.8rem;
    border-radius: 1.3rem;
}

.stark-logo-badge--mobile::after {
    background-size: 3.15rem;
    opacity: 0.34;
}

.stark-login-card {
    width: min(100%, 31rem);
    padding: 2.65rem;
    border: 1px solid var(--stark-card-border);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 243, 0.94));
    box-shadow:
        0 28px 80px rgba(14, 14, 26, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.42) inset;
    animation: starkLoginFadeIn 0.7s ease-out;
}

.stark-login-card__intro {
    margin-bottom: 2rem;
}

.stark-login-card h2 {
    color: var(--stark-text-dark);
    font-size: clamp(3rem, 4vw, 4.1rem);
    line-height: 0.9;
}

.stark-login-card__intro p {
    margin: 0.6rem 0 0;
    color: var(--stark-muted);
    font-size: 1rem;
}

.stark-login-card__signal {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.6rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(212, 160, 23, 0.08);
    color: #735208;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.stark-login-card__signal-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--stark-accent), var(--stark-accent-soft));
    box-shadow: 0 0 0 0.22rem rgba(212, 160, 23, 0.16);
}

.stark-login-page .form-label {
    margin-bottom: 0.7rem;
    color: var(--stark-text-dark);
    font-size: 0.95rem;
    font-weight: 800;
}

.stark-login-page .form-control::placeholder {
    color: rgba(36, 48, 66, 0.38);
}

.stark-field {
    position: relative;
    display: block !important;
    width: 100%;
    margin-bottom: 1.35rem !important;
}

.stark-login-page .stark-field .form-label {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.stark-login-page .stark-field .form-control {
    display: block;
    width: 100%;
}

.stark-login-page .form-control {
    padding: 0.95rem 0.85rem;
    border: 0;
    border-bottom: 1px solid rgba(26, 26, 46, 0.14);
    border-radius: 0;
    background: transparent;
    color: var(--stark-text-dark);
    box-shadow: none;
    transition: border-color 0.25s ease;
}

.stark-login-page .form-control:focus {
    border-color: rgba(212, 160, 23, 0.4);
    box-shadow: none;
}

.stark-login-page .form-control[readonly] {
    background: rgba(255, 255, 255, 0.82);
}

.stark-field__focus {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--stark-accent), var(--stark-accent-soft));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
}

.stark-field:focus-within .stark-field__focus {
    transform: scaleX(1);
}

.stark-login-page .input-group .form-control {
    padding-left: 0.85rem;
    border: 1px solid rgba(26, 26, 46, 0.14);
    border-radius: 14px 0 0 14px;
    background: #fff;
}

.stark-login-page .input-group .btn {
    border-radius: 0 14px 14px 0;
}

.stark-forgot-link {
    color: var(--stark-accent);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.stark-forgot-link:hover,
.stark-forgot-link:focus {
    color: #b9870e;
    text-decoration: none;
}

.stark-login-actions {
    margin-top: 1.75rem;
}

.stark-login-button {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--stark-accent), var(--stark-accent-soft));
    color: var(--stark-text-dark);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.stark-login-button:hover,
.stark-login-button:focus {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.28), 0 16px 32px rgba(212, 160, 23, 0.28);
}

.stark-login-page .alert {
    border: 0;
    border-radius: 14px;
    font-size: 0.95rem;
}

.stark-login-page .alert-danger {
    background: rgba(163, 29, 39, 0.08);
    color: #8e1f28;
}

.stark-login-page .alert-success {
    background: rgba(17, 120, 77, 0.08);
    color: #136344;
}

.stark-login-note {
    margin-top: 1rem;
    color: rgba(36, 48, 66, 0.58);
    font-size: 0.9rem;
    text-align: center;
}

.stark-login-page .o_login_auth,
.stark-login-page a.btn.btn-link.btn-sm {
    display: none !important;
}

@keyframes starkLoginFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199.98px) {
    .stark-login-hero__inner {
        padding: 2.5rem 3rem;
    }

    .stark-login-panel {
        padding: 2rem;
    }

    .stark-login-card {
        padding: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .stark-login-layout {
        background: linear-gradient(180deg, #10101d 0%, #1a1a2e 52%, #f4efe5 52%, #f7f4ee 100%);
    }

    .stark-login-shell {
        flex-direction: column;
    }

    .stark-login-hero,
    .stark-login-panel {
        min-height: auto;
    }

    .stark-login-hero {
        flex: 1 1 auto;
    }

    .stark-login-hero__inner {
        min-height: auto;
        padding: 2rem 1.35rem 1.5rem;
    }

    .stark-login-hero__slash {
        width: 12rem;
        height: 10px;
        margin: 0 0 2rem 0;
        max-width: 60%;
    }

    .stark-login-hero h1 {
        max-width: 7.5ch;
        font-size: clamp(2.8rem, 11vw, 4.4rem);
    }

    .stark-login-hero__lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .stark-login-hero__actions {
        gap: 0.75rem;
    }

    .stark-login-hero__site-copy {
        font-size: 0.92rem;
    }

    .stark-login-panel {
        flex: 1 1 auto;
        align-items: flex-start;
        padding: 1.35rem 1.15rem 2rem;
        background:
            radial-gradient(circle at top left, rgba(212, 160, 23, 0.14), transparent 24%),
            linear-gradient(180deg, rgba(248, 245, 238, 0.98), rgba(255, 255, 255, 0.98));
    }

    .stark-login-mobile-brand {
        display: flex;
        width: min(100%, 440px);
        margin: 0 auto 1.25rem;
        color: #f5c842;
    }

    .stark-login-card {
        width: min(100%, 34rem);
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .stark-login-brand {
        gap: 0.85rem;
    }

    .stark-logo-badge {
        width: 9.75rem;
        min-width: 9.75rem;
        height: 4.6rem;
        padding: 0.65rem 0.8rem;
    }

    .stark-login-brand__tagline {
        font-size: 0.85rem;
    }

    .stark-login-stat {
        width: 100%;
        justify-content: center;
    }

    .stark-login-card {
        padding: 1.7rem 1.3rem;
        border-radius: 24px;
    }

    .stark-login-card h2 {
        font-size: clamp(2.5rem, 15vw, 3.45rem);
    }
}

@media (max-width: 991.98px) {
    .stark-login-shell {
        flex-direction: column;
    }

    .stark-login-hero {
        display: none;
    }

    .stark-login-panel {
        flex: 1 1 auto;
        min-height: 100vh;
        align-items: flex-start;
        padding: 2rem 1.25rem;
        background:
            radial-gradient(circle at top, rgba(212, 160, 23, 0.16), transparent 28%),
            linear-gradient(180deg, var(--stark-bg-deep), var(--stark-bg));
    }

    .stark-login-mobile-brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: min(100%, 440px);
        margin: 0 auto 1.5rem;
        flex-direction: row;
        color: var(--stark-accent-soft);
    }

    .stark-login-mobile-brand__logo {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 575.98px) {
    .stark-login-panel {
        padding: 1.25rem;
    }

    .stark-login-card {
        padding: 1.7rem 1.25rem;
        border-radius: 22px;
    }

    .stark-login-card__signal {
        width: 100%;
        justify-content: center;
        text-align: center;
        line-height: 1.4;
    }

    .stark-login-card h2 {
        font-size: 2.5rem;
    }
}
