/* Estilos para a página de login */
#MainContent {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

body {
    background-color: #323537 !important;
    font-family: 'Montserrat', Arial, sans-serif;
}

/* Estilos para o background animado */
#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../Images/svg/login/background_dashboard_timetrack.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* 90% transparente */
    z-index: -3;
}

/* Overlay violeta */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(45, 36, 93, 0.15);
    z-index: -2;
}

#left-img, #right-img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    opacity: 0.2;
    animation: zoomFast 2s ease-in-out infinite alternate;
    z-index: 1;
}

#left-img {
    left: 60px;
}

#right-img {
    right: 60px;
}

@keyframes zoomFast {
    0% { transform: translateY(-50%) scale(1); }
    100% { transform: translateY(-50%) scale(1.1); }
}

@keyframes pulseCorner {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.login_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: transparent;
    padding: 20px;
    position: relative;
    z-index: 10;
    font-family: 'Montserrat', Arial, sans-serif;
}

/* Estilos para a animação de background */
.login-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.corner {
    stroke: #00ff00;
    stroke-width: 3;
    fill: none;
    transform-origin: center;
    animation: pulseCorner 1.2s ease-in-out infinite alternate;
}

.point {
    fill: white;
    r: 3;
    filter: url(#glow);
}

.line {
    stroke: white;
    stroke-width: 1.5;
    opacity: 0.8;
}

.scan-line {
    stroke: rgba(0, 255, 0, 0.2);
    stroke-width: 2;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

body {
    margin: 0;
    background-color: #323537;
    overflow: hidden;
}

.login_logo {
    margin-bottom: 0;
    text-align: center;
    background-color: #ef3f32;
    padding: 20px 0;
    width: 100%;
    max-width: 470px;
    border-radius: 0;
    display: flex;
    justify-content: center;
}

.login_logo img {
    width: 260px;
    height: auto;
}

.login_form_container {
    background-color: #ffffff;
    border-radius: 0 0 20px 20px;
    width: 100%;
    max-width: 470px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login_form {
    padding: 30px 30px 30px 30px;
}

.login_field {
    position: relative;
    margin-bottom: 30px;
    padding-top: 10px;
}

/* Todos os campos de entrada precisam ter as mesmas dimensões */
.login_input input, 
.login_input .dxeEditArea {
    height: auto !important;
    padding: 0 0 0 5px !important;
    margin: 0 !important;
    font-size: 18px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    border-radius: 0 !important;
}

/* Estilos para os campos de texto */
.login_input {
    width: 100% !important;
    padding: 12px 15px 12px 45px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 20px !important;
    font-size: 18px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    transition: border-color 0.3s ease;
    height: auto !important;
    box-sizing: border-box !important;
}

/* Estilo para alterar o símbolo da password para ponto */
.dxeEditArea_PortalCompact,
input.password-field-asterisk {
    box-sizing: border-box !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 18px !important;
}

/* Classe especial para mostrar asterisco */
.password-field-asterisk {
    -webkit-text-security: none !important;
    text-security: none !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    letter-spacing: normal !important;
    font-size: 18px !important;
    line-height: normal !important;
}

.password-field-asterisk::-ms-reveal {
    display: none !important;
}

/* Definir o caractere de substituição como asterisco */
.password-field-asterisk::placeholder {
    opacity: 0 !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.password-field-asterisk {
    font-size: 18px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    padding: 12px 15px 12px 45px !important;
    height: auto !important;
}

/* Suporte especial para navegadores que usam -webkit-text-security */
@supports (-webkit-text-security: asterisk) or (text-security: asterisk) {
    .password-field-asterisk {
        -webkit-text-security: asterisk !important;
        text-security: asterisk !important;
    }
}

/* Estilo para o floating label */
.floating-label {
    position: absolute;
    left: 40px;
    top: 0;
    background-color: white;
    padding: 0 5px;
    font-size: 12px;
    color: #666;
    z-index: 2;
    transition: all 0.2s ease;
}

.login_field.has-floating-label .dxeTextBox {
    margin-top: 10px;
}

/* Classe para quando o input tem texto */
.has-text {
    display: block !important;
}

.dxeTextBox {
    background: transparent !important;
}

/* Ocultar o placeholder padrão */
.dxeNullText {
    color: #999 !important;
}

.login_icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-35%);
    width: 24px !important;
    height: 24px !important;
    z-index: 1;
}

/* Botão para mostrar/ocultar senha */
.password_toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-35%);
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 3;
}

.password_toggle img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.password_toggle:hover img {
    opacity: 1;
}

.login_input:focus {
    border-color: #ef3f32 !important;
    outline: none !important;
}

.login_input input {
    border-radius: 20px !important;
}

.login_checkbox {
    margin-bottom: 20px;
}

.login_checkbox_input {
    margin-right: 8px;
}

.login_button {
    margin: 30px 0;
}

.login_submit {
    width: 100% !important;
    padding: 15px !important;
    background-color: #323537 !important;
    color: white !important;
    border: none !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    text-transform: uppercase !important;
}

.login_submit:hover {
    background-color: #242729 !important;
}

.login_link {
    text-align: center;
}

.login_link a {
    color: #323537;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Montserrat-Regular';
}

.login_link a:hover {
    text-decoration: underline;
}

.login_separator {
    height: 5px;
    background-color: #f2f2f2;
    margin: 0;
    width: 85%;
    margin: 0 auto;
}

.login_languages {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.login_languages a {
    margin: 0 10px;
}

.login_languages img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.login_languages img:hover {
    transform: scale(1.1);
}

.login_copyright {
    text-align: center;
    padding: 15px 0;
    color: #323537;
    font-size: 12px;
}

/* Estilos para títulos nas páginas de configuração */
.login_title {
    font-size: 22px;
    font-weight: bold;
    color: #323537;
    margin-bottom: 10px;
    display: block;
}

.login_subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    display: block;
}

/* Responsividade */
@media (max-width: 480px) {
    .login_form_container {
        width: 100%;
    }
    
    .login_form {
        padding: 20px;
    }
}

/* Estilos específicos para a área de edição do DevExpress */
.dxeEditArea_PortalCompact {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: normal !important;
}

/* Para garantir que o campo de senha tenha a mesma aparência */
#txtBoxPassword1 .dxeEditArea {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: normal !important;
}

/* Estilos para página 404 */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.content .logo {
    width: 140px;
    margin-bottom: 40px;
}

.content h1 {
    font-size: 72px;
    margin: 0;
    font-weight: 700;
    color: #fff;
}

.content p {
    font-size: 20px;
    font-weight: 400;
    margin: 15px 0 30px;
    color: #e0e0e0;
}

.content a {
    padding: 12px 30px;
    background-color: #89d329;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.content a:hover {
    background-color: #76b924;
} 

/* Countdown banner above login logo */
#version_info {
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
    line-height: 1.4;
    white-space: normal;
}

#version_info .countdown_highlight {
    color: #ffd630;
    font-weight: 600;
}

#version_info a.countdown_highlight {
    color: #ffd630;
    font-weight: 600;
    text-decoration: underline;
}

#version_info a.countdown_highlight:hover {
    text-decoration: underline;
} 