body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.login-container {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.login-card {
    background: rgb(107 131 79 / 0%);
    backdrop-filter: blur(1px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgb(13 16 8);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgb(175 212 132 / 93%);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header .fa-user-circle {
    margin-right: 0.5rem;
}

.login-header p {
    color: #666;
    margin: 0;
}

/* Estilo para campos de formulário Bootstrap 4 */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1rem 0.75rem 1rem 2.5rem;
    transition: all 0.3s ease;
    height: auto;
}

.form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 2;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.btn-login {

    background: #4e6535;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.btn-login:hover {
    background: linear-gradient(135deg, #3aca3a, #136621);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 98, 0.3);
}

.form-check {
    margin-bottom: 1.5rem;
}

.form-check-label {
    color: #666;
    font-size: 0.9rem;
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.social-login {
    margin-top: 2rem;
    text-align: center;
}

.social-login p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-social {
    border-radius: 12px;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.loading {
    display: none;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 576px) {
    .login-card {
        margin: 1rem;
        padding: 2rem;
    }

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