﻿* {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    font-family: 'Work Sans', sans-serif !important;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
}

.full-container {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100vw !important;
    height: 100vh !important;
}

.full-card {
    width: 100% !important;
    max-width: 420px !important;
    height: 100vh !important;
    border-radius: 25px 0 0 25px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: rgba(24, 19, 63, 0.55) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

h2 {
    font-weight: 600 !important;
    font-size: 24px !important;
}

.form-control, .btn {
    border-radius: 50px !important;
}

.form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1) !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    background-color: #fff !important;
    color: #333 !important;
    border: none !important;
}

.input-group {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
}

    .input-group .form-control {
        padding-right: 40px !important;
    }

    .input-group .btn {
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        z-index: 10 !important;
        background: transparent !important;
        border: none !important;
        font-size: 1.2rem !important;
        color: #da0662 !important;
    }

.btn-outline-secondary:hover {
    background-color: transparent !important;
    border-color: transparent !important;
}

#btnlogin_entrar {
    background: linear-gradient(to right, #da0662, #ff267e) !important;
    border: none !important;
    color: #fff !important;
    font-size: 1rem !important;
    padding: 12px !important;
    border-radius: 30px !important;
    transition: background 0.3s ease !important;
}

    #btnlogin_entrar:hover {
        background: linear-gradient(to right, #c90558, #e3246d) !important;
    }

#btnAlterarSenha {
    font-size: 0.9rem !important;
    color: #7aaaff !important;
    text-decoration: none !important;
}

    #btnAlterarSenha:hover {
        text-decoration: underline !important;
    }

.logo {
    margin-bottom:50px !important;
    animation: spin 25s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#supersized {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    inset: 0 !important;
    z-index: -9999 !important;
    overflow: hidden !important;
}

    #supersized img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        min-width: 100% !important;
        min-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: cover !important;
    }

/* Responsividade */
@media (max-width: 768px) {
    .full-container {
        justify-content: center !important;
        padding: 10px !important;
    }

    .full-card {
        border-radius: 25px !important;
        width: 100% !important;
        max-width: 90vw !important;
        padding: 20px !important;
    }

    .input-group .btn {
        right: 8px !important;
        width: 28px !important;
        height: 28px !important;
    }

    .input-group .form-control {
        padding-right: 38px !important;
    }
}
@font-face {
    font-family: "Font Awesome 5 Free";
    src: url("../webfonts/fa-solid-900.woff2") format("woff2");
}
.fas.fa-eye::before {
    content: "\f06e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    color: #da0662;
}

.fas {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-size: 20px !important;
    display: inline-block !important;
    color: #da0662 !important;
}
.login-interno-panel {
    max-width: 600px !important;
    width: 90vw !important;
    margin: 0 auto !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    padding: 35px !important;
    color: #18133f !important;
}


    .login-interno-panel h2,
    .login-interno-panel .title {
        font-size: 1.6rem !important;
        font-weight: 600 !important;
        color: #da0662 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .login-interno-panel .form-control {
        border-radius: 30px !important;
        height: 45px !important;
        padding: 10px 15px !important;
        font-size: 1rem !important;
        margin-bottom: 20px !important;
        background-color: #fff !important;
        color: #333 !important;
        border: none !important;
    }

    .login-interno-panel .btn {
        padding: 10px 30px !important;
        border-radius: 30px !important;
        font-size: 1rem !important;
    }

    .login-interno-panel .btn-primary {
        background-color: #da0662 !important;
        border: none !important;
        color: #fff !important;
    }

    .login-interno-panel .btn-secondary {
        background-color: #6c757d !important;
        border: none !important;
        color: #fff !important;
    }
.login-interno-card {
    width: 100% !important;
    max-width: 480px !important;
    padding: 50px 40px !important;
    border-radius: 30px !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
/* ==========================
   Orvyx Login – estilo vítreo e responsivo
   ========================== */

/* Paleta e tokens */
:root {
    --orvyx-primary: #18133f; /* Roxo Orvyx */
    --orvyx-accent: #da0662; /* Rosa Orvyx */
    --surface-glass: rgba(255,255,255,.08);
    --surface-glass-2: rgba(255,255,255,.12);
    --border-glass: rgba(255,255,255,.18);
    --text: #eef2f7;
    --muted: #a7b0c0;
}

/* Reset básico e tipografia */
* {
    box-sizing: border-box
}

html, body {
    height: 100%;
    margin: 0;
    font-family: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
   
}

/* Container geral */
.page-container {
    min-height: 100dvh;
    padding: clamp(16px, 3vw, 32px);
    display: grid;
    place-items: center;
    gap: clamp(16px, 3vw, 24px);
}

/* Logo */
.logoLogin {
    width: clamp(140px, 24vw, 220px);
    height: auto;
    display: block;
    margin-inline: auto;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}

/* Card vítreo */
.boxLogin {
    width: min(100%, 440px);
    padding: clamp(22px, 4vw, 32px);
    border-radius: 24px;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    box-shadow: 0 12px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

    /* Textos auxiliares */
    .boxLogin span {
        display: block;
        margin-bottom: 8px;
        color: var(--muted);
        font-size: .95rem;
    }

/* Mensagens */
.loginError {
    display: block;
    margin: 6px 0 12px;
    padding: 10px 12px;
    border-left: 3px solid var(--orvyx-accent);
    background: rgba(218,6,98,.08);
    color: #ffd9e8;
    border-radius: 10px;
    line-height: 1.35;
}

/* Aviso CapsLock */
#divMayus {
    margin-top: 6px;
    padding: 8px 10px;
    border-left: 3px solid #f7b733;
    background: rgba(247,183,51,.12);
    color: #fff5d6;
    border-radius: 10px;
}

/* Inputs (TextBox com CssClass="password") */
.password {
    width: 100%;
    display: block;
    margin-top: 10px;
    padding: 14px 14px;
    font-size: 1rem;
    color: var(--text);
    background: var(--surface-glass-2);
    border: 1px solid transparent;
    border-radius: 14px;
    outline: none;
    transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

    .password::placeholder {
        color: #c9cfe0;
        opacity: .75;
    }

    .password:focus {
        border-color: rgba(218,6,98,.6);
        box-shadow: 0 0 0 4px rgba(218,6,98,.18), 0 8px 20px rgba(0,0,0,.25);
        background: rgba(255,255,255,.14);
    }

/* Botões */
.loginButton,
.simpleButtonGray {
    appearance: none;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px !important;
    padding: 12px 16px;
    font-weight: 600;
    letter-spacing: .2px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease;
}

/* Primário (Alterar) */
.loginButton {
    background: linear-gradient(135deg, var(--orvyx-accent), #ff2f8f);
    color: white;
    box-shadow: 0 8px 24px rgba(218,6,98,.35);
}

    .loginButton:hover {
        box-shadow: 0 10px 28px rgba(218,6,98,.45);
        transform: translateY(-1px);
    }

    .loginButton:active {
        transform: translateY(0);
    }

/* Secundários (Limpar / Voltar) */
.simpleButtonGray {
    background: rgba(255,255,255,.06);
    color: var(--text);
    border-color: rgba(255,255,255,.14);
}

    .simpleButtonGray:hover {
        background: rgba(255,255,255,.12);
    }

    .simpleButtonGray:active {
        transform: translateY(0);
    }

    /* Acessibilidade de foco (teclado) */
    .loginButton:focus-visible,
    .simpleButtonGray:focus-visible,
    .password:focus-visible {
        outline: 3px solid rgba(218,6,98,.45);
        outline-offset: 2px;
    }

/* UpdateProgress – overlay de carregamento */
.page-container .progress {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(10,8,32,.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
}

    .page-container .progress img {
        display: block;
        width: 36px;
        height: 36px;
        margin-inline: auto;
        filter: drop-shadow(0 6px 14px rgba(0,0,0,.4));
    }

    .page-container .progress span {
        display: block;
        margin-top: 10px;
        font-weight: 600;
        color: #ffffff;
        text-shadow: 0 1px 2px rgba(0,0,0,.35);
    }

/* Responsividade */
@media (max-width: 480px) {
    .boxLogin {
        padding: 18px;
        border-radius: 18px;
    }

    .password {
        padding: 12px 12px;
        font-size: .98rem;
    }

    .loginButton, .simpleButtonGray {
        padding: 11px 14px;
    }
}

/* Preferência do usuário: reduzir animações */
@media (prefers-reduced-motion: reduce) {
    .loginButton, .simpleButtonGray, .password {
        transition: none;
    }
}
/* ===== PATCH ORVYX – visibilidade/centro/contraste ===== */

/* Centralização dura (fallback) */
.page-container {
    display: grid !important;
    place-items: center !important;
    min-height: 100dvh;
    padding-inline: clamp(16px, 3vw, 40px);
}

@supports not (place-items: center) {
    .page-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Card sempre centralizado */
.boxLogin {
    width: min(100%, 460px) !important;
    margin-inline: auto !important;
    padding: clamp(20px, 3.6vw, 32px) !important;
    border-radius: 22px !important;
}

/* Campos: dar corpo, borda e separar melhor (seu placeholder parecia “solto”) */
.password {
    margin-top: 10px !important;
    padding: 14px 14px !important;
    background: rgba(255,255,255,.16) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 6px 18px rgba(0,0,0,.25) !important;
}

    .password::placeholder {
        color: #d6dbeb !important;
        opacity: .9 !important;
    }

    .password:focus {
        border-color: rgba(218,6,98,.8) !important;
        box-shadow: 0 0 0 4px rgba(218,6,98,.18), inset 0 1px 0 rgba(255,255,255,.08), 0 8px 22px rgba(0,0,0,.28) !important;
        background: rgba(255,255,255,.20) !important;
    }

/* Botão primário: manter pill e dar altura */
.loginButton {
    height: 46px !important;
    font-size: 1rem !important;
    border-radius: 999px !important;
}

/* Botões cinza: mais contraste (não parecer “desabilitado”) */
.simpleButtonGray {
    height: 42px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    color: #f3f6ff !important;
    opacity: 1 !important;
}

    .simpleButtonGray:hover {
        background: rgba(255,255,255,.16) !important;
    }

/* Texto com leve sombra para legibilidade sobre o fundo */
.boxLogin span,
.loginError {
    text-shadow: 0 1px 2px rgba(0,0,0,.45) !important;
}

/* Espaçamento da logo */
.logoLogin {
    margin-top: clamp(8px, 2.4vw, 20px) !important;
}
/* velocidade do giro (ajuste se quiser) */
:root {
    --logo-spin-dur: 12s;
}

/* spin contínuo no logo */
.logoLogin {
   
    animation: orvyx-spin var(--logo-spin-dur) linear infinite;
    transform-origin: center center;
    will-change: transform;
}

/* keyframes do giro */
@keyframes orvyx-spin {
    to {
        transform: rotate(360deg);
    }
}

/* acessibilidade: respeitar usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    .logoLogin {
        animation: none;
    }
}

/* opcional: pausar quando passar o mouse */
.logoLogin:hover {
    animation-play-state: paused;
}
