* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: #de8003;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Container principal com fundo laranja */
.login-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Retângulo arredondado dividido - MENOR */
.login-rectangle {
    background: #FFFFFF;
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    min-height: 540px;
    max-height: 560px;
}

/* Lado esquerdo - Imagem */
.login-left {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.login-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Lado direito - Formulário centralizado */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #FFFFFF;
}

.login-card {
    max-width: 320px;
    width: 100%;
    text-align: center;
}

/* Logo imagem */
.logo-img {
    display: flex;
    justify-content: center;
}

.logo-img img {
    max-width: 110px;
    height: auto;
}

/* Títulos */
.login-subtitle {
    color: #6B7280;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 25px;
}

/* Campos de Input com ícones */
.form-group {
    margin-bottom: 15px;
    position: relative;
    text-align: left;
}

.input-icon {
    position: relative;
    width: 100%;
}

.input-icon i:first-child {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    font-size: 14px;
    z-index: 1;
}

.input-icon .form-control {
    padding-left: 35px;
    padding-right: 35px;
}

.form-control {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: #de8003;
    box-shadow: 0 0 0 3px rgba(222, 128, 3, 0.1);
    outline: none;
}

/* Botão de olhinho */
.password-toggle {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6B7280;
    background: transparent;
    border: none;
    z-index: 10;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #de8003;
}

/* Botão Entrar */
.btn-login {
    background: #de8003;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    margin-top: 5px;
    cursor: pointer;
}

.btn-login:hover {
    background: #c57200;
}

/* Link Esqueci a Senha */
.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #de8003;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.forgot-password a:hover {
    color: #0066cc !important;
    text-decoration: underline;
}

/* Informações de segurança */
.security-info {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #E5E7EB;
    font-size: 11px;
    color: #6B7280;
}

.security-info i {
    margin-right: 5px;
    color: #de8003;
}

/* Modal */
.modal-custom {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content-custom {
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    padding: 25px;
    position: relative;
}

.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-header-custom h3 {
    color: #2e2a2a;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6B7280;
    cursor: pointer;
}

.modal-close:hover {
    color: #de8003;
}

.modal-body-custom p {
    color: #6B7280;
    font-size: 13px;
    margin-bottom: 15px;
}

.btn-recuperar {
    background: #de8003;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
}

.btn-recuperar:hover {
    background: #c57200;
}

.btn-cancelar {
    background: #F9FAFB;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px;
    font-size: 13px;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
    .login-rectangle {
        flex-direction: column;
        min-height: auto;
        max-height: none;
    }
    
    .login-left {
        min-height: 200px;
        display: none;
    }
    
    .login-right {
        padding: 30px 20px;
    }
    
    .login-card {
        max-width: 100%;
    }
}

.btn-login.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Alert com fundo branco */
.alert-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #FFFFFF;
    color: #2e2a2a;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    z-index: 1100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #de8003;
    font-weight: 500;
}

.alert-toast i {
    margin-right: 8px;
}

.alert-toast i.fa-exclamation-triangle {
    color: #de8003;
}

.alert-toast i.fa-check-circle {
    color: #10b981;
}

/* Alert Toast */
.alert-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-left: 4px solid #dc3545;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #333;
}

.alert-toast i {
    margin-right: 10px;
    color: #dc3545;
}

.alert-toast:has(.fa-check-circle) {
    border-left-color: #28a745;
}

.alert-toast:has(.fa-check-circle) i {
    color: #28a745;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}