﻿/* Lado esquerdo (formulário): fundo branco, texto preto */

.login-logo {
    width: 250px; /* Tamanho do logo */
    height: auto;
    margin-bottom: 1rem;
    max-width: 100%;
}

.login-left {
    background-color: #ffffff;
    color: #000000;
    width: 100%;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100vh;
}

    .login-left input.form-control {
        border-radius: 0.5rem;
        border: 1px solid #ced4da;
    }

/* Botão primário (azul) */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* Botão Google: borda azul e texto azul */
.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-outline-primary:hover {
        background-color: #0d6efd;
        color: white;
    }

/* Lado direito decorativo */
.login-right {
    background: url("../images/imglogin.jpg");
    background-size: cover;
    image-orientation: from-image;
    transform: none !important;
    rotate: 0deg !important;
}

/* Responsividade */
@media (min-width: 768px) {
    .login-left {
        width: 40%;
        min-height: auto;
    }

    .login-right {
        width: 60%;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 575.98px) {
    .login-logo {
        width: 200px;
    }
    
    .login-left {
        padding: 1.5rem !important;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Garantir scroll no container principal em telas pequenas */
    .container-fluid.min-vh-100 {
        overflow-y: auto;
        max-height: 100vh;
    }
}

/* Garantir que o conteúdo seja scrollável em telas pequenas */
@media (max-height: 600px) {
    .login-left {
        justify-content: flex-start !important;
        padding-top: 2rem;
        padding-bottom: 2rem;
        max-height: 100vh;
        overflow-y: auto;
    }
}

/* Estilos específicos para o formulário de cadastro */
.step-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.step-form {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Garantir scroll em telas pequenas para o cadastro */
@media (max-width: 767.98px) {
    /* Container principal com scroll */
    .container-fluid.min-vh-100 {
        overflow-y: auto;
        max-height: 100vh;
        position: relative;
    }
    
    .step-content {
        max-height: calc(100vh - 300px);
        overflow-y: auto;
        padding-right: 0.5rem;
    }
    
    /* Custom scrollbar para melhor visualização */
    .step-content::-webkit-scrollbar,
    .login-left::-webkit-scrollbar,
    .container-fluid.min-vh-100::-webkit-scrollbar {
        width: 6px;
    }
    
    .step-content::-webkit-scrollbar-track,
    .login-left::-webkit-scrollbar-track,
    .container-fluid.min-vh-100::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .step-content::-webkit-scrollbar-thumb,
    .login-left::-webkit-scrollbar-thumb,
    .container-fluid.min-vh-100::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }
    
    .step-content::-webkit-scrollbar-thumb:hover,
    .login-left::-webkit-scrollbar-thumb:hover,
    .container-fluid.min-vh-100::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}

img {
    image-orientation: from-image;
    transform: none !important;
    rotate: 0deg !important;
}
