/* Inveeta login — uses the same visual language as the desktop admin. */

:root {
    --page: #dce3e9;
    --surface: rgba(255, 255, 255, .58);
    --ink: #2c3e50;
    --muted: #757b87;
    --line: rgba(44, 62, 80, .18);
    --focus: #48c4de;
    --danger: #a44f4f;
}

body {
    background:
        linear-gradient(rgba(44, 62, 80, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 62, 80, .035) 1px, transparent 1px),
        var(--page);
    background-size: 3rem 3rem;
    color: var(--ink);
}

.login-shell {
    grid-template-columns: minmax(17rem, .78fr) minmax(24rem, 1fr);
    width: min(62rem, 100%);
    min-height: 36rem;
    border: 1px solid rgba(44, 62, 80, .1);
    border-radius: 0;
    background: var(--surface);
    box-shadow: 0 1.5rem 4rem rgba(24, 33, 42, .18);
    backdrop-filter: blur(12px);
}

.brand-panel {
    padding: 3rem;
    background: #2c3e50;
}

.brand-panel::after {
    right: -7rem;
    bottom: -8rem;
    width: 22rem;
    height: 22rem;
    border-color: rgba(72, 196, 222, .28);
    border-radius: 50%;
    box-shadow:
        0 0 0 3rem rgba(72, 196, 222, .035),
        0 0 0 6rem rgba(255, 255, 255, .018);
}

.brand-name {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -.035em;
}

.brand-name::after {
    display: block;
    width: 2.5rem;
    height: 3px;
    margin-top: .9rem;
    background: #48c4de;
    content: "";
}

.brand-copy p {
    color: rgba(255, 255, 255, .48);
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .1em;
}

.brand-copy h2 {
    max-width: 16rem;
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.45;
}

.form-panel {
    padding: clamp(3rem, 6vw, 5rem);
}

.form-wrap {
    max-width: 24rem;
}

.eyebrow {
    color: var(--muted);
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .1em;
}

h1 {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 2.55rem);
    font-weight: 500;
    letter-spacing: -.04em;
}

.intro {
    color: var(--muted);
    font-size: .8125rem;
}

label {
    color: var(--muted);
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

input {
    height: 3rem;
    padding: 0 .9rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: rgba(255, 255, 255, .55);
    color: var(--ink);
    font-size: .8125rem;
}

input:hover {
    border-color: rgba(44, 62, 80, .32);
}

input:focus {
    border-color: var(--focus);
    background: rgba(255, 255, 255, .86);
    box-shadow: inset 0 -2px 0 var(--focus);
}

button {
    height: 3rem;
    border-radius: 0;
    background: #48c4de;
    color: #fff;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

button:hover:not(:disabled) {
    background: #35b4ce;
}

.footnote {
    color: var(--muted);
    opacity: .62;
}

@media (max-width: 760px) {
    body {
        background: var(--page);
    }

    .login-shell {
        background: transparent;
    }

    .form-panel {
        padding: 3rem 1.5rem;
    }
}
