* {
    transition: all 0.25s ease;
}

body.login-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background-image: url("/imgs/bg-img/fundo_login.svg");
    padding: 20px;
    box-sizing: border-box;
}

.login-container {
    display: flex;
    width: 900px;
    max-width: 100%;
    align-items: stretch;
}

/* Card da Esquerda */
.login-left-card {
    width: 50%;
    background: linear-gradient(120deg, #00D965, #0C4A29);
    border-radius: 14px 0 0 14px;
    padding: 100px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-left-card img {
    width: 240px;
}

/* Card da Direita */
.login-right-card {
    width: 50%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 14px 14px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 5px 5px 70px 5px #0C4A29;
}

.login-title {
    font-size: 30px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.login-label {
    font-size: 14px;
    margin-top: 10px;
    color: white;
}

.login-input {
    width: 97%;
    height: 42px;
    border-radius: 8px;
    border: none;
    margin-top: 5px;
    margin-bottom: 10px;
    padding-left: 10px;
    background: rgba(225, 225, 225);
    /* background: rgba(186, 186, 186); */
}

.login-line {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 10px;
}

.login-remember {
    display: flex;
    align-items: center;
}

.login-remember span {
    margin-left: 6px;
}

.login-forgot a {
    position: relative;
    text-decoration: none;
    color: white;
}

.login-forgot a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: white;
    transition: width 0.5s ease;
}

.login-forgot a:hover::after {
    width: 100%;
}

.login-btn-green {
    width: 100%;
    height: 45px;
    border-radius: 8px;
    background: linear-gradient(90deg, #159651, #159651);
    border: none;
    margin-top: 10px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    padding: 10px;
}

.login-btn-green:hover {
    background: linear-gradient(90deg, #159651, #117c42);
}

.navbar-item:not(.dropdown) .nav-link{
    position: relative;
    text-decoration: none;
    color: white;
}

.navbar-item:not(.dropdown) .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: white;
    transition: width 0.5s ease;
}

.navbar-item:not(.dropdown) .nav-link:hover::after {
    width: 100%;
}

.navbar-item.dropdown .nav-link {
    position: relative;
    color: #fff;
}

.navbar-item.dropdown .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.4s ease;
}

.navbar-item.dropdown .nav-link:hover::before {
    width: 100%;
}

.dropdown-menu .dropdown-item {
    position: relative;
}

.dropdown-menu .dropdown-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 1.5px;
    background-color: white;
    transition: width 0.4s ease;
}

.dropdown-menu .dropdown-item:hover::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
}

.dropdown-menu .dropdown-item {
    color: white;
    background-color: transparent;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    color: white;
}

/* ===================== RESPONSIVIDADE ===================== */
/* Em telas médias/pequenas os dois cards deixam de ficar lado a lado
   e passam a empilhar: logo em cima, formulário embaixo. */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 100%;
        max-width: 420px;
    }

    /* Card do logo vai para o topo, com cantos arredondados em cima */
    .login-left-card {
        width: 100%;
        box-sizing: border-box;
        border-radius: 14px 14px 0 0;
        padding: 28px 20px;
    }

    .login-left-card img {
        width: 150px;
    }

    /* Card do formulário embaixo, cantos arredondados embaixo */
    .login-right-card {
        width: 100%;
        border-radius: 0 0 14px 14px;
        padding: 24px 20px;
        box-sizing: border-box;
    }

    .login-title {
        font-size: 24px;
    }

    /* Inputs: largura total sem estourar, fonte 16px evita o zoom
       automático do iOS ao focar, e altura confortável para o toque. */
    .login-input {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        height: 46px;
    }

    /* "Esqueceu a senha?" e "Lembre-se de mim" podem quebrar em duas linhas */
    .login-line {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Botões com altura de toque confortável */
    .login-btn-green {
        height: 48px;
        font-size: 16px;
    }
}
