﻿:root {
    --primary: #0b63f6;
    --primary-strong: #0753d8;
    --primary-soft: #eaf3ff;
    --ink: #0c1738;
    --muted: #7481a3;
    --line: #dfe6f2;
    --surface: #ffffff;
    --page: #f6f9ff;
}

* { box-sizing: border-box; }
html, body, form { min-height: 100%; margin: 0; }
body { font-family: 'Inter', sans-serif; background: var(--page); color: var(--ink); }
button, input { font: inherit; }

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(540px, 1.2fr) minmax(460px, .8fr);
    background: #fff;
}

.login-showcase {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 20% 10%, rgba(44, 158, 255, .55), transparent 28%),
        radial-gradient(circle at 85% 74%, rgba(0, 184, 255, .25), transparent 34%),
        linear-gradient(138deg, #07337f 0%, #064dbb 42%, #08276e 100%);
}

.login-showcase::before,
.login-showcase::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    width: 760px;
    height: 760px;
    right: -360px;
    top: -210px;
}
.login-showcase::after { width: 520px; height: 520px; left: -310px; top: auto; bottom: -290px; }
.showcase-glow { position: absolute; filter: blur(2px); opacity: .7; border-radius: 50%; }
.glow-one { width: 360px; height: 360px; background: rgba(33, 133, 255, .28); right: 8%; top: 8%; }
.glow-two { width: 300px; height: 300px; background: rgba(0, 198, 255, .16); left: 15%; bottom: 12%; }

.showcase-content {
    position: relative;
    z-index: 1;
    width: min(860px, 88%);
    margin: 0 auto;
    min-height: 100vh;
    padding: 52px 0 46px;
    display: flex;
    flex-direction: column;
}
.showcase-brand { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.brand-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); color: #67c3ff; font-size: 22px; backdrop-filter: blur(8px); }

.showcase-copy { margin-top: 78px; max-width: 590px; }
.eyebrow { display: inline-flex; padding: 7px 11px; border-radius: 99px; background: rgba(255,255,255,.10); color: #a8dbff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.showcase-copy h1 { font-size: clamp(34px, 3.2vw, 52px); line-height: 1.08; margin: 18px 0 18px; font-weight: 800; letter-spacing: -.045em; }
.showcase-copy h1 span { color: #72c8ff; }
.showcase-copy p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.78); }

.feature-list { margin-top: 34px; display: grid; gap: 14px; width: 480px; max-width: 100%; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: #8dd7ff; background: linear-gradient(145deg, rgba(42,139,255,.34), rgba(39,111,237,.18)); border: 1px solid rgba(255,255,255,.1); font-size: 18px; }
.feature-item div { min-width: 0; display: grid; gap: 3px; }
.feature-item strong { font-size: 14px; font-weight: 700; }
.feature-item small { color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.45; }

.agenda-illustration { position: absolute; right: -8%; bottom: 4%; width: 62%; min-width: 460px; height: 57%; pointer-events: none; }
.mock-device { position: absolute; right: 0; bottom: 0; width: 92%; height: 72%; padding: 14px; display: grid; grid-template-columns: 54px 1fr; border-radius: 22px; transform: perspective(1100px) rotateY(-9deg) rotateX(2deg) rotateZ(2deg); background: linear-gradient(145deg, rgba(14,29,69,.98), rgba(4,17,54,.98)); border: 2px solid rgba(54,179,255,.75); box-shadow: 0 35px 80px rgba(0,0,0,.35), 0 0 36px rgba(49,170,255,.25); }
.mock-sidebar { border-radius: 12px; background: #10244d; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 22px; }
.mock-dot { width: 18px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.28); }
.mock-dot.active { width: 26px; background: #45b7ff; }
.mock-calendar { border-radius: 12px; background: #f9fbff; padding: 12px 12px 10px; overflow: hidden; }
.mock-toolbar { height: 28px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #e6ebf3; }
.mock-toolbar span { width: 30px; height: 6px; border-radius: 99px; background: #dae3f0; }
.mock-toolbar span:first-child { width: 62px; background: #1e7af4; }
.mock-days { height: calc(100% - 34px); display: grid; grid-template-columns: repeat(5, 1fr); }
.mock-days > div { position: relative; border-right: 1px solid #edf1f7; padding: 10px 5px; }
.mock-days b { display: block; text-align: center; color: #8d9ab4; font-size: 8px; }
.mock-days i { display: block; height: 22px; border-bottom: 1px solid #edf1f7; }
.mock-days .event { position: absolute; left: 7px; right: 7px; height: 34px; border: 0; border-radius: 5px; top: 54px; background: #2d8cff; box-shadow: 0 4px 10px rgba(29,110,255,.16); }
.mock-days .event.green { top: 82px; background: #33c694; }
.mock-days .event.orange { top: 120px; background: #f4a64e; }
.mock-days .event.purple { top: 70px; background: #8e6cf2; }
.mock-days .event.pink { top: 106px; background: #ef658d; }
.floating-card { position: absolute; z-index: 3; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(85,188,255,.58); background: linear-gradient(145deg, rgba(18,83,187,.90), rgba(9,55,146,.84)); box-shadow: 0 18px 40px rgba(0,0,0,.22); backdrop-filter: blur(10px); }
.appointment-card { right: 3%; top: 2%; width: 250px; transform: rotate(-6deg); }
.tasks-card { right: 18%; top: 34%; width: 215px; transform: rotate(-4deg); }
.floating-label { display: block; font-size: 10px; color: rgba(255,255,255,.72); margin-bottom: 10px; }
.floating-row { display: grid; grid-template-columns: 34px 1fr 18px; gap: 9px; align-items: center; }
.mini-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.12); color: #8bd5ff; }
.floating-row div { display: grid; }
.floating-row strong { font-size: 11px; }
.floating-row small { margin-top: 2px; font-size: 9px; color: rgba(255,255,255,.66); }
.task-title { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,.82); }
.progress-track { margin-top: 10px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; }
.progress-track span { display: block; width: 67%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#2ba3ff,#79d2ff); }

.login-panel { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 48px 7%; background: radial-gradient(circle at 100% 0%, #f1f7ff, transparent 33%), #fff; }
.login-panel-inner { width: min(460px, 100%); }
.login-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 56px; }
.login-logo-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--primary-soft); color: var(--primary); font-size: 27px; }
.login-logo div { display: grid; gap: 1px; }
.login-logo strong { font-size: 25px; letter-spacing: -.04em; }
.login-logo small { color: #8895b3; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.login-heading { margin-bottom: 30px; }
.login-heading h2 { margin: 0 0 8px; font-size: 31px; line-height: 1.15; font-weight: 800; letter-spacing: -.035em; }
.login-heading p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.login-field { margin-bottom: 18px; }
.login-field label { display: block; margin-bottom: 8px; color: #34415f; font-size: 12px; font-weight: 700; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.secure-label { color: #8e9ab5; font-size: 10px; font-weight: 600; }
.input-wrap { position: relative; }
.input-wrap > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #8997b5; font-size: 16px; z-index: 2; }
.input-wrap .form-control { height: 52px; border-radius: 13px; border: 1px solid var(--line); padding: 0 48px 0 44px; color: var(--ink); background: #fbfcff; box-shadow: none; font-size: 14px; transition: .2s ease; }
.input-wrap .form-control::placeholder { color: #a9b2c5; }
.input-wrap .form-control:focus { border-color: #65a4ff; background: #fff; box-shadow: 0 0 0 4px rgba(11,99,246,.09); }
.password-toggle { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #8492ae; cursor: pointer; }
.password-toggle:hover { background: #eef4ff; color: var(--primary); }
.invalid-feedback { font-size: 11px; }

.login-options { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 8px 0 24px; color: #66738f; font-size: 12px; }
.remember-check { display: inline-flex; align-items: center; gap: 8px; }
.remember-check input { width: 16px; height: 16px; margin-right: 7px; accent-color: var(--primary); }
.remember-check label { cursor: pointer; }
.login-help { color: #8995af; white-space: nowrap; }
.login-help i { color: var(--primary); }

.login-button { width: 100%; height: 54px; border: 0; border-radius: 13px; background: linear-gradient(100deg, #0b63f6, #1499f6); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 14px 26px rgba(11,99,246,.22); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.login-button:hover { transform: translateY(-1px); box-shadow: 0 18px 30px rgba(11,99,246,.28); }
.login-button:active { transform: translateY(0); }

.login-alert { display: flex; align-items: flex-start; gap: 10px; margin: -8px 0 20px; padding: 12px 14px; border: 1px solid #ffd4db; border-radius: 12px; color: #a4263a; background: #fff4f6; font-size: 12px; line-height: 1.45; }
.login-alert.success { border-color: #c6f0df; color: #147253; background: #f1fcf7; }
.security-note { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #8a96af; text-align: left; }
.security-note > i { color: #74a5ec; font-size: 18px; }
.security-note div { display: grid; gap: 2px; }
.security-note strong { font-size: 10px; font-weight: 700; color: #6c7891; }
.security-note small { font-size: 9px; }

@media (max-width: 1120px) {
    .login-shell { grid-template-columns: 1fr 460px; }
    .showcase-content { width: 86%; }
    .agenda-illustration { opacity: .82; right: -18%; }
}

@media (max-width: 900px) {
    .login-shell { display: block; min-height: 100vh; background: linear-gradient(180deg,#073a92 0 230px,#fff 230px); padding: 24px; }
    .login-showcase { min-height: 206px; border-radius: 26px 26px 0 0; background: linear-gradient(135deg,#073a92,#0874df); }
    .showcase-content { min-height: auto; width: 100%; padding: 28px 30px; }
    .showcase-brand { margin-bottom: 24px; }
    .showcase-copy { margin: 0; max-width: 560px; }
    .showcase-copy h1 { font-size: 31px; margin: 8px 0 10px; }
    .showcase-copy p { font-size: 13px; }
    .eyebrow, .feature-list, .agenda-illustration { display: none; }
    .login-panel { min-height: auto; padding: 38px 30px; border-radius: 0 0 26px 26px; }
    .login-logo { margin-bottom: 28px; }
}

@media (max-width: 560px) {
    .login-shell { padding: 0; background: #fff; }
    .login-showcase { border-radius: 0; min-height: 190px; }
    .showcase-content { padding: 24px; }
    .showcase-copy h1 { font-size: 27px; }
    .login-panel { border-radius: 0; padding: 34px 22px 42px; }
    .login-panel-inner { width: 100%; }
    .login-logo { margin-bottom: 26px; }
    .login-heading h2 { font-size: 27px; }
    .login-options { align-items: flex-start; }
    .login-help { display: none; }
}


/* =========================================================
   TMCP REBRAND - Login
   ========================================================= */
:root {
    --primary: #f2a300;
    --primary-soft: #fff4da;
    --ink: #1d1711;
    --muted: #8b7b67;
    --line: #eadfcd;
}

.login-page {
    background:
        radial-gradient(circle at top right, rgba(242,163,0,.08), transparent 25%),
        linear-gradient(180deg, #fdfbf7 0%, #f8f3eb 100%);
}

.login-showcase {
    background:
        radial-gradient(circle at 78% 26%, rgba(242,163,0,.22), transparent 24%),
        linear-gradient(130deg, #16110d 0%, #0a0907 44%, #241a10 100%);
}

.showcase-brand-logo {
    display: block;
}

.showcase-brand-image {
    width: min(330px, 100%);
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.26));
}

.eyebrow {
    background: rgba(255,194,86,.10);
    color: #f6bf58;
    border: 1px solid rgba(255,194,86,.16);
}

.showcase-copy h1 span {
    color: #f6bf58;
}

.brand-icon,
.feature-icon,
.mini-icon {
    color: #ffd57f;
}

.feature-icon {
    background: linear-gradient(145deg, rgba(255,183,43,.22), rgba(55,34,7,.22));
    border-color: rgba(255,194,86,.14);
}

.mock-device {
    background: linear-gradient(145deg, rgba(18,15,10,.98), rgba(8,7,6,.98));
    border-color: rgba(255,194,86,.68);
    box-shadow: 0 35px 80px rgba(0,0,0,.45), 0 0 36px rgba(242,163,0,.20);
}

.mock-sidebar {
    background: #1a1410;
}

.mock-dot.active {
    background: #f4b338;
}

.floating-card {
    border-color: rgba(255,194,86,.45);
    background: linear-gradient(145deg, rgba(36,24,10,.90), rgba(18,14,10,.84));
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

.progress-track span {
    background: linear-gradient(90deg,#d88900,#f6bf58);
}

.login-panel {
    background: radial-gradient(circle at 100% 0%, #fff2d9, transparent 33%), #fffdf9;
}

.login-logo-brand {
    margin-bottom: 48px;
}

.login-brand-image {
    width: min(320px, 100%);
    height: auto;
    display: block;
    object-fit: contain;
}

.login-heading h2 {
    color: #231c14;
}

.input-wrap .form-control:focus {
    border-color: #ebb548;
    box-shadow: 0 0 0 4px rgba(242,163,0,.10);
}

.password-toggle:hover {
    background: #fff2db;
    color: #c78500;
}

.remember-check input {
    accent-color: #d88900;
}

.login-help i,
.security-note > i,
.login-logo-icon {
    color: #d88900;
}

.login-button {
    background: linear-gradient(100deg, #d88900, #f2ae1a);
    box-shadow: 0 14px 26px rgba(216,137,0,.20);
}

.login-button:hover {
    box-shadow: 0 18px 30px rgba(216,137,0,.26);
}

@media (max-width: 900px) {
    .login-shell {
        background: linear-gradient(180deg, #17120d 0 230px, #fff 230px);
    }
    .login-showcase {
        background: linear-gradient(130deg, #17120d, #2b2012);
    }
}


/* =========================================================
   TMCP - FUNDO UNIFICADO DA TELA DE LOGIN
   O painel da direita passa a usar o mesmo fundo escuro
   do painel institucional. A logo do formulário foi removida
   do login antigo; permanece somente a identidade da esquerda.
   ========================================================= */
html,
body,
form.login-page {
    min-height: 100%;
    background: #0b0907;
}

.login-page {
    color: #fff;
    background: #0b0907;
}

.login-shell {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 76%, rgba(0, 111, 132, .20) 0, rgba(0, 111, 132, .20) 8%, transparent 17%),
        radial-gradient(circle at 48% 14%, rgba(70, 101, 116, .34) 0, rgba(70, 101, 116, .34) 9%, transparent 19%),
        radial-gradient(circle at 91% 8%, rgba(242, 163, 0, .18), transparent 24%),
        radial-gradient(circle at 77% 73%, rgba(139, 82, 0, .12), transparent 31%),
        linear-gradient(128deg, #15100c 0%, #090806 43%, #181007 72%, #24170a 100%);
}

.login-shell::before,
.login-shell::after {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border: 1px solid rgba(242, 163, 0, .13);
    border-radius: 50%;
}

.login-shell::before {
    width: 720px;
    height: 720px;
    right: -330px;
    top: -470px;
}

.login-shell::after {
    width: 560px;
    height: 560px;
    right: -330px;
    bottom: -360px;
}

.login-showcase,
.login-panel {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* O painel direito agora faz parte visualmente do mesmo cenário. */
.login-panel {
    color: #fff;
    min-height: 100vh;
}

.login-panel-inner {
    position: relative;
    z-index: 2;
}

.login-heading {
    margin-bottom: 32px;
}

.login-heading h2 {
    color: #fff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}

.login-heading p {
    color: rgba(255, 255, 255, .67);
}

.login-field label {
    color: rgba(255, 255, 255, .92);
}

.secure-label {
    color: #e4ad39;
}

.secure-label i {
    color: #f2a300;
}

.input-wrap > i {
    color: rgba(255, 255, 255, .60);
}

.input-wrap .form-control {
    color: #fff;
    background: rgba(16, 13, 10, .64);
    border-color: rgba(242, 163, 0, .42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .025),
        0 10px 30px rgba(0, 0, 0, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.input-wrap .form-control::placeholder {
    color: rgba(255, 255, 255, .46);
}

.input-wrap .form-control:hover {
    border-color: rgba(242, 163, 0, .60);
}

.input-wrap .form-control:focus {
    color: #fff;
    background: rgba(20, 16, 11, .82);
    border-color: #e7a51c;
    box-shadow: 0 0 0 4px rgba(242, 163, 0, .10), 0 14px 34px rgba(0, 0, 0, .16);
}

.password-toggle {
    color: rgba(255, 255, 255, .62);
}

.password-toggle:hover {
    color: #ffc857;
    background: rgba(242, 163, 0, .10);
}

.login-options {
    color: rgba(255, 255, 255, .68);
}

.remember-check label {
    color: rgba(255, 255, 255, .72);
}

.login-help {
    color: #d8a438;
}

.login-help i {
    color: #f2a300;
}

.login-button {
    background: linear-gradient(100deg, #dc8c00 0%, #f2a300 47%, #f8bc31 100%);
    color: #fff;
    box-shadow: 0 14px 32px rgba(216, 137, 0, .24);
}

.login-button:hover {
    box-shadow: 0 18px 38px rgba(216, 137, 0, .32);
}

.security-note {
    color: rgba(255, 255, 255, .48);
}

.security-note > i {
    color: #f2a300;
}

.security-note strong {
    color: rgba(255, 255, 255, .82);
}

.security-note small {
    color: rgba(255, 255, 255, .47);
}

.invalid-feedback {
    color: #ffb0b0;
}

/* Mantém os alertas legíveis sobre o fundo escuro. */
.login-alert {
    border-color: rgba(255, 126, 145, .35);
    color: #ffd6dc;
    background: rgba(111, 20, 34, .38);
    backdrop-filter: blur(10px);
}

.login-alert.success {
    border-color: rgba(83, 210, 157, .30);
    color: #c9ffe8;
    background: rgba(11, 84, 58, .36);
}

/* A logo da direita não deve reaparecer mesmo com CSS antigo em cache. */
.login-logo-brand {
    display: none !important;
}

@media (max-width: 900px) {
    .login-shell {
        display: block;
        min-height: 100vh;
        padding: 24px;
        background:
            radial-gradient(circle at 78% 8%, rgba(242, 163, 0, .17), transparent 26%),
            radial-gradient(circle at 13% 78%, rgba(0, 113, 133, .18), transparent 23%),
            linear-gradient(145deg, #15100c 0%, #090806 48%, #211509 100%);
    }

    .login-showcase {
        background: transparent;
    }

    .login-panel {
        background: transparent;
        border-radius: 0 0 26px 26px;
        padding-top: 36px;
    }
}

@media (max-width: 560px) {
    html,
    body,
    form.login-page,
    .login-shell {
        background: #0b0907;
    }

    .login-shell {
        padding: 0;
        background:
            radial-gradient(circle at 95% 8%, rgba(242, 163, 0, .15), transparent 25%),
            radial-gradient(circle at 0% 72%, rgba(0, 113, 133, .16), transparent 23%),
            linear-gradient(155deg, #15100c 0%, #090806 55%, #1c1208 100%);
    }

    .login-showcase,
    .login-panel {
        background: transparent;
    }

    .login-panel {
        padding: 34px 22px 42px;
    }

    .login-heading h2 {
        color: #fff;
    }
}

/* =========================================================
   TMCP - RESPONSIVIDADE REFORÇADA DA TELA DE LOGIN
   ========================================================= */

html,
body,
form.login-page {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body { min-width: 0; }

.login-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
}

.login-showcase,
.login-panel,
.showcase-content,
.login-panel-inner { min-width: 0; }

.showcase-content {
    width: min(860px, calc(100% - clamp(44px, 7vw, 96px)));
    padding-top: clamp(30px, 5vh, 52px);
    padding-bottom: clamp(30px, 4.5vh, 46px);
}

.showcase-brand-image { width: clamp(220px, 25vw, 330px); }
.showcase-copy { margin-top: clamp(34px, 7vh, 78px); }
.showcase-copy h1 { font-size: clamp(32px, 3.1vw, 52px); }
.showcase-copy p { font-size: clamp(13px, 1.1vw, 16px); }
.feature-list { margin-top: clamp(22px, 3vh, 34px); }

.agenda-illustration {
    min-width: 0;
    width: clamp(390px, 56%, 620px);
    height: clamp(330px, 54%, 610px);
    right: clamp(-12%, -5vw, -4%);
}

.login-panel {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: clamp(28px, 5vh, 52px) clamp(28px, 5vw, 84px);
}

.login-panel-inner {
    width: min(470px, 100%);
    margin-inline: auto;
}

.login-heading h2 { font-size: clamp(27px, 2.2vw, 31px); }
.input-wrap .form-control,
.login-button { width: 100%; }

@media (max-width: 1280px) and (min-width: 901px) {
    .login-shell { grid-template-columns: minmax(0, 1fr) minmax(410px, .78fr); }
    .showcase-content { width: 90%; }
    .showcase-copy { max-width: 510px; }
    .showcase-copy h1 { font-size: clamp(31px, 3.4vw, 44px); }
    .feature-list { width: 430px; }
    .agenda-illustration { right: -14%; width: 58%; opacity: .9; }
    .login-panel { padding-inline: clamp(32px, 4vw, 58px); }
}

@media (min-width: 901px) and (max-height: 780px) {
    .showcase-content { padding-top: 24px; padding-bottom: 24px; }
    .showcase-brand-image { width: clamp(190px, 19vw, 270px); }
    .showcase-copy { margin-top: 22px; }
    .showcase-copy h1 { margin: 12px 0; font-size: clamp(30px, 3vw, 42px); }
    .showcase-copy p { line-height: 1.55; }
    .feature-list { margin-top: 18px; gap: 9px; }
    .feature-icon { width: 39px; height: 39px; flex-basis: 39px; }
    .feature-item strong { font-size: 13px; }
    .feature-item small { font-size: 11px; }
    .agenda-illustration { bottom: 1%; height: 49%; }
    .login-panel { padding-top: 24px; padding-bottom: 24px; }
    .login-heading { margin-bottom: 22px; }
    .login-field { margin-bottom: 14px; }
    .login-options { margin: 5px 0 18px; }
    .security-note { margin-top: 22px; }
}

@media (min-width: 901px) and (max-height: 650px) {
    .agenda-illustration { display: none; }
    .showcase-copy { margin-top: 16px; }
    .feature-list { gap: 7px; }
    .login-panel-inner { max-width: 440px; }
}

@media (max-width: 900px) {
    .login-shell {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        padding: clamp(12px, 2.5vw, 24px);
        gap: 0;
    }

    .login-showcase {
        min-height: 0;
        overflow: visible;
        border-radius: 24px 24px 0 0;
    }

    .showcase-content {
        width: 100%;
        min-height: 0;
        padding: clamp(22px, 4vw, 32px);
    }

    .showcase-brand { margin-bottom: clamp(14px, 2.5vw, 22px); }
    .showcase-brand-image { width: clamp(190px, 34vw, 250px); }
    .showcase-copy { margin: 0; max-width: 650px; }
    .showcase-copy h1 { margin: 7px 0 8px; font-size: clamp(27px, 5vw, 35px); line-height: 1.08; }
    .showcase-copy p { max-width: 620px; font-size: 13px; line-height: 1.55; }
    .eyebrow, .feature-list, .agenda-illustration { display: none; }

    .login-panel {
        flex: 1 0 auto;
        min-height: 0;
        padding: clamp(28px, 5vw, 42px) clamp(24px, 6vw, 52px) clamp(34px, 6vw, 50px);
        border-radius: 0 0 24px 24px;
        align-items: flex-start;
    }

    .login-panel-inner { width: min(520px, 100%); }
    .login-heading { margin-bottom: 25px; }
    .login-heading h2 { font-size: clamp(26px, 4.5vw, 30px); }
}

@media (max-width: 640px) {
    .login-shell { padding: 0; }
    .login-showcase { border-radius: 0; }
    .showcase-content { padding: 22px 20px 19px; }
    .showcase-brand { margin-bottom: 13px; }
    .showcase-brand-image { width: clamp(175px, 52vw, 220px); }
    .showcase-copy h1 { font-size: clamp(24px, 7vw, 29px); margin: 5px 0 7px; }
    .showcase-copy p { font-size: 12.5px; line-height: 1.5; }
    .login-panel { border-radius: 0; padding: 27px 20px 34px; }
    .login-heading { margin-bottom: 22px; }
    .login-heading h2 { font-size: clamp(24px, 7vw, 28px); }
    .login-heading p { font-size: 13px; }
    .login-field { margin-bottom: 15px; }
    .input-wrap .form-control { height: 50px; border-radius: 12px; font-size: 14px; }
    .login-button { height: 52px; border-radius: 12px; }
    .login-options { flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 6px 0 20px; }
    .login-help { display: inline-flex; align-items: center; gap: 4px; }
    .security-note { margin-top: 26px; }
}

@media (max-width: 420px) {
    .showcase-content { padding: 18px 16px 16px; }
    .showcase-brand-image { width: min(188px, 58vw); }
    .showcase-copy h1 { font-size: clamp(22px, 7.2vw, 26px); }
    .showcase-copy p { font-size: 12px; }
    .login-panel { padding: 23px 16px 30px; }
    .login-heading { margin-bottom: 19px; }
    .login-heading h2 { font-size: 24px; }
    .login-field label { font-size: 11.5px; }
    .secure-label { font-size: 9px; }
    .input-wrap > i { left: 13px; }
    .input-wrap .form-control { height: 48px; padding-left: 40px; padding-right: 43px; font-size: 13.5px; }
    .password-toggle { right: 7px; }
    .login-options { font-size: 11.5px; }
    .login-button { height: 50px; }
    .security-note { justify-content: flex-start; margin-top: 23px; }
}

@media (max-width: 350px) {
    .showcase-copy p { display: none; }
    .field-label-row { align-items: flex-start; }
    .secure-label { max-width: 115px; text-align: right; line-height: 1.25; }
    .login-options { flex-direction: column; align-items: flex-start; }
    .login-help { white-space: normal; }
}

@media (max-width: 900px) and (max-height: 560px) and (orientation: landscape) {
    .showcase-content { padding-top: 14px; padding-bottom: 14px; }
    .showcase-brand { margin-bottom: 8px; }
    .showcase-brand-image { width: 165px; }
    .showcase-copy h1 { font-size: 22px; margin: 2px 0 0; }
    .showcase-copy p { display: none; }
    .login-panel { padding-top: 20px; }
}

/* =========================================================
   LINK DE RETORNO AO SITE TECHMILLEN
   ========================================================= */
.login-return-row {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

.login-return-techmillen {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(246, 188, 67, .24);
    border-radius: 10px;
    color: #f6bc43 !important;
    background: rgba(242, 163, 0, .07);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: .18s ease;
}

.login-return-techmillen:hover,
.login-return-techmillen:focus {
    color: #ffd36f !important;
    border-color: rgba(246, 188, 67, .42);
    background: rgba(242, 163, 0, .13);
    transform: translateX(-2px);
}

.login-return-techmillen i {
    font-size: 13px;
}

@media (max-width: 640px) {
    .login-return-row {
        margin-bottom: 18px;
    }

    .login-return-techmillen {
        font-size: 10.5px;
    }
}

