body {
    background-image: url('../img/bg_1.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

/* Centralização perfeita no mobile */
@media (max-width: 576px) {
    .container-fluid.min-vh-100,
    .d-flex.justify-content-center.align-items-center.min-vh-100.w-100 {
        min-height: 100dvh !important;
        height: 100dvh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    .wrapper_indent {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 8px;
        margin-right: 8px;
    }
}


/* Estilos para o container flutuante */
.wrapper_indent {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    width: 100%;
    max-width: 600px;
    max-height: 600px;
    overflow-y: auto;
    margin: 20px;
}

.wrapper_indent:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Styles for focused state of form control to emphasize user input field */
.form-control:focus {
    border-color: #7233A1 !important;
    box-shadow: none !important;
    border: 2px solid #7233A1 !important;
}

/* Estilo para input com erro */
.input-error {
    border: 1px solid #dc3545 !important;
    color: #dc3545 !important;
}

/* Estilo para o placeholder quando houver erro */
.input-error::placeholder {
    color: #dc3545 !important;
    opacity: 1 !important;
}

/* Estilo para input desabilitado */
input:disabled {
    background-color: #fff !important;
    opacity: 1 !important;
}

/* Estilos do Modal de Recuperação */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.modal-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    margin: 0 20px;
}

.modal-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 30px;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 6px;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

.modal-close i {
    font-size: 1.25rem;
    line-height: 1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.modal-body {
    padding: 20px 0;
    text-align: center;
}

.modal-body h3 {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.2rem;
    font-weight: 400;
}

.recovery-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.btn-recovery {
    background-color: #7233a1;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.btn-recovery:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.btn-recovery:not(:disabled):hover {
    background-color: #5d2a82;
}

/* Estilo para o grupo de input com botão de mostrar/ocultar senha */
.input-group {
    position: relative;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-left: none;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
}

.input-group-text:hover {
    background-color: #e9ecef;
}

/* Estilo do botão de mostrar/ocultar senha */
#togglePassword {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-left: none;
    outline: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
}

#togglePassword i {
    color: #7233a1;
    font-size: 1.2rem;
    transition: color 0.2s;
}

#togglePassword:hover i {
    color: #5d2a82;
}

#togglePassword:focus {
    box-shadow: none;
}

/* Garante que o input não tenha borda direita quando estiver com o botão */
.input-group .form-control:not(:last-child) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none;
}

/* Estilo base para o input */
.form-control {
    color: #7233a1;
    height: 50px !important;
    border-radius: 5px !important;
    box-shadow: none;
    border: 1px solid #ddd;
    font-size: 18px !important;
}


.login100-form {
    background-color: #fff;
}

.login100-form-btn {
    background-color: #7233a1;
    color: #fff;
    font-weight: 555;
    font-size: 18px;
    border-radius: 5px; 
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login100-form-btn:disabled,
.login100-form-btn[disabled] {
    background-color: #cccccc !important;
    color: #fff !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

.login100-form-btn:not(:disabled):not([disabled]):hover {
    background-color: #5d2a82;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.login100-form-btn:not(:disabled):not([disabled]):active {
    transform: translateY(1px);
    box-shadow: none;
}

.img-log-login {
    width: 300px;
}

.recover-password {
    color: #7233a1;
    cursor: pointer;
}

.wrap-login100 {
    padding: 20px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.error-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 16px;
    background-color: #dc3545;
    padding: 15px 20px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.error-message button.close:hover {
    opacity: 1;
}

html, body {
    height: 100vh;
    overflow: hidden;
}


/* Samsung s24, iphone 12 pro */
@media screen and (max-width: 768px) {
    .img-log-login {
        width: 250px;
        height: 250px;
    }
}

.container-shadow {
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    padding: 20px;
    transition: all 0.3s ease;
}