/* BACKGROUND GERAL */
body {
    background: #0b1d2a;
    font-family: 'Inter', sans-serif;
}

/* ================= LADO ESQUERDO ================= */
/* ================= BRANDING NOVO ================= */

.branding {
    background: linear-gradient(135deg, #00005B, #132f4c);
    min-height: 100vh;
}

/* LOGO TOPO */
.logo-top {
    max-width: 180px;
}

.logo-mobile {
    width: 130px;      /* tamanho padrão */
    max-width: 75%;    /* nunca ultrapassa metade da tela */
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
}

@media (max-width: 576px) {
    .logo-mobile {
        width: 100px;
        max-width: 70%;
    }
}

/* CENTRO COM IMAGEM */
.branding-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* IMAGEM CENTRAL */
.img-branding {
    max-width: 60%;
    height: auto;
    opacity: 0.9;
    transition: 0.3s ease;
}

/* HOVER LEVE (efeito premium) */
.img-branding:hover {
    transform: scale(1.03);
    opacity: 1;
}

/* FOOTER */
.footer-branding {
    width: 100%;
}

/* ICONES SOCIAIS */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* HOVER ICONES */
.social-icons a:hover {
    background: #ffc107;
    color: #0b1d2a;
    transform: translateY(-3px);
}

/* RESPONSIVO (tablet pra baixo já some) */
@media (max-width: 992px) {
    .branding {
        display: none !important;
    }
}

/* ================= LADO DIREITO ================= */
.bg-login-right {
    background: #EBF3FB;
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
}

/* ================= LOGIN BOX ================= */
.login-box {
    width: 100%;
    max-width: 460px; /* MAIS LARGO */
    padding: 50px 40px;
}

/* TÍTULO */
h4 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #3b5a72;
}

/* Placeholder mais apagado */
.form-control::placeholder {
    color: #b6cadd; /* cinza suave */
    opacity: 1; /* garante consistência entre navegadores */
}

/* Compatibilidade (opcional, mas recomendado) */
.form-control::-webkit-input-placeholder {
    color: #b6cadd;
}
.form-control:-ms-input-placeholder {
    color: #b6cadd;
}
.form-control::-ms-input-placeholder {
    color: #b6cadd;
}

/* ================= INPUT MODERNO ================= */
.input-modern {
    width: 100%;
}

.input-modern .input-group {
    border-radius: 12px;
    overflow: hidden; /* resolve corte */
    border: 1px solid #dee2e6;
    background: #f8f9fb;
    transition: 0.3s;
}

/* Ícone esquerda */
.input-modern .input-group-text {
    background: transparent;
    border: none;
    padding: 0 15px;
    color: #6c757d;
}

/* INPUT */
.input-modern .form-control {
    border: none;
    height: 60px;
    font-size: 15px;
    background: transparent;
    box-shadow: none;
}

/* REMOVE BORDA DUPLA */
.input-modern .form-control:focus {
    box-shadow: none;
}

/* FOCO ESTILO NUBANK */
.input-modern .input-group:focus-within {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255,193,7,0.2);
}

/* OLHO SENHA */
.eye-password {
    border: none;
    background: transparent;
    padding: 0 15px;
    cursor: pointer;
    color: #6c757d;
    display: flex;
    align-items: center;
}

/* ================= BOTÃO ================= */
.btn-login {
    height: 60px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,193,7,0.3);
}

/* ================= FOOTER ================= */
.powered {
    max-width: 150px;
    opacity: 0.7;
}

.social-icons a {
    text-decoration: none; /* remove underline */
}

.social-icons a:hover,
.social-icons a:focus,
.social-icons a:active {
    text-decoration: none; /* garante que nunca apareça */
    outline: none; /* remove borda azul ao clicar */
}

/* ================= ANIMAÇÃO ================= */
.login-box {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AJUSTE DO TÍTULO LOGIN */
.login-title {
    margin-top: -10px; /* sobe o título */
    color: #2b475d;
}

/* ÍCONE DO TÍTULO */
.login-title i {
    color: #ffc107; /* amarelo destaque */
    font-size: 18px;
    vertical-align: middle;
}

/* ================= RESPONSIVO ================= */

/* TABLET */
@media (max-width: 992px) {

    body, html {
    background: #e9f2f9 !important;

}

    .branding {
        display: none !important;
    }

    .login-box {
        max-width: 500px;
        padding: 40px 30px;
    }
}

/* MOBILE */
@media (max-width: 576px) {

    body {
        background: #ffffff;
    }

    .login-box {
        background: linear-gradient(190deg, #020279, #042056);
        margin: 20px;
        padding: 30px 20px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    h4 {
        font-size: 20px;
        text-align: center;
        color: #ffffff;
    }

    .lbl_custom {
        color: rgba(255, 255, 255, 0.879) !important;
    }

    .input-modern .form-control {
        height: 55px;
        font-size: 14px;
    }

    .btn-login {
        height: 55px;
        font-size: 15px;
    }

    .powered {
        max-width: 120px;
    }
}

/* MOBILE PEQUENO */
@media (max-width: 380px) {

    .login-box {
        padding: 25px 15px;
    }

    .input-modern .form-control {
        height: 50px;
        font-size: 13px;
    }

    .btn-login {
        height: 50px;
        font-size: 14px;
    }
}

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    height: 55px;
    width: 55px;
    background: #1ebe5d; /* verde um pouco mais escuro */
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 9999;
}

/* ÍCONE CENTRALIZADO SEMPRE */
.whatsapp-float i {
    position: absolute;
    font-size: 24px;
}

/* TEXTO */
.whatsapp-text {
    position: absolute;
    left: 20px;
    opacity: 0;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: 0.3s;

    display: flex;
    align-items: center;
    gap: 6px; /* espaço entre texto e ícone */
}

/* HOVER */
.whatsapp-float:hover {
    width: 180px;
}

/* TEXTO APARECE */
.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}

/* MOVE ÍCONE PRA DIREITA NO HOVER */
.whatsapp-float:hover i {
    right: 15px;
    left: auto;
}

/* REMOVE UNDERLINE */
.whatsapp-float,
.whatsapp-float:hover,
.whatsapp-float:focus,
.whatsapp-float:active {
    text-decoration: none;
    color: #fff;
}

/* MOBILE */
@media (max-width: 576px) {

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        height: 50px;
        width: 165px; /* JÁ EXPANDIDO */
        justify-content: flex-start;
        padding-left: 15px;
    }

    /* TEXTO SEMPRE VISÍVEL */
    .whatsapp-text {
        opacity: 1;
        font-size: 13px;
    }

    /* ÍCONE FIXO À DIREITA */
    .whatsapp-float i {
        right: 15px;
        left: auto;
        font-size: 22px;
    }

    /* REMOVE EFEITO DE HOVER NO MOBILE */
    .whatsapp-float:hover {
        width: 190px;
    }
}