#pagina_index {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 10px 20px;
}

a:link {
    text-decoration: none;
}

body {
    background-color: #f8f9fa;
    height: 100dvh;
    margin: 0;
    overflow-x: hidden;
}

.row-full-height {
    height: 100dvh;
}

.bg-image {
    background-image: url('../imagens/bg-login.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}

.bg-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.overlay-text {
    position: relative;
    z-index: 2;
    color: white;
    padding: 100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background-color: #fff;
}

.login-box {
    width: 100%;
    max-width: 400px;
}

.brand-logo {
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo i {
    margin-right: 10px;
}

h2 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

p.subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-control {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding-left: 15px;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.login-box .form-group > div[style*="position: relative"] {
    width: 100%;
}

.login-box .password-wrapper {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

.login-box .password-wrapper input {
    width: 100% !important;
    box-sizing: border-box !important;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.1rem var(--color-primary-25) !important;
}

.btn-login {
    background-color: var(--color-primary);
    border: none;
    color: var(--color-bg-primary-text);
    height: 50px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-bg-primary-text);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--color-bg-primary-30);
}

.forgot-password {
    color: var(--color-primary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
}

.forgot-password:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.footer-text {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-text a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 768px) {
    .bg-image {
        display: none;
    }

    .login-container {
        padding: 1.5rem;
    }
}