body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    overflow-y: auto;
}

.login-section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.cover {
    flex: 0 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    background: url('imgs/fundo.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
}

.cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.cover-content {
    position: relative;
    color: #ffffff;
    text-align: center;
    z-index: 1;
    padding: 1rem;
}

.cover-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.cover-content p {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

.cover-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00c9ff;
    animation: float 2s ease-in-out infinite;
}

.login-form {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 1.5rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
    text-align: center;
}

.login-form .container {
    width: 100%;
    max-width: 400px;
    padding: 0;
}

.login-form h2 {
    margin-bottom: 2rem;
    color: #2c5364;
    font-weight: 700;
    font-size: 1.8rem;
}

.logo-container {
    margin-bottom: 2rem;
    text-align: center;
}

.logo-wrapper {
    background-color: #2c5364;
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
    max-width: 150px;
}

.logo-container img {
    max-height: 160px;
}

.form-control {
    margin-bottom: 1.2rem;
    border-radius: 0.8rem;
    border: 1px solid #ccc;
}

.login-form button.btn-primary {
    border-radius: 2rem !important;
    background: linear-gradient(90deg, #1e3a8a, #2563eb) !important;
    border: none !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.7) !important;
    transition: background 0.4s ease, box-shadow 0.4s ease !important;
}

.login-form button.btn-primary:hover {
    background: linear-gradient(90deg, #2563eb, #1e3a8a) !important;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.9) !important;
    color: white !important;
}

.metodo-recuperacao {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s, box-shadow 0.3s;
}

.metodo-recuperacao:hover {
    background-color: #eaeaea;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.metodo-recuperacao input[type="radio"] {
    display: none;
}

.metodo-seta {
    font-size: 22px;
    margin-right: 12px;
    color: #555;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
    transform: rotate(90deg);
}

.metodo-recuperacao:hover .metodo-seta,
.metodo-recuperacao input[type="radio"]:checked+.metodo-seta {
    transform: rotate(0deg);
    color: #007bff;
}

.metodo-info {
    flex: 1;
}

.input-error {
    border-color: red !important;
    box-shadow: 0 0 5px red !important;
}
@media (min-width: 992px) {

    .login-section {
        flex-direction: row;
        min-height: 100vh;
    }

    .cover {
        width: 50%;
        height: 100vh;
    }

    .login-form {
        width: 50%;
        height: 100vh;
        padding: 4rem 3rem;
    }

    .cover-content h1 {
        font-size: 3.2rem;
    }

    .cover-content p {
        font-size: 1.4rem;
    }
}
@media (max-width: 576px) {
    .logo-wrapper {
        max-width: 340px;
        padding: 10px 15px;
    }

    .logo-container img {
        max-height: 120px;
    }
}
