:root {
    --olitech-navy-950: #020812;
    --olitech-navy-900: #061225;
    --olitech-navy-850: #071a34;
    --olitech-navy-800: #082044;
    --olitech-blue-700: #073b93;
    --olitech-blue-600: #0759df;
    --olitech-blue-500: #0a78ff;
    --olitech-blue-400: #26a8ff;
    --olitech-cyan-400: #46d9ff;
    --olitech-white: #f7fbff;
    --olitech-silver: #c9d7e9;
    --olitech-muted: #7f94ae;
    --olitech-border: rgba(87, 171, 255, 0.22);
    --olitech-glass: rgba(5, 20, 42, 0.78);
    --shadow-deep: 0 32px 85px rgba(0, 6, 20, 0.62);
    --radius-shell: 30px;
    --radius-card: 24px;
    --transition: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--olitech-navy-950);
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    color: var(--olitech-white);
    background:
        radial-gradient(circle at 15% 16%, rgba(10, 120, 255, 0.17), transparent 32%),
        radial-gradient(circle at 87% 80%, rgba(38, 168, 255, 0.12), transparent 28%),
        linear-gradient(145deg, #020812 0%, #06152d 47%, #020915 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
}

.page-background,
.page-background canvas,
.tech-grid,
.scan-beam,
.ambient,
.circuit {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.page-background {
    z-index: 0;
    overflow: hidden;
}

#techCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.74;
}

.tech-grid {
    opacity: 0.31;
    background-image:
        linear-gradient(rgba(55, 155, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(55, 155, 255, 0.12) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 0%, rgba(0, 0, 0, 0.72) 42%, transparent 86%);
    animation: grid-drift 24s linear infinite;
}

.scan-beam {
    inset: -35% 0 auto;
    height: 32%;
    opacity: 0.40;
    background: linear-gradient(to bottom, transparent, rgba(34, 157, 255, 0.10), rgba(70, 217, 255, 0.20), transparent);
    filter: blur(1px);
    animation: scan-vertical 13s linear infinite;
}

.ambient {
    border-radius: 999px;
    filter: blur(88px);
    opacity: 0.36;
}

.ambient-one {
    width: 410px;
    height: 410px;
    left: -150px;
    top: 8%;
    background: rgba(0, 97, 255, 0.56);
    animation: ambient-float-one 18s ease-in-out infinite alternate;
}

.ambient-two {
    width: 340px;
    height: 340px;
    right: -100px;
    bottom: 3%;
    background: rgba(0, 178, 255, 0.28);
    animation: ambient-float-two 22s ease-in-out infinite alternate;
}

.circuit {
    opacity: 0.30;
    background-repeat: no-repeat;
}

.circuit::before,
.circuit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(65, 181, 255, 0.42);
    box-shadow: 0 0 24px rgba(10, 120, 255, 0.13);
}

.circuit-one::before {
    width: 330px;
    height: 180px;
    left: 4vw;
    top: 10vh;
    border-right: 0;
    border-bottom: 0;
    border-radius: 20px 0 0 0;
}

.circuit-one::after {
    width: 8px;
    height: 8px;
    left: calc(4vw + 326px);
    top: calc(10vh + 176px);
    border-radius: 50%;
    background: var(--olitech-blue-400);
    animation: node-pulse 3s ease-in-out infinite;
}

.circuit-two::before {
    width: 300px;
    height: 210px;
    right: 3vw;
    bottom: 7vh;
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 20px 0;
}

.circuit-two::after {
    width: 8px;
    height: 8px;
    right: calc(3vw + 296px);
    bottom: calc(7vh + 206px);
    border-radius: 50%;
    background: var(--olitech-cyan-400);
    animation: node-pulse 3.4s ease-in-out infinite 0.7s;
}

.login-page {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 34px;
}

.login-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
    width: min(1180px, 100%);
    min-height: 720px;
    overflow: hidden;
    border: 1px solid rgba(108, 185, 255, 0.2);
    border-radius: var(--radius-shell);
    background: rgba(2, 10, 24, 0.69);
    box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    isolation: isolate;
}

.login-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(24, 139, 255, 0.12), transparent 33%),
        linear-gradient(315deg, rgba(70, 217, 255, 0.05), transparent 30%);
}

.shell-toolbar {
    position: absolute;
    inset: 18px 22px auto 22px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    pointer-events: none;
}

.powered-by,
.theme-toggle {
    pointer-events: auto;
}

.powered-by {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(71, 184, 255, 0.16);
    border-radius: 999px;
    color: #8eaecf;
    background: rgba(6, 29, 60, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.powered-by-logo {
    display: block;
    width: 46px;
    height: 28px;
    flex: 0 0 46px;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    background: transparent;
    filter: drop-shadow(0 8px 12px rgba(0, 4, 15, 0.28));
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(71, 184, 255, 0.18);
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(6, 29, 60, 0.54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(98, 191, 255, 0.32);
    background: rgba(8, 39, 83, 0.72);
    outline: none;
}

.theme-toggle-icon {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: var(--olitech-blue-400);
}

.theme-toggle-icon svg {
    width: 18px;
    fill: currentColor;
}

.theme-toggle-label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.theme-icon-sun {
    display: none;
}

.brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 74px 50px 36px;
    overflow: hidden;
    border-right: 1px solid rgba(101, 178, 255, 0.13);
    background:
        linear-gradient(155deg, rgba(5, 30, 67, 0.93), rgba(2, 13, 31, 0.96)),
        radial-gradient(circle at 25% 15%, rgba(17, 119, 255, 0.34), transparent 34%);
}

.brand-panel::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    left: -250px;
    bottom: -330px;
    border: 1px solid rgba(43, 153, 255, 0.17);
    border-radius: 50%;
    box-shadow:
        0 0 0 46px rgba(23, 118, 255, 0.03),
        0 0 0 98px rgba(23, 118, 255, 0.025),
        0 0 0 154px rgba(23, 118, 255, 0.018);
    animation: orbital-turn 36s linear infinite;
}

.brand-panel::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -80px;
    top: 80px;
    border: 1px solid rgba(56, 178, 255, 0.16);
    border-radius: 38px;
    transform: rotate(45deg);
    box-shadow:
        0 0 0 28px rgba(20, 110, 255, 0.025),
        0 0 0 58px rgba(20, 110, 255, 0.018);
    animation: soft-rotate 26s linear infinite reverse;
}

.brand-topline,
.brand-content,
.brand-footer {
    position: relative;
    z-index: 1;
}

.brand-topline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: #9fb8d4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--olitech-cyan-400);
    box-shadow: 0 0 0 5px rgba(70, 217, 255, 0.08), 0 0 14px rgba(70, 217, 255, 0.72);
    animation: status-pulse 2.8s ease-in-out infinite;
}

.brand-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    max-width: 575px;
    padding: 26px 0 24px;
}

.brand-mark-wrap {
    position: relative;
    width: min(310px, 75%);
    margin-bottom: 22px;
}

.brand-mark-wrap::before {
    content: "";
    position: absolute;
    inset: 15% 5% 8%;
    z-index: -1;
    border-radius: 42%;
    background: rgba(0, 112, 255, 0.32);
    filter: blur(35px);
}

.company-mark-wrap {
    width: min(350px, 78%);
    padding: 16px;
    border: 1px solid rgba(92, 178, 255, 0.16);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.company-mark-wrap::before {
    inset: 12% 10% 10%;
}

.company-mark-inner {
    display: grid;
    place-items: center;
    min-height: 182px;
    padding: 18px 20px;
    border: 1px dashed rgba(97, 184, 255, 0.30);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(10, 36, 72, 0.28), rgba(5, 20, 44, 0.18));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.brand-mark {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 8, 26, 0.45));
}

.company-mark {
    object-fit: contain;
}

.company-logo-placeholder {
    display: grid;
    place-items: center;
    min-height: 150px;
    padding: 22px 18px;
    border: 1px dashed rgba(97, 184, 255, 0.28);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(8, 34, 70, 0.56), rgba(7, 26, 52, 0.35));
    text-align: center;
}

.company-logo-placeholder-kicker {
    margin-bottom: 8px;
    color: var(--olitech-blue-400);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.company-logo-placeholder strong {
    color: #f5f9ff;
    font-size: clamp(24px, 3vw, 33px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.company-logo-placeholder small {
    margin-top: 8px;
    color: #8da8c7;
    font-size: 12px;
    line-height: 1.45;
}

.company-logo-placeholder-mobile {
    min-height: 118px;
    padding: 18px 14px;
}

.company-logo-placeholder-mobile strong {
    font-size: 24px;
}

.company-name {
    margin: 0 0 6px;
    color: #eef6ff;
    font-size: clamp(22px, 2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.eyebrow,
.welcome-kicker {
    margin: 0;
    color: var(--olitech-blue-400);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.brand-content h1 {
    max-width: 590px;
    margin: 13px 0 18px;
    color: #f4f9ff;
    font-size: clamp(31px, 3.15vw, 48px);
    line-height: 1.09;
    letter-spacing: -0.045em;
}

.brand-description {
    max-width: 565px;
    margin: 0;
    color: #9eb2ca;
    font-size: 15px;
    line-height: 1.72;
}

.brand-description {
    max-width: 480px;
}

.brand-mini-card {
    display: grid;
    gap: 8px;
    width: min(410px, 100%);
    margin-top: 26px;
    padding: 18px 20px;
    border: 1px solid rgba(95, 177, 255, 0.14);
    border-radius: 18px;
    background: rgba(7, 31, 64, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.brand-mini-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border: 1px solid rgba(71, 184, 255, 0.18);
    border-radius: 999px;
    color: #8fc8f3;
    background: rgba(7, 68, 137, 0.18);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-mini-card strong {
    color: #edf6ff;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.025em;
}


.brand-company-card,
.brand-tech-block {
    margin-top: 24px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(95, 177, 255, 0.14);
    border-radius: 22px;
    background: rgba(7, 31, 64, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.content-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
    padding: 6px 10px;
    border: 1px solid rgba(71, 184, 255, 0.18);
    border-radius: 999px;
    color: #8fc8f3;
    background: rgba(7, 68, 137, 0.18);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-company-card strong {
    display: block;
    margin-bottom: 8px;
    color: #ebf6ff;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.brand-company-card p {
    margin: 0;
    color: #90a9c5;
    font-size: 13px;
    line-height: 1.65;
}

.brand-tech-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.brand-tech-logo-wrap {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(73, 176, 255, 0.21);
    border-radius: 15px;
    background: rgba(10, 120, 255, 0.09);
    box-shadow: inset 0 0 18px rgba(10, 120, 255, 0.05);
}

.brand-tech-logo-wrap img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-tech-title {
    display: grid;
    gap: 4px;
}

.brand-tech-title strong {
    color: #ebf6ff;
    font-size: 16px;
    line-height: 1.2;
}

.brand-tech-title small {
    color: #86a3c1;
    font-size: 12px;
    line-height: 1.5;
}

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

.brand-tech-block .feature-strip {
    margin-top: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(95, 177, 255, 0.14);
    border-radius: 16px;
    background: rgba(8, 32, 68, 0.42);
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.feature-item:hover {
    transform: translateY(-2px);
    border-color: rgba(95, 177, 255, 0.28);
    background: rgba(8, 39, 83, 0.54);
}

.feature-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(73, 176, 255, 0.25);
    border-radius: 12px;
    color: var(--olitech-blue-400);
    background: rgba(10, 120, 255, 0.09);
    box-shadow: inset 0 0 18px rgba(10, 120, 255, 0.05);
}

.feature-icon svg {
    width: 19px;
    fill: currentColor;
}

.feature-item > span:last-child {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.feature-item strong {
    color: #e7f2ff;
    font-size: 12px;
}

.feature-item small {
    color: #7f97b3;
    font-size: 10.5px;
    line-height: 1.35;
}

.brand-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #57708d;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.19em;
}

.brand-footer-line {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--olitech-blue-600), rgba(10, 120, 255, 0.08));
}

.form-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 88px clamp(38px, 4vw, 64px) 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 8%, rgba(10, 120, 255, 0.11), transparent 35%),
        linear-gradient(165deg, rgba(6, 22, 47, 0.92), rgba(2, 11, 26, 0.96));
}

.form-panel::before {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    right: -180px;
    bottom: -120px;
    border: 1px solid rgba(65, 171, 255, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 36px rgba(30, 139, 255, 0.02), 0 0 0 82px rgba(30, 139, 255, 0.014);
}

.form-panel-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    top: -160px;
    left: 40%;
    border-radius: 50%;
    background: rgba(0, 113, 255, 0.18);
    filter: blur(74px);
}

.form-header,
.login-form,
.form-alert,
.form-note,
.form-footer {
    position: relative;
    z-index: 1;
}

.mobile-logo-wrap,
.mobile-powered {
    display: none;
}

.mobile-powered {
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 18px;
    color: #88add0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-powered img,
.mobile-powered-logo {
    display: block;
    width: 38px;
    height: 24px;
    flex: 0 0 38px;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
    background: transparent;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-bottom: 28px;
    padding: 7px 10px;
    border: 1px solid rgba(71, 184, 255, 0.19);
    border-radius: 999px;
    color: #88bde9;
    background: rgba(7, 68, 137, 0.18);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.secure-badge-icon {
    display: grid;
    place-items: center;
}

.secure-badge-icon svg {
    width: 13px;
    fill: var(--olitech-blue-400);
}

.form-header h2 {
    margin: 9px 0 10px;
    color: #f7fbff;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.form-header > p:last-child {
    max-width: 390px;
    margin: 0;
    color: #8298b2;
    font-size: 13px;
    line-height: 1.65;
}

.form-alert,
.form-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px solid rgba(65, 171, 255, 0.22);
    border-radius: 13px;
    color: #b9d8f4;
    background: rgba(8, 63, 124, 0.24);
    font-size: 11.5px;
    line-height: 1.5;
}

.form-alert-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    margin-top: 1px;
}

.form-alert-icon svg {
    width: 17px;
    fill: var(--olitech-blue-400);
}

.login-form {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.field-group {
    display: grid;
    gap: 8px;
}

.field-group label {
    color: #c9d8e9;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.03em;
}

.field-control {
    position: relative;
    display: flex;
    align-items: center;
}

.field-control::after {
    content: "";
    position: absolute;
    right: 1px;
    bottom: 1px;
    left: 1px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--olitech-blue-400), transparent);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity var(--transition), transform var(--transition);
}

.field-control:focus-within::after {
    opacity: 0.95;
    transform: scaleX(0.9);
}

.field-icon {
    position: absolute;
    left: 16px;
    z-index: 1;
    display: grid;
    place-items: center;
    color: #6382a5;
    transition: color var(--transition), filter var(--transition);
}

.field-control:focus-within .field-icon {
    color: var(--olitech-blue-400);
    filter: drop-shadow(0 0 7px rgba(38, 168, 255, 0.3));
}

.field-icon svg {
    width: 18px;
    fill: currentColor;
}

.field-control input {
    width: 100%;
    min-height: 54px;
    padding: 0 50px 0 48px;
    border: 1px solid rgba(100, 165, 232, 0.17);
    outline: none;
    border-radius: 14px;
    color: var(--olitech-white);
    caret-color: var(--olitech-blue-400);
    background: rgba(4, 18, 39, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    font-size: 13px;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.field-control input::placeholder {
    color: #516983;
}

.field-control input:hover {
    border-color: rgba(100, 165, 232, 0.29);
    background: rgba(5, 24, 51, 0.82);
}

.field-control input:focus {
    border-color: rgba(48, 165, 255, 0.58);
    background: rgba(5, 27, 58, 0.9);
    box-shadow: 0 0 0 4px rgba(10, 120, 255, 0.08), 0 8px 25px rgba(0, 8, 24, 0.18);
}

.field-group.has-error .field-control input {
    border-color: rgba(255, 102, 120, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 72, 95, 0.07);
}

.field-error {
    min-height: 14px;
    color: #ff8b9a;
    font-size: 10px;
}

.password-toggle {
    position: absolute;
    right: 9px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
    color: #718aa6;
    background: transparent;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--olitech-blue-400);
    background: rgba(10, 120, 255, 0.09);
    outline: none;
}

.password-toggle svg {
    width: 18px;
    fill: currentColor;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle[aria-pressed="true"] .eye-open {
    display: none;
}

.password-toggle[aria-pressed="true"] .eye-closed {
    display: block;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: -2px;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8da3bb;
    font-size: 11px;
    cursor: pointer;
    user-select: none;
}

.remember-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.custom-checkbox {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(104, 169, 234, 0.31);
    border-radius: 5px;
    background: rgba(4, 18, 39, 0.76);
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.custom-checkbox svg {
    width: 12px;
    fill: white;
    opacity: 0;
    transform: scale(0.55);
    transition: opacity var(--transition), transform var(--transition);
}

.remember-option input:checked + .custom-checkbox {
    border-color: var(--olitech-blue-500);
    background: linear-gradient(135deg, var(--olitech-blue-600), var(--olitech-blue-400));
    box-shadow: 0 0 13px rgba(10, 120, 255, 0.24);
}

.remember-option input:checked + .custom-checkbox svg {
    opacity: 1;
    transform: scale(1);
}

.remember-option input:focus-visible + .custom-checkbox {
    box-shadow: 0 0 0 3px rgba(10, 120, 255, 0.15);
}

.forgot-link {
    padding: 3px 0;
    color: #4aaeff;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: color var(--transition), text-shadow var(--transition);
}

.forgot-link:hover,
.forgot-link:focus-visible {
    color: var(--olitech-cyan-400);
    text-shadow: 0 0 16px rgba(70, 217, 255, 0.27);
    outline: none;
}

.login-button {
    position: relative;
    min-height: 56px;
    margin-top: 3px;
    overflow: hidden;
    border: 1px solid rgba(85, 190, 255, 0.38);
    border-radius: 14px;
    color: white;
    background: linear-gradient(102deg, #0645b0 0%, #0878f4 52%, #1ca9ff 100%);
    box-shadow: 0 13px 32px rgba(0, 84, 218, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    cursor: pointer;
    isolation: isolate;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.login-button::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.28) 47%, transparent 74%);
    transform: translateX(-125%);
    animation: button-sheen 4.8s ease-in-out infinite 1.3s;
}

.login-button:hover {
    transform: translateY(-2px);
    filter: saturate(1.08) brightness(1.04);
    box-shadow: 0 17px 40px rgba(0, 84, 218, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:focus-visible {
    outline: 3px solid rgba(74, 174, 255, 0.24);
    outline-offset: 3px;
}

.button-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: opacity var(--transition), transform var(--transition);
}

.button-content svg {
    width: 18px;
    fill: currentColor;
    transition: transform var(--transition);
}

.login-button:hover .button-content svg {
    transform: translateX(3px);
}

.button-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    opacity: 0;
    visibility: hidden;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

/* Spinner no padrão visual do Bootstrap. */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.16em;
}

.login-button.is-loading,
.login-button:disabled {
    pointer-events: none;
}

.login-button.is-loading {
    cursor: wait;
    filter: saturate(0.94) brightness(0.98);
}

.login-button.is-loading::before {
    animation-play-state: paused;
}

.login-button.is-loading .button-content {
    opacity: 0;
    transform: translateY(3px);
}

.login-button.is-loading .button-loading {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.form-note {
    display: none;
    margin-top: 16px;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
    color: #526a84;
    font-size: 9.5px;
}

.footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #315f91;
}

@keyframes grid-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(72px, 72px, 0); }
}

@keyframes scan-vertical {
    0% { transform: translateY(-30vh); }
    100% { transform: translateY(165vh); }
}

@keyframes ambient-float-one {
    from { transform: translate3d(0, 0, 0) scale(0.92); }
    to { transform: translate3d(160px, 80px, 0) scale(1.08); }
}

@keyframes ambient-float-two {
    from { transform: translate3d(0, 0, 0) scale(0.95); }
    to { transform: translate3d(-140px, -90px, 0) scale(1.07); }
}

@keyframes orbital-turn {
    to { transform: rotate(360deg); }
}

@keyframes soft-rotate {
    to { transform: rotate(405deg); }
}

@keyframes node-pulse {
    0%, 100% { opacity: 0.4; box-shadow: 0 0 4px rgba(38, 168, 255, 0.25); }
    50% { opacity: 1; box-shadow: 0 0 22px rgba(38, 168, 255, 0.85); }
}

@keyframes status-pulse {
    0%, 100% { transform: scale(0.85); opacity: 0.75; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes button-sheen {
    0%, 68% { transform: translateX(-125%); }
    82%, 100% { transform: translateX(125%); }
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1040px) {
    .feature-strip,
    .brand-tech-block .feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-item:last-child {
        grid-column: 1 / -1;
    }
}

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

    .login-shell {
        grid-template-columns: minmax(0, 0.98fr) minmax(390px, 1.02fr);
        min-height: 700px;
    }

    .brand-panel {
        padding: 72px 34px 30px;
    }

    .brand-content h1 {
        font-size: 34px;
    }

    .brand-description {
        font-size: 13px;
    }

    .brand-company-card strong {
        font-size: 16px;
    }

    .feature-strip,
    .brand-tech-block .feature-strip {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .feature-item:last-child {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    body {
        overflow-y: auto;
    }

    .login-page {
        align-items: start;
        min-height: 100dvh;
        padding: 18px;
    }

    .login-shell {
        display: block;
        width: min(470px, 100%);
        min-height: auto;
        border-radius: 25px;
    }

    .shell-toolbar {
        inset: 16px 16px auto 16px;
    }

    .powered-by {
        display: none;
    }

    .theme-toggle {
        margin-left: auto;
    }

    .brand-panel {
        display: none;
    }

    .form-panel {
        min-height: calc(100dvh - 36px);
        justify-content: center;
        padding: 84px 25px 25px;
        border-radius: inherit;
    }

    .mobile-logo-wrap {
        display: block;
        width: min(230px, 70%);
        margin: 0 auto 16px;
        padding: 12px;
        border: 1px solid rgba(92, 178, 255, 0.14);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.02);
    }

    .company-mark-inner-mobile {
        min-height: 120px;
        padding: 12px 14px;
        border-radius: 22px;
    }

    .mobile-logo {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 13px 26px rgba(0, 8, 26, 0.4));
    }

    .mobile-powered {
        display: inline-flex;
    }

    .secure-badge {
        margin: 0 auto 25px;
    }

    .form-header {
        text-align: center;
    }

    .form-header > p:last-child {
        margin-inline: auto;
    }

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

    .welcome-kicker {
        font-size: 10.5px;
    }

    .login-form {
        margin-top: 27px;
    }

    .form-footer {
        flex-wrap: wrap;
        margin-top: 28px;
    }

    .circuit {
        opacity: 0.12;
    }
}

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

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

    .shell-toolbar {
        inset: max(14px, env(safe-area-inset-top)) 14px auto 14px;
    }

    .theme-toggle {
        min-height: 40px;
        padding-inline: 12px;
    }

    .theme-toggle-label {
        font-size: 9.5px;
    }

    .form-panel {
        min-height: 100dvh;
        padding: max(84px, calc(env(safe-area-inset-top) + 58px)) 20px max(22px, env(safe-area-inset-bottom));
        border-radius: 0;
    }

    .mobile-logo-wrap {
        width: 172px;
        margin-bottom: 14px;
    }

    .form-options {
        align-items: flex-start;
        gap: 10px;
    }

    .remember-option,
    .forgot-link {
        font-size: 10px;
    }

    .form-footer {
        font-size: 8.5px;
    }
}

@media (max-height: 760px) and (min-width: 761px) {
    .login-page {
        padding-block: 20px;
    }

    .login-shell {
        min-height: 640px;
    }

    .brand-panel {
        padding-top: 68px;
        padding-bottom: 28px;
    }

    .brand-mark-wrap {
        width: 250px;
        margin-bottom: 16px;
    }

    .company-mark-wrap {
        width: 232px;
    }

    .brand-content h1 {
        margin-top: 10px;
        margin-bottom: 13px;
        font-size: 34px;
    }

    .brand-company-card,
    .brand-tech-block {
        margin-top: 16px;
    }

    .form-panel {
        padding-top: 80px;
    }

    .secure-badge {
        margin-bottom: 20px;
    }

    .login-form {
        margin-top: 24px;
    }

    .form-footer {
        margin-top: 26px;
    }
}

html[data-theme="light"] {
    background: #e8dcc7;
}

html[data-theme="light"] .theme-icon-moon {
    display: none;
}

html[data-theme="light"] .theme-icon-sun {
    display: grid;
}

html[data-theme="light"] body {
    color: #2f2a24;
    background:
        radial-gradient(circle at 15% 16%, rgba(10, 120, 255, 0.08), transparent 30%),
        radial-gradient(circle at 87% 80%, rgba(38, 168, 255, 0.05), transparent 26%),
        linear-gradient(145deg, #e7d9c3 0%, #efdfc7 42%, #f5ead8 100%);
}

html[data-theme="light"] #techCanvas {
    opacity: 0.86;
}

html[data-theme="light"] .tech-grid {
    opacity: 0.31;
    background-image:
        linear-gradient(rgba(34, 122, 217, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 122, 217, 0.06) 1px, transparent 1px);
}

html[data-theme="light"] .scan-beam {
    opacity: 0.28;
    background: linear-gradient(to bottom, transparent, rgba(34, 157, 255, 0.08), rgba(70, 217, 255, 0.14), transparent);
}

html[data-theme="light"] .ambient-one {
    background: rgba(49, 135, 246, 0.14);
}

html[data-theme="light"] .ambient-two {
    background: rgba(71, 198, 255, 0.11);
}

html[data-theme="light"] .circuit {
    opacity: 0.25;
}

html[data-theme="light"] .circuit::before,
html[data-theme="light"] .circuit::after,
html[data-theme="light"] .brand-panel::before,
html[data-theme="light"] .brand-panel::after,
html[data-theme="light"] .form-panel::before {
    border-color: rgba(77, 145, 225, 0.25);
    box-shadow: 0 0 22px rgba(10, 120, 255, 0.07);
}

html[data-theme="light"] .login-shell {
    border-color: rgba(143, 122, 96, 0.22);
    background: rgba(247, 239, 227, 0.84);
    box-shadow: 0 34px 84px rgba(114, 84, 45, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .login-shell::before {
    background:
        linear-gradient(135deg, rgba(24, 139, 255, 0.07), transparent 33%),
        linear-gradient(315deg, rgba(70, 217, 255, 0.04), transparent 30%);
}

html[data-theme="light"] .powered-by,
html[data-theme="light"] .theme-toggle {
    color: #6a5945;
    border-color: rgba(143, 122, 96, 0.18);
    background: rgba(250, 244, 235, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .theme-toggle-icon {
    color: #0a78ff;
}

html[data-theme="light"] .brand-panel {
    border-right-color: rgba(143, 122, 96, 0.14);
    background:
        linear-gradient(155deg, rgba(239, 229, 213, 0.96), rgba(247, 239, 228, 0.98)),
        radial-gradient(circle at 25% 15%, rgba(17, 119, 255, 0.08), transparent 34%);
}

html[data-theme="light"] .brand-topline {
    color: #85715b;
}

html[data-theme="light"] .company-mark-wrap,
html[data-theme="light"] .mobile-logo-wrap {
    border-color: rgba(143, 122, 96, 0.18);
    background: rgba(252, 246, 239, 0.82);
}

html[data-theme="light"] .company-logo-placeholder {
    border-color: rgba(87, 154, 226, 0.24);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(235, 244, 255, 0.72));
}

html[data-theme="light"] .company-logo-placeholder strong {
    color: #0c2748;
}

html[data-theme="light"] .company-logo-placeholder small {
    color: #5b7a99;
}

html[data-theme="light"] .company-name,
html[data-theme="light"] .brand-content h1,
html[data-theme="light"] .brand-company-card strong,
html[data-theme="light"] .brand-tech-title strong,
html[data-theme="light"] .feature-item strong,
html[data-theme="light"] .form-header h2,
html[data-theme="light"] .field-group label {
    color: #3f3326;
}

html[data-theme="light"] .brand-description,
html[data-theme="light"] .brand-company-card p,
html[data-theme="light"] .brand-tech-title small,
html[data-theme="light"] .feature-item small,
html[data-theme="light"] .form-header > p:last-child,
html[data-theme="light"] .remember-option,
html[data-theme="light"] .form-footer,
html[data-theme="light"] .mobile-powered,
html[data-theme="light"] .brand-footer {
    color: #7a6957;
}

html[data-theme="light"] .brand-company-card,
html[data-theme="light"] .brand-tech-block,
html[data-theme="light"] .feature-item,
html[data-theme="light"] .secure-badge,
html[data-theme="light"] .form-alert,
html[data-theme="light"] .form-note,
html[data-theme="light"] .content-badge,
html[data-theme="light"] .brand-mini-card,
html[data-theme="light"] .brand-mini-badge {
    border-color: rgba(143, 122, 96, 0.18);
    background: rgba(250, 244, 236, 0.76);
}

html[data-theme="light"] .feature-item:hover,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus-visible {
    background: rgba(255, 248, 240, 0.96);
}

html[data-theme="light"] .feature-icon,
html[data-theme="light"] .brand-tech-logo-wrap {
    border-color: rgba(73, 176, 255, 0.19);
    background: rgba(10, 120, 255, 0.08);
}

html[data-theme="light"] .brand-footer-line,
html[data-theme="light"] .footer-dot {
    background: linear-gradient(90deg, rgba(10, 120, 255, 0.82), rgba(10, 120, 255, 0.18));
}

html[data-theme="light"] .form-panel {
    background:
        radial-gradient(circle at 90% 8%, rgba(10, 120, 255, 0.06), transparent 35%),
        linear-gradient(165deg, rgba(242, 233, 221, 0.95), rgba(250, 243, 235, 0.98));
}

html[data-theme="light"] .form-panel-glow {
    background: rgba(75, 154, 255, 0.12);
}

html[data-theme="light"] .secure-badge,
html[data-theme="light"] .content-badge {
    color: #5b4d3e;
}

html[data-theme="light"] .secure-badge-icon svg,
html[data-theme="light"] .form-alert-icon svg,
html[data-theme="light"] .feature-icon,
html[data-theme="light"] .forgot-link {
    color: #0878f4;
    fill: currentColor;
}

html[data-theme="light"] .field-icon,
html[data-theme="light"] .password-toggle {
    color: #8c7a67;
}

html[data-theme="light"] .field-control input,
html[data-theme="light"] .custom-checkbox {
    color: #3c3025;
    border-color: rgba(143, 122, 96, 0.18);
    background: rgba(252, 246, 240, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .field-control input::placeholder {
    color: #9a8874;
}

html[data-theme="light"] .field-control input:hover {
    background: rgba(255, 250, 244, 0.98);
}

html[data-theme="light"] .field-control input:focus {
    background: rgba(255, 252, 248, 1);
    box-shadow: 0 0 0 4px rgba(10, 120, 255, 0.08), 0 10px 24px rgba(114, 84, 45, 0.08);
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    #techCanvas {
        opacity: 0.35;
    }
}

html[data-theme="light"] .brand-mini-card strong {
    color: #0d2748;
}

html[data-theme="light"] .brand-mini-badge {
    color: #3374ab;
}


.company-name,
.brand-mini-card,
.brand-mini-badge {
    display: none;
}

.brand-content h1 {
    max-width: 470px;
    margin: 18px 0 14px;
}

.brand-description {
    max-width: 390px;
    font-size: 16px;
    line-height: 1.7;
}

.company-mark-wrap {
    width: min(350px, 78%);
    padding: 16px;
}

.company-mark {
    width: min(100%, 280px);
    border-radius: 28px;
    overflow: hidden;
}

@media (max-width: 760px) {
    .mobile-logo {
        border-radius: 24px;
        overflow: hidden;
    }
}

html[data-theme="light"] .powered-by-logo {
    border-radius: 8px;
}

html[data-theme="light"] .company-mark-inner {
    border-color: rgba(143, 122, 96, 0.26);
    background: linear-gradient(145deg, rgba(246, 238, 228, 0.86), rgba(239, 229, 214, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

html[data-theme="light"] .company-logo-placeholder {
    border-color: rgba(143, 122, 96, 0.24);
    background: linear-gradient(145deg, rgba(249, 241, 231, 0.92), rgba(238, 228, 214, 0.75));
}

html[data-theme="light"] .company-logo-placeholder strong {
    color: #3f3326;
}

html[data-theme="light"] .company-logo-placeholder small {
    color: #7b6957;
}


/* Página de atualização cadastral obrigatória */
.restricted-page {
    padding: 34px;
}

.restricted-shell {
    position: relative;
    width: min(980px, 100%);
    min-height: 600px;
    overflow: hidden;
    border: 1px solid rgba(108, 185, 255, 0.2);
    border-radius: var(--radius-shell);
    background: rgba(2, 10, 24, 0.69);
    box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    isolation: isolate;
}

.restricted-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(24, 139, 255, 0.12), transparent 33%),
        linear-gradient(315deg, rgba(70, 217, 255, 0.05), transparent 30%);
}

.restricted-toolbar {
    inset: 20px 22px auto 22px;
    justify-content: flex-end;
}

.restricted-card {
    display: grid;
    align-content: center;
    min-height: 600px;
    padding: 92px clamp(28px, 5vw, 58px) 48px;
}

.restricted-content {
    max-width: 760px;
}

.restricted-content h1 {
    margin: 0 0 14px;
    color: var(--olitech-white);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.restricted-lead {
    margin: 0;
    color: #a5bdd7;
    font-size: clamp(18px, 2vw, 20px);
    line-height: 1.75;
    max-width: 760px;
}

.restricted-user {
    color: #ffffff;
    font-weight: 850;
    text-transform: uppercase;
}

.restricted-notice {
    margin-top: 28px;
    max-width: 760px;
    padding: 24px 26px;
    border: 1px solid rgba(65, 171, 255, 0.22);
    border-radius: 18px;
    color: #c7e1f7;
    background: rgba(8, 63, 124, 0.24);
    font-size: 17px;
    line-height: 1.8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.restricted-lock {
    margin-top: 16px;
    color: #87a0bc;
    font-size: 13px;
    line-height: 1.6;
}

html[data-theme="light"] .restricted-shell {
    border-color: rgba(143, 122, 96, 0.22);
    background: rgba(247, 239, 227, 0.84);
    box-shadow: 0 34px 84px rgba(114, 84, 45, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .restricted-shell::before {
    background:
        linear-gradient(135deg, rgba(24, 139, 255, 0.08), transparent 33%),
        linear-gradient(315deg, rgba(70, 217, 255, 0.03), transparent 30%);
}

html[data-theme="light"] .restricted-content h1,
html[data-theme="light"] .restricted-user {
    color: #3f3326;
}

html[data-theme="light"] .restricted-lead,
html[data-theme="light"] .restricted-lock {
    color: #7a6957;
}

html[data-theme="light"] .restricted-notice {
    color: #715f4c;
    border-color: rgba(143, 122, 96, 0.18);
    background: rgba(250, 244, 236, 0.76);
}

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

    .restricted-shell {
        min-height: auto;
        border-radius: 24px;
    }

    .restricted-card {
        min-height: auto;
        padding: 88px 22px 28px;
    }

    .restricted-content h1 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .restricted-lead {
        font-size: 16px;
        line-height: 1.72;
    }

    .restricted-notice {
        padding: 18px 18px;
        font-size: 15px;
        line-height: 1.7;
    }
}

/* Ajustes V7.4.5 - atualização cadastral com ações e formulário */
.restricted-page {
    padding: 26px;
}

.restricted-shell {
    position: relative;
    width: min(980px, 100%);
    overflow: hidden;
    border: 1px solid rgba(108, 185, 255, 0.2);
    border-radius: 30px;
    background: rgba(2, 10, 24, 0.69);
    box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    isolation: isolate;
}

.restricted-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(24, 139, 255, 0.12), transparent 33%),
        linear-gradient(315deg, rgba(70, 217, 255, 0.05), transparent 30%);
}

.restricted-toolbar {
    inset: 18px 22px auto 22px;
    justify-content: flex-end;
}

.restricted-card {
    padding: 84px 30px 30px;
}

.restricted-card--compact {
    max-width: 720px;
}

.restricted-content--compact h1 {
    margin: 0 0 10px;
    color: var(--olitech-white);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.restricted-lead--compact {
    max-width: 640px;
    margin: 0;
    color: #9fb7d2;
    font-size: 15px;
    line-height: 1.72;
}

.restricted-user {
    color: #ffffff;
    font-weight: 850;
    text-transform: uppercase;
}

.restricted-notice--compact {
    max-width: 640px;
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(65, 171, 255, 0.22);
    border-radius: 16px;
    color: #c7e1f7;
    background: rgba(8, 63, 124, 0.24);
    font-size: 14px;
    line-height: 1.65;
}

.restricted-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.restricted-actions--form {
    margin-top: 26px;
}

.restricted-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    padding: 0 24px;
    text-decoration: none;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 22px;
    border: 1px solid rgba(85, 190, 255, 0.22);
    border-radius: 14px;
    color: #dcecff;
    background: rgba(6, 30, 60, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.secondary-button:hover,
.secondary-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(85, 190, 255, 0.42);
    background: rgba(8, 38, 76, 0.72);
    outline: none;
}

.restricted-lock {
    margin-top: 14px;
    color: #87a0bc;
    font-size: 12px;
    line-height: 1.6;
}

.restricted-form-card {
    max-width: 860px;
}

.restricted-content--form {
    max-width: 100%;
}

.restricted-form-title {
    margin: 10px 0 10px;
    color: var(--olitech-white);
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.restricted-form-subtitle {
    max-width: 650px;
    margin: 0 0 20px;
    color: #9fb7d2;
    font-size: 14px;
    line-height: 1.7;
}

.restricted-form-alert {
    margin-top: 0;
    margin-bottom: 18px;
}

.restricted-form {
    display: grid;
    gap: 0;
}

.restricted-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.restricted-col-span-2 {
    grid-column: span 2;
}

.field-control-compact input,
.field-control-compact select {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(100, 165, 232, 0.17);
    outline: none;
    border-radius: 14px;
    color: var(--olitech-white);
    caret-color: var(--olitech-blue-400);
    background: rgba(4, 18, 39, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    font-size: 13px;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.field-control-compact select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.field-control-compact input[readonly] {
    color: #b7cde4;
    background: rgba(5, 21, 43, 0.62);
}

.field-control-compact input:hover,
.field-control-compact select:hover {
    border-color: rgba(100, 165, 232, 0.29);
    background: rgba(5, 24, 51, 0.82);
}

.field-control-compact input:focus,
.field-control-compact select:focus {
    border-color: rgba(48, 165, 255, 0.58);
    background: rgba(5, 27, 58, 0.9);
    box-shadow: 0 0 0 4px rgba(10, 120, 255, 0.08), 0 8px 25px rgba(0, 8, 24, 0.18);
}

.field-select::before {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #76b9eb;
    border-bottom: 2px solid #76b9eb;
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}

.restricted-password-box {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(65, 171, 255, 0.18);
    border-radius: 18px;
    background: rgba(5, 31, 64, 0.34);
}

.restricted-password-head {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
}

.restricted-password-head strong {
    color: #eef8ff;
    font-size: 15px;
}

.restricted-password-head small,
.restricted-password-tip {
    color: #92acc7;
    font-size: 12px;
    line-height: 1.6;
}

html[data-theme="light"] .restricted-shell {
    border-color: rgba(143, 122, 96, 0.22);
    background: rgba(247, 239, 227, 0.84);
    box-shadow: 0 34px 84px rgba(114, 84, 45, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .restricted-shell::before {
    background:
        linear-gradient(135deg, rgba(24, 139, 255, 0.08), transparent 33%),
        linear-gradient(315deg, rgba(70, 217, 255, 0.03), transparent 30%);
}

html[data-theme="light"] .restricted-content--compact h1,
html[data-theme="light"] .restricted-form-title,
html[data-theme="light"] .restricted-user,
html[data-theme="light"] .restricted-password-head strong {
    color: #3f3326;
}

html[data-theme="light"] .restricted-lead--compact,
html[data-theme="light"] .restricted-form-subtitle,
html[data-theme="light"] .restricted-lock,
html[data-theme="light"] .restricted-password-head small,
html[data-theme="light"] .restricted-password-tip {
    color: #7a6957;
}

html[data-theme="light"] .restricted-notice--compact,
html[data-theme="light"] .restricted-password-box {
    color: #715f4c;
    border-color: rgba(143, 122, 96, 0.18);
    background: rgba(250, 244, 236, 0.76);
}

html[data-theme="light"] .secondary-button {
    color: #4f4031;
    border-color: rgba(143, 122, 96, 0.2);
    background: rgba(255, 250, 244, 0.84);
}

html[data-theme="light"] .secondary-button:hover,
html[data-theme="light"] .secondary-button:focus-visible {
    border-color: rgba(143, 122, 96, 0.34);
    background: rgba(255, 252, 248, 1);
}

html[data-theme="light"] .field-control-compact input,
html[data-theme="light"] .field-control-compact select {
    color: #3c3025;
    border-color: rgba(143, 122, 96, 0.18);
    background: rgba(252, 246, 240, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .field-control-compact input[readonly] {
    color: #6b5a49;
    background: rgba(242, 233, 221, 0.9);
}

html[data-theme="light"] .field-control-compact input:hover,
html[data-theme="light"] .field-control-compact select:hover {
    background: rgba(255, 250, 244, 0.98);
}

html[data-theme="light"] .field-control-compact input:focus,
html[data-theme="light"] .field-control-compact select:focus {
    background: rgba(255, 252, 248, 1);
    box-shadow: 0 0 0 4px rgba(10, 120, 255, 0.08), 0 10px 24px rgba(114, 84, 45, 0.08);
}

html[data-theme="light"] .field-select::before {
    border-right-color: #7d6a59;
    border-bottom-color: #7d6a59;
}

@media (max-width: 760px) {
    .restricted-page {
        padding: 16px;
    }

    .restricted-card {
        padding: 84px 20px 22px;
    }

    .restricted-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .restricted-col-span-2 {
        grid-column: span 1;
    }

    .restricted-primary-link,
    .secondary-button,
    .restricted-actions .login-button {
        width: 100%;
    }

    .restricted-actions {
        flex-direction: column;
        align-items: stretch;
    }
}


/* Ajustes V7.4.6 - centralização do comunicado e botões no canto inferior direito */
.restricted-card--compact {
    min-height: 500px;
    max-width: 100%;
    display: flex;
    align-items: stretch;
}

.restricted-content--compact {
    width: 100%;
    max-width: 760px;
    min-height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.restricted-content--compact .secure-badge {
    align-self: center;
}

.restricted-content--compact .restricted-lead--compact,
.restricted-content--compact .restricted-notice--compact {
    text-align: center;
}

.restricted-content--compact .restricted-notice--compact {
    max-width: 700px;
}

.restricted-content--compact .restricted-actions {
    width: 100%;
    margin-top: auto;
    justify-content: flex-end;
    align-items: flex-end;
    padding-top: 22px;
}

.restricted-content--compact .restricted-lock {
    width: 100%;
    margin-top: 12px;
    text-align: left;
}

@media (max-width: 760px) {
    .restricted-card--compact {
        min-height: auto;
    }

    .restricted-content--compact .restricted-actions {
        justify-content: stretch;
        align-items: stretch;
    }

    .restricted-content--compact .restricted-lock {
        text-align: center;
    }
}


/* Ajustes V7.4.7 - reorganização do comunicado */
.restricted-card--compact {
    max-width: 860px;
    min-height: auto;
    margin: 0 auto;
    padding: 86px 34px 30px;
}

.restricted-content--compact {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.restricted-content--compact .secure-badge {
    margin-bottom: 14px;
}

.restricted-content--compact h1 {
    margin: 0 0 12px;
    max-width: 720px;
}

.restricted-content--compact .restricted-lead--compact {
    max-width: 700px;
}

.restricted-content--compact .restricted-notice--compact {
    max-width: 700px;
    margin-top: 16px;
}

.restricted-footer-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-top: 22px;
}

.restricted-footer-row .restricted-lock {
    flex: 1 1 auto;
    margin: 0;
    text-align: left;
}

.restricted-footer-row .restricted-actions {
    flex: 0 0 auto;
    width: auto;
    margin-top: 0;
    padding-top: 0;
    justify-content: flex-end;
}

@media (max-width: 760px) {
    .restricted-card--compact {
        padding: 84px 20px 24px;
    }

    .restricted-footer-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .restricted-footer-row .restricted-lock {
        text-align: center;
    }

    .restricted-footer-row .restricted-actions {
        width: 100%;
    }
}


/* Ajustes V7.4.8 - remover sobra inferior e limpar comunicado */
.restricted-shell--compact {
    min-height: auto !important;
}

.restricted-shell--compact .restricted-card--compact {
    padding: 86px 34px 26px;
}

.restricted-shell--compact .restricted-content--compact {
    max-width: 760px;
}

.restricted-shell--compact .restricted-footer-row {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 24px;
}

.restricted-shell--compact .restricted-footer-row .restricted-actions {
    width: auto;
    margin: 0;
    padding: 0;
}

.restricted-shell--compact .restricted-lock {
    display: none !important;
}

@media (max-width: 760px) {
    .restricted-shell--compact .restricted-card--compact {
        padding: 84px 20px 22px;
    }

    .restricted-shell--compact .restricted-footer-row {
        justify-content: stretch;
    }

    .restricted-shell--compact .restricted-footer-row .restricted-actions {
        width: 100%;
    }
}


/* Ajustes V7.4.9 - navegação com voltar à esquerda e avançar à direita */
.restricted-shell--compact .restricted-footer-row .restricted-actions--navigation {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.secondary-button--back .button-content--back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.secondary-button--back .button-content--back svg {
    width: 18px;
    fill: currentColor;
    transition: transform var(--transition);
}

.secondary-button--back:hover .button-content--back svg,
.secondary-button--back:focus-visible .button-content--back svg {
    transform: translateX(-3px);
}

.restricted-primary-link .button-content svg {
    transform: none;
}

.restricted-primary-link:hover .button-content svg,
.restricted-primary-link:focus-visible .button-content svg {
    transform: translateX(3px);
}

@media (max-width: 760px) {
    .restricted-shell--compact .restricted-footer-row .restricted-actions--navigation {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .restricted-actions--navigation .secondary-button,
    .restricted-actions--navigation .restricted-primary-link {
        width: 100%;
    }
}

/* Ajustes V7.4.10 - formulário genérico, premium e alinhado */
.restricted-shell--form {
    width: min(1120px, 100%);
}

.restricted-shell--form .restricted-form-card {
    width: 100%;
    max-width: none;
    padding: 86px 28px 30px;
}

.restricted-shell--form .restricted-content--form {
    width: 100%;
    max-width: none;
    margin: 0;
}

.restricted-shell--form .restricted-form-title {
    margin: 0 0 8px;
    font-size: clamp(30px, 3.5vw, 42px);
}

.restricted-shell--form .restricted-form-subtitle {
    max-width: 760px;
    margin-bottom: 24px;
}

.restricted-form {
    width: 100%;
}

.profile-section-card {
    width: 100%;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid rgba(78, 174, 255, 0.18);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(9, 38, 77, 0.44), rgba(4, 20, 43, 0.34));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 16px 36px rgba(0, 7, 24, 0.12);
}

.profile-section-card:first-of-type {
    margin-top: 0;
}

.profile-section-card--security {
    background:
        linear-gradient(145deg, rgba(8, 48, 94, 0.45), rgba(4, 23, 48, 0.38));
}

.profile-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(84, 178, 255, 0.13);
}

.profile-section-heading > span:last-child {
    display: grid;
    gap: 3px;
}

.profile-section-heading strong {
    color: #eff8ff;
    font-size: 15px;
    line-height: 1.25;
}

.profile-section-heading small {
    color: #89a6c4;
    font-size: 11.5px;
    line-height: 1.45;
}

.profile-section-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(64, 177, 255, 0.22);
    border-radius: 12px;
    color: var(--olitech-blue-400);
    background: rgba(7, 76, 151, 0.22);
}

.profile-section-icon svg {
    width: 18px;
    fill: currentColor;
}

.restricted-shell--form .restricted-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.restricted-shell--form .field-group,
.restricted-shell--form .field-control,
.restricted-shell--form .field-control-compact input,
.restricted-shell--form .field-control-compact select {
    min-width: 0;
}

.restricted-actions--navigation {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
}

.restricted-actions--navigation .secondary-button,
.restricted-actions--navigation .login-button {
    min-width: 180px;
    margin: 0;
}

.restricted-actions--navigation .form-save-button {
    min-width: 330px;
}

.restricted-actions--navigation .button-content svg {
    width: 18px;
}

.restricted-actions--navigation .form-back-button:hover .button-content svg {
    transform: translateX(-3px);
}

html[data-theme="light"] .profile-section-card {
    border-color: rgba(143, 122, 96, 0.17);
    background:
        linear-gradient(145deg, rgba(252, 247, 240, 0.92), rgba(242, 233, 221, 0.78));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 16px 36px rgba(105, 78, 46, 0.06);
}

html[data-theme="light"] .profile-section-heading {
    border-bottom-color: rgba(143, 122, 96, 0.14);
}

html[data-theme="light"] .profile-section-heading strong {
    color: #413326;
}

html[data-theme="light"] .profile-section-heading small {
    color: #826f5d;
}

html[data-theme="light"] .profile-section-icon {
    color: #1681f2;
    border-color: rgba(50, 143, 234, 0.18);
    background: rgba(25, 129, 236, 0.08);
}

@media (max-width: 760px) {
    .restricted-shell--form .restricted-form-card {
        padding: 82px 16px 22px;
    }

    .profile-section-card {
        padding: 16px;
        border-radius: 17px;
    }

    .restricted-shell--form .restricted-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .restricted-shell--form .restricted-col-span-2 {
        grid-column: span 1;
    }

    .restricted-actions--navigation {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .restricted-actions--navigation .secondary-button,
    .restricted-actions--navigation .login-button,
    .restricted-actions--navigation .form-save-button {
        width: 100%;
        min-width: 0;
    }
}

/* Ajustes V7.4.11 - CEP automático e telefones em linha */
.phone-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

.phone-grid .field-group,
.phone-grid .field-control,
.phone-grid input {
    min-width: 0;
}

.required-mark {
    color: var(--olitech-blue-400);
    font-weight: 900;
}

.cep-field-group {
    align-content: start;
}

.cep-control {
    position: relative;
}

.cep-control input {
    padding-right: 48px;
}

.cep-loader {
    position: absolute;
    right: 17px;
    top: 50%;
    display: none;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid rgba(83, 180, 255, 0.25);
    border-top-color: var(--olitech-blue-400);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    pointer-events: none;
}

.cep-control input.is-loading + .cep-loader {
    display: block;
}

.cep-status {
    min-height: 16px;
    color: #7896b5;
    font-size: 10.5px;
    line-height: 1.45;
}

.cep-status[data-state="loading"] {
    color: #70bfff;
}

.cep-status[data-state="success"] {
    color: #61d7ac;
}

.cep-status[data-state="warning"] {
    color: #f0bd71;
}

.cep-status[data-state="error"] {
    color: #ff8b9a;
}

.field-control-compact input[aria-invalid="true"] {
    border-color: rgba(255, 102, 120, 0.58);
    box-shadow: 0 0 0 4px rgba(255, 72, 95, 0.07);
}

html[data-theme="light"] .required-mark {
    color: #0878f4;
}

html[data-theme="light"] .cep-status {
    color: #85705c;
}

html[data-theme="light"] .cep-status[data-state="loading"] {
    color: #147cdb;
}

html[data-theme="light"] .cep-status[data-state="success"] {
    color: #2b8b67;
}

html[data-theme="light"] .cep-status[data-state="warning"] {
    color: #a56e22;
}

html[data-theme="light"] .cep-status[data-state="error"] {
    color: #c84f5f;
}

@media (max-width: 900px) {
    .phone-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Ajustes V7.4.12 - CEP bloqueado após consulta e foto de perfil */
.cep-control input {
    padding-right: 50px;
}

.cep-success-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #22a874;
    box-shadow: 0 6px 16px rgba(34, 168, 116, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.72);
    transition: opacity var(--transition), transform var(--transition);
}

.cep-success-icon svg {
    width: 14px;
    fill: currentColor;
}

.cep-success-icon.is-visible {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.cep-control input.is-loading ~ .cep-success-icon {
    opacity: 0;
}

.field-control-compact input.is-api-locked {
    color: #b9cfe4;
    border-color: rgba(76, 174, 255, 0.18);
    background:
        linear-gradient(135deg, rgba(15, 60, 109, 0.18), rgba(5, 21, 43, 0.7));
    cursor: not-allowed;
}

.field-control-compact input.is-api-locked:focus {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.profile-photo-card {
    overflow: hidden;
}

.profile-photo-content {
    position: relative;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    width: 100%;
}

.profile-photo-selector {
    position: relative;
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    border: 1px dashed rgba(67, 180, 255, 0.35);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 10%, rgba(37, 162, 255, 0.16), transparent 54%),
        rgba(5, 25, 52, 0.54);
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.profile-photo-selector:hover,
.profile-photo-selector:focus-visible,
.profile-photo-selector.is-selected {
    transform: translateY(-2px);
    border-color: rgba(67, 180, 255, 0.62);
    background:
        radial-gradient(circle at 50% 10%, rgba(37, 162, 255, 0.24), transparent 58%),
        rgba(6, 32, 67, 0.72);
    box-shadow: 0 16px 30px rgba(0, 58, 132, 0.17);
    outline: none;
}

.profile-photo-selector.is-remove-pending {
    border-color: rgba(255, 113, 130, 0.42);
    background: rgba(89, 20, 35, 0.18);
}

.profile-photo-preview {
    display: grid;
    width: 100px;
    height: 100px;
    place-items: center;
    overflow: hidden;
    border: 3px solid rgba(111, 199, 255, 0.34);
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(145deg, #0759df, #26a8ff);
    box-shadow: 0 14px 28px rgba(0, 65, 156, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-size: 34px;
    font-weight: 900;
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-camera {
    position: absolute;
    right: 12px;
    bottom: 11px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 3px solid #071a34;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(145deg, #0878f4, #26a8ff);
    box-shadow: 0 8px 16px rgba(0, 67, 160, 0.28);
}

.profile-photo-camera svg {
    width: 16px;
    fill: currentColor;
}

.profile-photo-copy {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.profile-photo-copy > strong {
    color: #eef8ff;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.profile-photo-copy p {
    max-width: 540px;
    margin: 0;
    color: #90aac5;
    font-size: 12.5px;
    line-height: 1.6;
}

.profile-photo-name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #78bff3;
    font-size: 11px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-photo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 5px;
}

.profile-photo-button,
.profile-photo-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(67, 180, 255, 0.25);
    border-radius: 11px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.profile-photo-button {
    color: #ffffff;
    background: linear-gradient(105deg, #0759df, #1ca9ff);
    box-shadow: 0 9px 20px rgba(0, 84, 218, 0.18);
}

.profile-photo-remove {
    color: #ffb5be;
    border-color: rgba(255, 108, 126, 0.22);
    background: rgba(113, 25, 43, 0.16);
}

.profile-photo-button:hover,
.profile-photo-remove:hover,
.profile-photo-button:focus-visible,
.profile-photo-remove:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.profile-photo-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

html[data-theme="light"] .cep-success-icon {
    color: #ffffff;
    background: #2a9a70;
}

html[data-theme="light"] .field-control-compact input.is-api-locked {
    color: #6e5c49;
    border-color: rgba(143, 122, 96, 0.2);
    background: linear-gradient(135deg, rgba(228, 216, 200, 0.72), rgba(242, 233, 221, 0.9));
}

html[data-theme="light"] .profile-photo-selector {
    border-color: rgba(33, 139, 230, 0.26);
    background:
        radial-gradient(circle at 50% 10%, rgba(37, 162, 255, 0.11), transparent 54%),
        rgba(250, 244, 236, 0.78);
}

html[data-theme="light"] .profile-photo-selector:hover,
html[data-theme="light"] .profile-photo-selector:focus-visible,
html[data-theme="light"] .profile-photo-selector.is-selected {
    border-color: rgba(33, 139, 230, 0.48);
    background:
        radial-gradient(circle at 50% 10%, rgba(37, 162, 255, 0.15), transparent 58%),
        rgba(255, 250, 244, 0.95);
    box-shadow: 0 16px 30px rgba(105, 78, 46, 0.08);
}

html[data-theme="light"] .profile-photo-selector.is-remove-pending {
    border-color: rgba(196, 76, 92, 0.3);
    background: rgba(255, 236, 237, 0.72);
}

html[data-theme="light"] .profile-photo-camera {
    border-color: #f6ecde;
}

html[data-theme="light"] .profile-photo-copy > strong {
    color: #413326;
}

html[data-theme="light"] .profile-photo-copy p {
    color: #806d5b;
}

html[data-theme="light"] .profile-photo-name {
    color: #1679c9;
}

html[data-theme="light"] .profile-photo-remove {
    color: #b94959;
    border-color: rgba(185, 73, 89, 0.2);
    background: rgba(255, 233, 235, 0.8);
}

@media (max-width: 760px) {
    .profile-photo-content {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .profile-photo-copy {
        justify-items: center;
    }

    .profile-photo-actions {
        justify-content: center;
    }

    .profile-photo-name {
        white-space: normal;
    }
}


/* Ajustes V7.4.13 - visibilidade de senha e padronização de caixa */
.field-control-compact input[data-uppercase],
.field-control-compact input[data-uppercase]::placeholder {
    text-transform: uppercase;
}

.field-control-compact input[data-lowercase],
.field-control-compact input[data-lowercase]::placeholder {
    text-transform: lowercase;
}

.field-control-compact select {
    text-transform: uppercase;
}

.password-control-compact input {
    padding-right: 54px;
}

.password-control-compact .cadastro-password-toggle {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.password-control-compact .cadastro-password-toggle:hover,
.password-control-compact .cadastro-password-toggle:focus-visible {
    transform: translateY(-50%);
}

/* V7.4.16 - feedback visual ao salvar e confirmação antes do acesso */
.update-status-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    background: rgba(1, 7, 18, 0.68);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 180ms ease, visibility 180ms ease;
}

.update-status-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.update-status-card {
    width: min(390px, 100%);
    padding: 30px 28px;
    border: 1px solid rgba(83, 177, 255, 0.24);
    border-radius: 22px;
    color: #eef8ff;
    background: rgba(4, 20, 42, 0.96);
    box-shadow: 0 26px 70px rgba(0, 7, 25, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    text-align: center;
}

.update-status-card h2 {
    margin: 18px 0 8px;
    font-size: 22px;
    letter-spacing: -0.035em;
}

.update-status-card p {
    margin: 0;
    color: #91aac5;
    font-size: 13px;
    line-height: 1.65;
}

.update-status-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    border: 3px solid rgba(83, 177, 255, 0.18);
    border-top-color: var(--olitech-blue-400);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.restricted-success-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 92px 34px 54px;
}

.restricted-success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.restricted-success-icon {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    margin-bottom: 18px;
    border: 1px solid rgba(55, 224, 153, 0.32);
    border-radius: 50%;
    color: #4ee3a1;
    background: rgba(31, 181, 112, 0.12);
    box-shadow: 0 0 0 10px rgba(31, 181, 112, 0.04), 0 18px 42px rgba(0, 0, 0, 0.2);
}

.restricted-success-icon svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
}

.restricted-success-content .secure-badge {
    margin-bottom: 16px;
    color: #7ee7b5;
    border-color: rgba(55, 224, 153, 0.22);
    background: rgba(31, 181, 112, 0.1);
}

.restricted-success-content h1 {
    margin: 0 0 10px;
    color: #f4fbff;
    font-size: clamp(30px, 5vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.restricted-success-content p {
    max-width: 500px;
    margin: 0;
    color: #9db5cf;
    font-size: 15px;
    line-height: 1.7;
}

.restricted-success-progress {
    width: min(320px, 100%);
    height: 5px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(86, 167, 238, 0.12);
}

.restricted-success-progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0878f4, #26a8ff, #46d9ff);
    transform-origin: left center;
    animation: success-progress 1.75s linear forwards;
}

.restricted-success-content small {
    margin-top: 10px;
    color: #6f8ca9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@keyframes success-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

html[data-theme="light"] .update-status-overlay {
    background: rgba(102, 82, 57, 0.34);
}

html[data-theme="light"] .update-status-card {
    color: #403226;
    border-color: rgba(143, 122, 96, 0.22);
    background: rgba(252, 246, 239, 0.98);
    box-shadow: 0 26px 70px rgba(102, 82, 57, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .update-status-card p {
    color: #7b6957;
}

html[data-theme="light"] .restricted-success-content h1 {
    color: #3f3326;
}

html[data-theme="light"] .restricted-success-content p,
html[data-theme="light"] .restricted-success-content small {
    color: #7a6957;
}

html[data-theme="light"] .restricted-success-icon {
    color: #15945e;
    border-color: rgba(21, 148, 94, 0.25);
    background: rgba(21, 148, 94, 0.08);
}

html[data-theme="light"] .restricted-success-content .secure-badge {
    color: #15784f;
    border-color: rgba(21, 148, 94, 0.2);
    background: rgba(21, 148, 94, 0.07);
}

@media (max-width: 760px) {
    .restricted-success-card {
        padding: 88px 22px 38px;
    }

    .restricted-success-icon {
        width: 68px;
        height: 68px;
    }

    .restricted-success-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* V7.4.17 - seletor discreto de empresa exclusivo do ambiente local */
.local-company-switcher {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
    width: min(390px, 100%);
    margin-top: 18px;
    padding: 10px 12px 9px;
    border: 1px solid rgba(78, 174, 255, 0.16);
    border-radius: 14px;
    background: rgba(5, 30, 61, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition: border-color var(--transition), background var(--transition), opacity var(--transition);
}

.local-company-switcher:focus-within {
    border-color: rgba(79, 183, 255, 0.34);
    background: rgba(6, 39, 80, 0.48);
}

.local-company-switcher.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.local-company-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.local-company-heading label {
    overflow: hidden;
    color: #9bb1ca;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.local-company-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 18px;
    padding: 2px 7px;
    border: 1px solid rgba(70, 217, 255, 0.22);
    border-radius: 999px;
    color: #8ee5ff;
    background: rgba(21, 152, 221, 0.10);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.local-company-control {
    position: relative;
    display: flex;
    align-items: center;
}

.local-company-control select {
    width: 100%;
    min-height: 40px;
    padding: 0 40px 0 39px;
    border: 1px solid rgba(104, 169, 232, 0.15);
    outline: none;
    border-radius: 11px;
    color: #d9e8f8;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(3, 17, 37, 0.70);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    cursor: pointer;
    font: inherit;
    font-size: 11.5px;
    font-weight: 650;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.local-company-control select:focus {
    border-color: rgba(60, 176, 255, 0.48);
    background: rgba(4, 25, 53, 0.86);
    box-shadow: 0 0 0 3px rgba(33, 148, 255, 0.08);
}

.local-company-control select option {
    color: #dcecff;
    background: #071b35;
}

.local-company-control select option:disabled {
    color: #607891;
}

.local-company-icon,
.local-company-chevron {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.local-company-icon {
    left: 13px;
    color: #58b7f2;
}

.local-company-chevron {
    right: 12px;
    color: #6e9ec5;
}

.local-company-icon svg {
    width: 15px;
    fill: currentColor;
}

.local-company-chevron svg {
    width: 18px;
    fill: currentColor;
}

.local-company-help {
    overflow: hidden;
    color: #637d99;
    font-size: 9.5px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.local-company-switcher + .login-form,
.local-company-switcher + .form-alert + .login-form {
    margin-top: 23px;
}

html[data-theme="light"] .local-company-switcher {
    border-color: rgba(115, 142, 172, 0.18);
    background: rgba(250, 244, 236, 0.72);
}

html[data-theme="light"] .local-company-switcher:focus-within {
    border-color: rgba(49, 139, 230, 0.30);
    background: rgba(255, 250, 244, 0.88);
}

html[data-theme="light"] .local-company-heading label,
html[data-theme="light"] .local-company-help {
    color: #806f5d;
}

html[data-theme="light"] .local-company-badge {
    border-color: rgba(18, 129, 224, 0.20);
    color: #0878d9;
    background: rgba(25, 143, 237, 0.08);
}

html[data-theme="light"] .local-company-control select {
    border-color: rgba(126, 112, 94, 0.18);
    color: #493b2d;
    background: rgba(255, 252, 247, 0.92);
}

html[data-theme="light"] .local-company-control select option {
    color: #493b2d;
    background: #fffaf3;
}

html[data-theme="light"] .local-company-icon {
    color: #1687df;
}

html[data-theme="light"] .local-company-chevron {
    color: #8b7967;
}

@media (max-width: 760px) {
    .local-company-switcher {
        width: 100%;
        margin-top: 17px;
        text-align: left;
    }
}


/* Ajustes V7.4.20 - campos pessoais obrigatórios e alertas de validação */
.form-alert--error {
    border-color: rgba(255, 92, 111, 0.42);
    color: #ffd1d7;
    background: linear-gradient(135deg, rgba(116, 20, 39, 0.52), rgba(72, 12, 27, 0.42));
    box-shadow: 0 12px 28px rgba(42, 4, 14, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.form-alert--error .form-alert-icon {
    color: #ff7f90;
}

.form-alert--error .form-alert-icon svg {
    fill: currentColor;
}

.validation-summary[hidden] {
    display: none !important;
}

.validation-summary {
    margin-bottom: 18px;
}

.field-group.has-validation-error label {
    color: #ff9aa8;
}

.field-group.has-validation-error .field-control input,
.field-group.has-validation-error .field-control select,
.field-control-compact input[aria-invalid="true"],
.field-control-compact select[aria-invalid="true"] {
    border-color: rgba(255, 82, 104, 0.78) !important;
    background: rgba(66, 11, 25, 0.34) !important;
    box-shadow: 0 0 0 4px rgba(255, 72, 95, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

.field-group.has-validation-error .field-control input:focus,
.field-group.has-validation-error .field-control select:focus {
    border-color: rgba(255, 104, 123, 0.92) !important;
    box-shadow: 0 0 0 4px rgba(255, 72, 95, 0.15), 0 8px 25px rgba(29, 2, 9, 0.24) !important;
}

html[data-theme="light"] .form-alert--error {
    border-color: rgba(204, 48, 69, 0.30);
    color: #8d1c2e;
    background: linear-gradient(135deg, rgba(255, 231, 234, 0.96), rgba(255, 241, 243, 0.94));
    box-shadow: 0 12px 28px rgba(144, 42, 57, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .form-alert--error .form-alert-icon {
    color: #c62f48;
}

html[data-theme="light"] .field-group.has-validation-error label {
    color: #b72e43;
}

html[data-theme="light"] .field-group.has-validation-error .field-control input,
html[data-theme="light"] .field-group.has-validation-error .field-control select,
html[data-theme="light"] .field-control-compact input[aria-invalid="true"],
html[data-theme="light"] .field-control-compact select[aria-invalid="true"] {
    border-color: rgba(200, 47, 70, 0.62) !important;
    background: rgba(255, 243, 245, 0.98) !important;
    box-shadow: 0 0 0 4px rgba(203, 48, 71, 0.08) !important;
}


/* Ajustes V7.4.21 - idade calculada ao lado da data de nascimento */
.identity-age-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(220px, 1.25fr);
    gap: 16px;
    min-width: 0;
}

.age-calculated-input {
    cursor: default;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.age-calculated-input:not(:placeholder-shown) {
    color: #8fd8ff !important;
}

html[data-theme="light"] .age-calculated-input:not(:placeholder-shown) {
    color: #0b72c9 !important;
}

@media (max-width: 760px) {
    .identity-age-grid {
        grid-column: span 1;
        grid-template-columns: 1fr;
        gap: 14px;
    }
}


/* Ajustes V7.4.26 - identificação da empresa na atualização cadastral */
.profile-section-heading .company-id-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 76px;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid rgba(75, 180, 255, 0.28);
    border-radius: 10px;
    color: #a9dcff;
    background: rgba(7, 75, 146, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

html[data-theme="light"] .profile-section-heading .company-id-badge {
    border-color: rgba(38, 132, 225, 0.22);
    color: #126ec5;
    background: rgba(27, 133, 239, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

@media (max-width: 520px) {
    .profile-section-heading .company-id-badge {
        min-width: 68px;
        padding: 7px 9px;
        font-size: 10px;
    }
}

/* Recuperação de senha V7.4.27 */
body.modal-open {
    overflow: hidden;
}

.password-recovery-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    background: rgba(1, 8, 20, 0.76);
    backdrop-filter: blur(14px);
    transition: opacity 180ms ease, visibility 180ms ease;
}

.password-recovery-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.password-recovery-card {
    position: relative;
    width: min(520px, 100%);
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(84, 178, 255, 0.28);
    border-radius: 24px;
    background:
        radial-gradient(circle at 95% 0%, rgba(38, 168, 255, 0.14), transparent 32%),
        linear-gradient(145deg, rgba(5, 21, 45, 0.98), rgba(3, 13, 30, 0.98));
    box-shadow: 0 34px 90px rgba(0, 5, 18, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(14px) scale(0.985);
    transition: transform 200ms ease;
}

.password-recovery-modal.is-open .password-recovery-card {
    transform: translateY(0) scale(1);
}

.password-recovery-close {
    position: absolute;
    top: 17px;
    right: 17px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(103, 178, 244, 0.2);
    border-radius: 12px;
    color: #a9bdd3;
    background: rgba(4, 17, 36, 0.72);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.password-recovery-close:hover {
    color: #ffffff;
    border-color: rgba(38, 168, 255, 0.55);
    background: rgba(10, 120, 255, 0.14);
}

.password-recovery-close svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.password-recovery-head {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding-right: 38px;
}

.password-recovery-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(56, 177, 255, 0.35);
    border-radius: 17px;
    color: #55c5ff;
    background: linear-gradient(145deg, rgba(8, 112, 235, 0.22), rgba(20, 181, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.password-recovery-icon svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.password-recovery-kicker {
    display: block;
    margin-bottom: 6px;
    color: #55c5ff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.password-recovery-head h2 {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(24px, 4vw, 31px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.password-recovery-head p {
    margin: 10px 0 0;
    color: #91a8c1;
    font-size: 13px;
    line-height: 1.6;
}

.password-recovery-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.password-recovery-fields {
    display: grid;
    gap: 8px;
}

.password-recovery-fields[hidden],
.password-recovery-submit[hidden] {
    display: none !important;
}

.password-recovery-fields label {
    color: #c9d8e9;
    font-size: 12px;
    font-weight: 750;
}

.password-recovery-control {
    position: relative;
}

.password-recovery-control > span {
    position: absolute;
    top: 50%;
    left: 16px;
    display: grid;
    place-items: center;
    color: #5fbffc;
    transform: translateY(-50%);
    pointer-events: none;
}

.password-recovery-control svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.password-recovery-control input {
    width: 100%;
    height: 54px;
    padding: 0 16px 0 48px;
    border: 1px solid rgba(100, 165, 232, 0.25);
    border-radius: 14px;
    outline: 0;
    color: #f7fbff;
    background: rgba(2, 12, 28, 0.76);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.password-recovery-control input::placeholder {
    color: #647b96;
}

.password-recovery-control input:focus {
    border-color: #26a8ff;
    box-shadow: 0 0 0 4px rgba(10, 120, 255, 0.11);
    background: rgba(3, 16, 36, 0.9);
}

.password-recovery-hint {
    display: flex;
    gap: 7px;
    align-items: center;
    color: #718aa5;
    font-size: 11px;
    line-height: 1.45;
}

.password-recovery-hint svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    fill: #43baff;
}

.password-recovery-status {
    display: none;
}

.password-recovery-status.is-visible {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 15px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.55;
}

.password-recovery-status.is-error {
    color: #ffd1d7;
    border: 1px solid rgba(255, 82, 105, 0.42);
    background: rgba(255, 55, 80, 0.1);
}

.password-recovery-status.is-success {
    color: #c9f9df;
    border: 1px solid rgba(37, 211, 128, 0.34);
    background: rgba(18, 153, 90, 0.1);
}

.password-recovery-success-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #53e69c;
    background: rgba(25, 190, 111, 0.14);
}

.password-recovery-success-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.password-recovery-success-copy {
    display: grid;
    gap: 3px;
}

.password-recovery-success-copy strong {
    color: #eafff3;
    font-size: 13px;
}

.password-recovery-success-copy small {
    color: #8cdcb5;
}

.password-recovery-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.password-recovery-back,
.password-recovery-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 17px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), background var(--transition), opacity var(--transition);
}

.password-recovery-back {
    color: #a9bdd3;
    border: 1px solid rgba(100, 165, 232, 0.24);
    background: rgba(4, 17, 36, 0.58);
}

.password-recovery-submit {
    min-width: 218px;
    color: #ffffff;
    background: linear-gradient(102deg, #0645b0, #0878f4 55%, #1ca9ff);
    box-shadow: 0 13px 30px rgba(3, 97, 235, 0.24);
}

.password-recovery-back:hover,
.password-recovery-submit:hover:not(:disabled) {
    transform: translateY(-1px);
}

.password-recovery-back svg,
.password-recovery-submit svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.password-recovery-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

.password-recovery-submit.is-loading svg {
    animation: recovery-arrow-pulse 800ms ease-in-out infinite alternate;
}

@keyframes recovery-arrow-pulse {
    from { transform: translateX(-2px); opacity: 0.45; }
    to { transform: translateX(2px); opacity: 1; }
}

html[data-theme="light"] .password-recovery-modal {
    background: rgba(45, 54, 65, 0.42);
}

html[data-theme="light"] .password-recovery-card {
    border-color: rgba(116, 91, 54, 0.18);
    background:
        radial-gradient(circle at 95% 0%, rgba(30, 137, 239, 0.1), transparent 34%),
        linear-gradient(145deg, rgba(251, 247, 239, 0.99), rgba(244, 237, 225, 0.99));
    box-shadow: 0 30px 80px rgba(78, 58, 30, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .password-recovery-close {
    color: #6d6255;
    border-color: rgba(98, 78, 52, 0.16);
    background: rgba(255, 255, 255, 0.52);
}

html[data-theme="light"] .password-recovery-head h2 {
    color: #433629;
}

html[data-theme="light"] .password-recovery-head p,
html[data-theme="light"] .password-recovery-hint {
    color: #796d60;
}

html[data-theme="light"] .password-recovery-fields label {
    color: #4b4035;
}

html[data-theme="light"] .password-recovery-control input {
    color: #45392e;
    border-color: rgba(116, 91, 54, 0.2);
    background: rgba(255, 252, 247, 0.76);
}

html[data-theme="light"] .password-recovery-control input::placeholder {
    color: #9b8e80;
}

html[data-theme="light"] .password-recovery-control input:focus {
    border-color: #1789ef;
    background: #fffdf9;
}

html[data-theme="light"] .password-recovery-back {
    color: #594d41;
    border-color: rgba(106, 83, 57, 0.2);
    background: rgba(255, 255, 255, 0.54);
}

html[data-theme="light"] .password-recovery-status.is-error {
    color: #8f2433;
    border-color: rgba(198, 44, 67, 0.28);
    background: rgba(219, 52, 76, 0.08);
}

html[data-theme="light"] .password-recovery-status.is-success {
    color: #176d45;
    border-color: rgba(29, 153, 91, 0.24);
    background: rgba(27, 165, 94, 0.08);
}

html[data-theme="light"] .password-recovery-success-copy strong {
    color: #155a3b;
}

@media (max-width: 600px) {
    .password-recovery-modal {
        padding: 14px;
    }

    .password-recovery-card {
        padding: 24px 19px 20px;
        border-radius: 20px;
    }

    .password-recovery-head {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
        padding-right: 32px;
    }

    .password-recovery-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .password-recovery-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .password-recovery-back,
    .password-recovery-submit {
        width: 100%;
    }
}


/* =========================================================
   V7.4.29 - formulário de login mais compacto
   - reduz o espaço vazio entre login, senha e opções
   - mantém a área de erro somente quando houver mensagem
   ========================================================= */
.login-form {
    gap: 13px;
}

.login-form .field-group {
    gap: 6px;
}

.login-form .field-error:empty {
    display: none;
    min-height: 0;
    margin: 0;
}

.login-form .field-error:not(:empty) {
    display: block;
    min-height: 12px;
    margin-top: 1px;
}

.login-form .form-options {
    margin-top: 1px;
}

@media (max-width: 760px) {
    .login-form {
        gap: 12px;
    }
}


@media (max-width: 420px) {
    .mobile-powered-logo {
        width: 34px;
        height: 22px;
        flex-basis: 34px;
    }
}

/* OLITECH V50 — campos de login e atualização cadastral com 15px */
.login-page input:not([type="hidden"]),
.login-page select,
.login-page textarea,
body input:not([type="hidden"]),
body select,
body textarea,
.form-control,
.form-select,
.select2-container .select2-selection__rendered,
.select2-container .select2-search__field,
select option,
.select2-container--open .select2-results__option {
    font-size: 15px !important;
}

input::placeholder,
textarea::placeholder,
.form-control::placeholder {
    font-size: 15px !important;
}

/* V78 — tipografia mais limpa e moderna nos botões de acesso e validação */
:root {
    --olitech-action-font: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.login-button,
.login-button .button-content,
.login-button .button-loading,
.secondary-button,
.restricted-primary-link,
.form-save-button,
.form-back-button {
    font-family: var(--olitech-action-font);
    font-weight: 700;
    letter-spacing: 0.012em;
}

.login-button .button-content {
    font-size: 13px;
}

.login-button .button-loading {
    font-size: 12.5px;
}

.secondary-button,
.restricted-primary-link,
.form-save-button,
.form-back-button {
    font-size: 13px;
}


/* V83 — confirmação segura da redefinição por link */
.form-alert--success{color:#bff5dd;border-color:rgba(44,190,132,.24);background:rgba(12,105,73,.18)}
.form-alert--success .form-alert-icon{color:#5ee0a7;background:rgba(21,151,103,.15)}
.form-alert--success .form-alert-icon svg{fill:currentColor}
html[data-theme="light"] .form-alert--success{color:#176d50;border-color:rgba(24,137,96,.2);background:#eaf9f2}
html[data-theme="light"] .form-alert--success .form-alert-icon{color:#188960;background:rgba(24,137,96,.1)}
