/* Estilos exclusivos da tela de acesso ao PAINEL GZ Cloud. */
body.login-page {
    margin: 0;
    padding: 0;
    min-width: 320px;
    background: #fff;
    color: #082c49;
    font-family: "Source Sans Pro", "Segoe UI", sans-serif;
}

.login-page * { box-sizing: border-box; }
.login-layout { display: flex; min-height: 100vh; }
.login-brand-panel {
    position: relative;
    flex: 0 0 54%;
    min-height: 100vh;
    overflow: hidden;
    background: #fff;
}
/* Exibe o video completo sem recortar logotipos ou textos. */
.login-panel-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.login-access-panel {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 64px clamp(32px, 5vw, 88px) 32px;
}
.login-form { width: 100%; max-width: 480px; margin: auto; }
.login-page [hidden] { display: none !important; }
.login-back { margin: 24px 0 0; text-align: center; }
.login-back .fa { margin-right: 8px; }
.login-messages { margin: 0 0 20px; padding: 0; list-style: none; }
.login-messages:empty { display: none; }
.login-messages li { padding: 12px 16px; border-radius: 8px; }
.login-message-error { background: #fff0f0; color: #a12626; }
.login-message-info { background: #e8f4ee; color: #1c6240; }
.login-submit:disabled { opacity: 0.65; cursor: wait; }
.login-mobile-brand { display: none; }
.login-eyebrow {
    margin: 0 0 14px;
    color: #62788d;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}
.login-form h2 {
    margin: 0 0 10px;
    color: #082c49;
    font-size: clamp(28px, 2.8vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.8px;
}
.login-intro { margin-bottom: 36px; color: #62788d; font-size: 18px; }
.login-field { margin-bottom: 22px; }
.login-field label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.login-page .login-input {
    display: block;
    width: 100%;
    height: 56px;
    padding: 14px 16px;
    border: 1px solid #a4b4c3;
    border-radius: 10px;
    background: #fff;
    color: #082c49;
    box-shadow: none;
    font: inherit;
    font-size: 17px;
}
.login-input::placeholder { color: #6d8092; opacity: 1; }
.login-password { position: relative; }
.login-page .login-password .login-input { padding-right: 60px; }
.login-password-toggle {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #62788d;
    cursor: pointer;
    font-size: 19px;
}
.login-password-toggle:hover { background: #edf3f8; }
.login-help { margin: -4px 0 28px; text-align: right; }
.login-page a { color: #0054b8; font-weight: 600; }
.login-page a:hover { color: #003d89; text-decoration: underline; }
.login-page .login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 56px;
    padding: 14px 20px;
    border: 0;
    border-radius: 10px;
    background: #0649a9;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 20px;
    font-weight: 600;
    transition: background 150ms ease;
}
.login-page .login-submit:hover { background: #003b8d; }
.login-page :focus-visible { outline: 3px solid #2584da; outline-offset: 3px; }
.login-page .login-input:focus { border-color: #2584da; outline: 3px solid #2584da33; }
.login-activation {
    margin: 36px 0 0;
    padding-top: 24px;
    border-top: 1px solid #ccd5de;
    text-align: center;
    font-size: 16px;
}
.login-activation a { display: inline-block; margin-left: 8px; }
.login-website { margin: 16px 0 0; text-align: center; font-size: 15px; }
.login-website a { display: inline-block; overflow-wrap: anywhere; }
.login-website .fa { margin-left: 4px; font-size: 12px; }
.login-error { display: block; margin-bottom: 18px; color: #a12626; font-size: 16px; }
.login-error:empty { display: none; }
/* Libera a segunda linha do rodape, limitada pelo estilo geral de footer. */
.login-footer {
    flex-shrink: 0;
    height: auto;
    margin: 48px 0 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color: #62788d;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
}
.login-copyright { margin-top: 8px; line-height: 1.5; }

@media (max-width: 1000px) {
    .login-brand-panel { flex-basis: 46%; }
}

@media (max-width: 760px) {
    .login-brand-panel { display: none; }
    .login-access-panel { min-height: 100vh; padding: 32px 24px 24px; }
    .login-mobile-brand { display: block; width: 180px; height: auto; margin-bottom: 36px; }
    .login-form h2 { font-size: 32px; }
    .login-intro { margin-bottom: 28px; }
    .login-footer { margin-top: 36px; }
}
