/* Reset básico */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #142D48;
    color: #333;
}

.login-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100vh;
    max-width: 100%;
    background-color: #192735;
}

/* Coluna da Logotipo */
.login-logo {
    flex: 1;
    /* background-color: #0C0E2F !important; */
    background-image: url('../images/background-login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

}

.login-logo img {
    max-width: 75%;
    width: 75%;
    height: auto;
    
}

.logo-empresa {
    width: 102px;
    position: absolute;
    top: 8px;
    left: 20px;
}

/* Coluna do Formulário */
.login-form {
    flex: 0.5;
    padding: 2rem;
    background-color: #192735;
    border-radius: 8px;
    color: #fff;
    width: 20%;
 
}

.login-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ffffff;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    height: 20px;
}

.login-button {
    width: 100%;
    padding: 10px;
    background-color: #daa00de0;
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-family: monospace;
    margin-top: 10px;
}

.login-button:hover {
    background-color: #ffb700;
}

.forgot-password {
    display: block;
    margin-top: 15px;
    text-align: center;
    color: #c59311;
    font-size: 14px;
    text-decoration: underline;
}

.forgot-password:hover {
    text-decoration: underline;
    color: #ffb700;
}


.box {
    display: flex
    ;
        height: 100%;
        width: 100%;
        align-items: center;
}

@keyframes piscar-box-shadow {
    0% {
        box-shadow: 0px -1px 10px 7px rgba(251, 246, 246, 0.1);
    }
    100% {
        box-shadow:0px -1px 20px 14px rgb(68 67 67 / 50%)
    }
}


.button {
    margin: 0 auto;
    position: relative;
    width: 100%;
    display: flex
;
    align-items: center;
    justify-content: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        padding: 20px;
        justify-content: flex-start;
        height: auto;
    }

    .box {
        flex-direction: column;
        width: 100%;
        height: auto;
        box-shadow: none;
        animation: none;
        padding: 20px;
    }

    .login-logo {
        flex: none;
        width: 100%;
        padding: 20px 0;
    }

    .login-logo img {
        max-width: 60%;
        margin: 0 auto;
    }

    .login-form {
        width: 100%;
        padding: 20px;
        box-shadow: none;
    }

   

    .login-button {
        width: 90%; /* Botão ocupa a largura total no mobile */
    }

    .forgot-password {
        font-size: 12px;
    }
}


.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.menu-title {
    font-size: 14px;
    font-weight: bold;
    color: #bbb;
    padding: 10px 15px;
    text-transform: uppercase;
}

.sidebar-menu hr {
    border: none;
    height: 1px;
    background: #555;
    margin: 10px 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
}
