/* ===== RESET & BASE ===== */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.auth-bg {
    margin: 0;
    padding: 0;
    height: 100dvh;
    overflow: hidden;
}

.auth-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.carousel-container {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.login-sidebar {
    width: 310px;
    background-color: #222D27;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    height: 100%;
}

.login-footer {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #fff;
    text-align: center;
    padding: 10px;
 
}

/* ===== CAROUSEL ===== */
.carousel-item img,
.carousel-img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}

.carousel-control-prev {
    left: 10px !important;
}

.carousel-control-next {
    right: 10px !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: none;
    width: 3rem;
    height: 3rem;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M8.59 16.59 10 18l6-6-6-6-1.41 1.41L13.17 12z'/%3E%3C/svg%3E");
}

/* ===== TEXTOS DE LOGIN ===== */
.text-auth {
    color: #fff;
    padding-top: 9%;
    font-size: 20px;
}
.text-auth img {
    max-height: 420px;
}
.text-auth h1 {
    font-size: 50px;
}
.text-auth h2 {
    font-size: 44px;
}

/* ===== FORMULÁRIO DE LOGIN ===== */
.form-auth {
    max-width: 290px !important;
    height: 100% !important;
    background-color: #222d27 !important;
    color: #FFFFFF;
    font-weight: 900;
    gap: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-auth label {
    margin-left: 7%;
}

.form-auth input {
    border-radius: 12px;
    height: 47px;
    width: 90%;
    margin-left: 7%;
}

.form-auth button {
    border-radius: 12px;
    height: 47px;
    width: 90%;
    background-color: #B8E600;
    margin-left: 7%;
    margin-top: -7%;
    font-weight: 900;
    color: #FFFFFF;
}

.form-auth button:hover {
    background-color: #A0CC00;
}

.form-auth h4 {
    text-align: center;
}

.form-auth img {
    padding-bottom: 15%;
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#email {
    margin-top: 13px;
}

#password {
    margin-top: 5px;
    display: inline-block !important;
}

#forget-password {
    margin-left: 26%;
    font-size: 0.77rem;
    color: #A0CC00;
}
#forget-password:hover {
    color: #fff;
}

#back-to-login {
    color: #fff;
}
#back-to-login:hover {
    color: #A0CC00;
}

hr {
    height: 8px !important;
    color: #F8AC55;
    opacity: 1;
    max-width: 5%;
}

/* ===== BOTÕES E CAMPOS ===== */
label a {
    text-decoration: none;
    color: #292828;
}

.form-group i {
    cursor: pointer;
    background-color: #E9ECEF;
    padding: 9px 10px;
    font-weight: bold;
    position: relative;
    margin-left: -5px;
}

.recover-send-button {
    margin-top: 20px !important;
    margin-right: 5px !important;
}

.change-password-buton {
    margin-top: 3px !important;
    margin-right: 5px !important;
}
.change-password-buton:disabled {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    border: none;
}

#password-help {
    color: #cc0000;
    font-size: 0.72rem;
    margin-bottom: 2px;
    min-height: 1em;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
}

/* ===== MODAL E LOADING ===== */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.85);
    display: none;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    font-size: 1.2rem;
}

.spinner {
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid #B8E600;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#modal {
    background-color: #fff;
    color: #000;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
}

#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-alert-title {
    display: block;
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 10px;
    font-weight: 900;
}

#modal-message {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

#modal button {
    background-color: #B8E600;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}
#modal button:hover {
    background-color: #A0D300;
    color: #000;
}

/* ===== CONTAINERS ===== */
.login-content {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
}
.login-content label {
    display: block;
    text-align: left; /* força alinhar à esquerda */
    width: 100%;
    margin-bottom: 0.4rem;
    font-weight: 500;
}
.custom-control{
    margin-left: -50px ;
}
