/* CSS - Login - Novo Layout */

/* Remove o fundo amarelo do autocomplete do Chrome */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    /* Troque 'white' pela cor de fundo do seu formulário */
    -webkit-box-shadow: 0 0 0 30px white inset !important;

    /* Troque 'black' pela cor da fonte desejada */
    -webkit-text-fill-color: black !important;

    /* Mantém a borda original, se necessário */
    transition: background-color 5000s ease-in-out 0s;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: #3d3d3d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Container principal do login */
.bootstrap-scope .login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

/* Card do login */
.bootstrap-scope .login-card {
    background: #4a4a4a;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 1100px;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.bootstrap-scope .login-card .row {
    margin: 0;
}

/* Painel esquerdo - Imagem */
.bootstrap-scope .login-left-panel {
    background-color: #13243d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
}

.bootstrap-scope .login-image-wrapper {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bootstrap-scope .login-placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.bootstrap-scope .login-placeholder-image svg,
.bootstrap-scope .login-placeholder-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Painel direito - Formulário */
.bootstrap-scope .login-right-panel {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 40px 50px;
    height: 100%;
    position: relative;
    /*border-right: 20px solid #385a6f;*/
}

/*.bootstrap-scope .login-right-panel::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 20px;*/
/*    background: linear-gradient(to right, #13243d 0%, #385a6f 100%);*/
/*    z-index: 10;*/
/*}*/

/*.bootstrap-scope .login-right-panel::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 20px;*/
/*    background: linear-gradient(to right, #13243d 0%, #385a6f 100%);*/
/*    z-index: 10;*/
/*}*/

.bootstrap-scope .login-form-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* Logo */
.bootstrap-scope .login-logo {
    margin-bottom: 65px;
}

.bootstrap-scope .login-logo h2 {
    font-size: 36px;
    font-weight: 400;
    color: #2d2d2d;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.5px;
}

/* Mensagem de boas-vindas */
.bootstrap-scope .login-welcome {
    margin-bottom: 35px;
}

.bootstrap-scope .login-welcome p {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

/* Formulário */
.bootstrap-scope .login-form {
    width: 100%;
}

.bootstrap-scope .login-form .form-label {
    color: #999999;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

.bootstrap-scope .login-form .login-input {
    height: 45px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 8px 0;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    background-color: transparent;
    color: #333333;
	box-shadow: none;
    outline: none;
    background-color: transparent;
}

.bootstrap-scope .login-form .login-input:focus {
    border-bottom-color: #0e1650;
    box-shadow: none;
    outline: none;
    background-color: transparent;
}

/* Campo de senha com botão de visualização */
.bootstrap-scope .password-input-wrapper {
    position: relative;
}

.bootstrap-scope .password-input-wrapper .login-input {
    padding-right: 45px;
}

.bootstrap-scope .show-password-btn {
    position: absolute;
    right: 0;
    bottom: 8px;
    background: none;
    border: none;
    color: #999999;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 16px;
    transition: color 0.2s ease;
}

.bootstrap-scope .show-password-btn:hover {
    color: #4db8a4;
}

.bootstrap-scope .show-password-btn:focus {
    outline: none;
}

/* Link esqueci senha */
.bootstrap-scope .forgot-password-link {
    color: #13243d;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bootstrap-scope .forgot-password-link:hover {
    color: #000000;
    text-decoration: underline;
}

/* Botão de login */
.bootstrap-scope .btn-login {
    background: #2d2d2d;
    color: #ffffff;
    border: none;
    height: 52px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bootstrap-scope .btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.bootstrap-scope .btn-login:hover {
    background: #4a4a4a;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bootstrap-scope .btn-login:hover::before {
    left: 100%;
}

.bootstrap-scope .btn-login:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Ajuste de espaçamento entre campos */
.bootstrap-scope .login-form .mb-3 {
    margin-bottom: 1.5rem !important;
}

/* Mensagem de erro */
.bootstrap-scope .login-error {
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Mensagem de informação/sucesso */
.bootstrap-scope .login-message {
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Responsividade */
@media (max-width: 768px) {
    .bootstrap-scope .login-container {
        padding: 20px;
    }

    .bootstrap-scope .login-card {
        max-width: 100%;
        height: auto;
        border-radius: 0;
    }

    .bootstrap-scope .login-left-panel {
        display: none;
        background-color: #13243d;
    }

    .bootstrap-scope .login-right-panel {
        padding: 30px 20px;
        height: auto;
    }

    .bootstrap-scope .login-form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .bootstrap-scope .login-logo h2 {
        font-size: 28px;
    }

    .bootstrap-scope .login-form .login-input {
        height: 48px;
        font-size: 14px;
    }

    .bootstrap-scope .btn-login {
        height: 48px;
        font-size: 15px;
    }
}