:root {
    --ink: #13233a;
    --ink-soft: #617188;
    --line: #dfe6ee;
    --surface: #ffffff;
    --canvas: #f2f6fa;
    --green: #7fc62b;
    --green-dark: #609f18;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-width: 320px;
    background: var(--canvas);
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 12%, rgba(127, 198, 43, 0.14), transparent 24rem),
        radial-gradient(circle at 90% 85%, rgba(48, 103, 170, 0.12), transparent 26rem),
        var(--canvas);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.login-shell {
    width: min(1040px, 100%);
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    overflow: hidden;
    border: 1px solid rgba(219, 227, 237, 0.9);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 30px 80px rgba(18, 39, 66, 0.15);
}

.login-brand-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 46px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 14%, rgba(127, 198, 43, 0.28), transparent 16rem),
        linear-gradient(145deg, #162b48 0%, #0d1c31 100%);
}

.login-brand-panel::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.025),
        0 0 0 110px rgba(255, 255, 255, 0.018);
}

.login-brand,
.login-mobile-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.login-brand,
.login-pitch,
.login-brand-footer {
    position: relative;
    z-index: 1;
}

.login-brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.09);
}

.login-brand-mark img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.login-brand-copy,
.login-mobile-brand span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.login-brand-copy strong {
    font-size: 21px;
    letter-spacing: -0.03em;
}

.login-brand-copy small {
    color: #9fb1c6;
    font-size: 11px;
}

.login-pitch {
    max-width: 470px;
}

.login-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 17px;
    color: #c8eca0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.login-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--green);
}

.login-pitch h1 {
    max-width: 440px;
    margin-bottom: 16px;
    font-size: clamp(35px, 4vw, 53px);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.login-pitch > p {
    max-width: 430px;
    color: #b8c8da;
    font-size: 14px;
    line-height: 1.7;
}

.login-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
}

.login-feature {
    min-height: 92px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.045);
}

.login-feature-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin-bottom: 9px;
    border-radius: 9px;
    color: var(--green);
    background: rgba(127, 198, 43, 0.12);
}

.login-feature-icon svg {
    width: 15px;
    height: 15px;
}

.login-feature strong {
    display: block;
    color: #edf4fb;
    font-size: 10px;
    line-height: 1.3;
}

.login-brand-footer {
    color: #7289a4;
    font-size: 10px;
}

.login-form-panel {
    display: flex;
    align-items: center;
    padding: 48px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(127, 198, 43, 0.1), transparent 18rem);
}

.login-form-wrap {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

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

.login-form-header {
    margin-bottom: 28px;
}

.login-form-header span {
    display: block;
    margin-bottom: 8px;
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.login-form-header h2 {
    margin-bottom: 9px;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.login-form-header p {
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.6;
}

.login-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.5;
}

.login-alert-error {
    border-color: #f0c7c7;
    color: #a42b2b;
    background: #fff2f2;
}

.login-alert-success {
    border-color: #c8e4cd;
    color: #26713c;
    background: #f0faf2;
}

.login-field {
    margin-bottom: 17px;
}

.login-field label {
    display: block;
    margin-bottom: 7px;
    color: #34445a;
    font-size: 11px;
    font-weight: 800;
}

.login-input-wrap {
    position: relative;
}

.login-input-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 17px;
    height: 17px;
    color: #8796a8;
    pointer-events: none;
    transform: translateY(-50%);
}

.login-field input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 42px;
    border: 1px solid var(--line);
    border-radius: 13px;
    outline: 0;
    color: var(--ink);
    background: #fff;
    font-size: 12px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.login-field input::placeholder {
    color: #9aa7b7;
}

.login-field input:focus {
    border-color: rgba(127, 198, 43, 0.88);
    box-shadow: 0 0 0 4px rgba(127, 198, 43, 0.11);
}

.login-submit {
    width: 100%;
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 7px;
    border: 1px solid #12253f;
    border-radius: 13px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(145deg, #1d3b61, #13233a);
    box-shadow: 0 12px 25px rgba(19, 35, 58, 0.18);
    font-size: 12px;
    font-weight: 850;
    transition: transform .18s ease, box-shadow .18s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(19, 35, 58, 0.24);
}

.login-submit svg {
    width: 16px;
    height: 16px;
}

.login-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
    color: #8795a7;
    font-size: 10px;
}

.login-security svg {
    width: 13px;
    height: 13px;
    color: var(--green-dark);
}
.rating-stars {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    color: #f59e0b;
    font-size: 15px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.texto-vazio {
    color: #98A2B3;
    font-style: italic;
}

.tabela-relatorio td strong {
    color: #16263E;
    font-weight: 800;
}

@media (max-width: 880px) {
    .login-page {
        padding: 18px;
    }

    .login-shell {
        width: min(520px, 100%);
        min-height: 0;
        display: block;
        border-radius: 22px;
    }

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        padding: 38px 32px;
    }

    .login-mobile-brand {
        display: flex;
        margin-bottom: 34px;
    }

    .login-mobile-brand img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .login-mobile-brand strong {
        font-size: 17px;
        letter-spacing: -0.03em;
    }

    .login-mobile-brand small {
        color: var(--ink-soft);
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .login-page {
        align-items: stretch;
        padding: 0;
    }

    .login-shell {
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .login-form-panel {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 30px 22px;
    }

    .login-form-header h2 {
        font-size: 27px;
    }
}
