/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, rgba(197, 203, 226, 0.8) 0%, rgba(218, 207, 230, 0.8) 100%), 
                url('/img/backgrounds/login_trabalhadores.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-y: hidden;
}

/* Container principal do login */
#hot-login-container {
    padding-bottom: 20px;
    height: 100vh;
    display: flex;
    align-items: center; /* Mudança: de center para flex-start */
    justify-content: center;
}

/* Layout responsivo */
.hot-h100 {
    height: 100%;
}

/* Container do formulário */
.login-form-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    display: flex;
    min-height: 450px; /* Mudança: altura reduzida */
    margin-top: 0; /* Garantir que comece no topo */
}

/* Coluna esquerda - mensagem de boas-vindas */
#hot-col-left {
    background: linear-gradient(135deg, #F5140A 0%, #F54311 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 0 0 40%;
    position: relative;
}

#hot-col-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/backgrounds/login_trabalhadores.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

#hot-col-left > * {
    position: relative;
    z-index: 2;
}

/* Título de boas-vindas */
.hot-login-f30 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
}

/* Subtítulo */
.welcome-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Coluna direita - formulário de login */
#hot-col-right {
    background: white;
    padding: 40px 40px 30px 40px; /* Mudança: padding reduzido */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Mudança: começar do topo */
    flex: 1;
    min-height: 450px; /* Mudança: altura reduzida */
    position: relative;
}

/* Logo - removido */
#hot-login-image {
    display: none;
}

/* Título do formulário */
.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #F5140A;
    margin-bottom: 30px;
    text-align: center;
}

/* Formulário */
.login-form {
    width: 100%;
}

/* Grupos de campos */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

/* Labels */
.hot-login-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Inputs com ícones */
.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #F5140A;
    z-index: 3;
    font-size: 1rem;
}

.hot-login-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #333;
    font-weight: 500;
}

.hot-login-input:focus {
    border-color: #F5140A;
    box-shadow: 0 0 0 0.2rem rgba(245, 20, 10, 0.25);
    background: white;
    outline: none;
}

.hot-login-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

/* Checkbox e links */
.login-options {
    margin: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
}

.form-check-input:checked {
    background-color: #F5140A;
    border-color: #F5140A;
}

.form-check-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
}

.forgot-password {
    font-size: 0.85rem;
    color: #F5140A;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    color: #d41209;
    text-decoration: underline;
}

/* Botão de submit */
.hot-login-submit {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #F5140A 0%, #F54311 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

.hot-login-submit:hover {
    background: linear-gradient(135deg, #d41209 0%, #e03a0f 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 20, 10, 0.3);
}

.hot-login-submit:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
}

.byhotsystems {
    margin-top: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

.byhotsystems i {
    color: #555;
    font-size: 1rem;
}

.byhotsystems .ht-corE {
    color: #555;
    font-weight: 500;
}

.byhotsystems a {
    text-decoration: none;
    color: inherit;
}

.byhotsystems a:hover {
    text-decoration: none;
}

.byhotsystems .ht-laranja {
    color: #F56B11;
    font-weight: 600;
}

.byhotsystems .ht-branco {
    color: #555;
    font-weight: 500;
}

/* Mensagens de erro */
.input-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
}

/* Padding helpers */
.ps-20 {
    padding-left: 20px;
}

.pe-20 {
    padding-right: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    #hot-login-container {
        height: auto;
        min-height: 100vh;
        padding: 10px;
    }
    
    .login-form-container {
        flex-direction: column;
        max-width: 100%;
        margin: 0;
    }
    
    #hot-col-left {
        flex: none;
        padding: 40px 30px;
        min-height: 200px;
    }
    
    #hot-col-right {
        padding: 40px 30px;
    }
    
    .hot-login-f30 {
        font-size: 2rem;
        margin-bottom: 15px;
        white-space: normal;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .byhotsystems {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    #hot-login-container {
        height: 100vh;
        padding: 5px;
    }
    
    .hot-h100 {
        height: 100%;
    }
    
    #hot-col-left {
        padding: 30px 20px;
        min-height: 150px;
    }
    
    #hot-col-right {
        padding: 30px 20px;
    }
    
    .hot-login-f30 {
        font-size: 1.8rem;
        white-space: normal;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .hot-login-input {
        padding: 12px 12px 12px 40px;
        font-size: 0.9rem;
    }
    
    .hot-login-submit {
        padding: 12px 25px;
        font-size: 0.8rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form-container {
    animation: fadeInUp 0.6s ease-out;
}

/* Estados de loading */
.hot-login-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.hot-login-submit:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Melhorias visuais */
.form-group:focus-within .hot-login-label {
    color: #F5140A;
}

/* Estilo para campos com erro */
.hot-login-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Transições suaves */
* {
    transition: all 0.3s ease;
}

