/* Estilos para login FluxPlan-D10 refinado */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.login-container {
    display: flex;
    flex-direction: row;
    width: 95%;
    max-width: 1000px;
    height: 90vh;
    background-color: white;
    border-radius: 1var(--radio-borde);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-card {
    display: flex;
    width: 100%;
    height: 100%;
}

.login-left {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.login-right {
    flex: 1;
    background-color: #8bbf5b;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.login-right img {
    max-width: 100%;
    height: auto;
    max-height: 90%;
}

.login-left h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.2rem;
}

.desc {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form label {
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.login-form input {
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    font-size: var(--espaciado);
}

.login-form input:not(.input-error) {
    border: 1px solid #ccc;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.options a {
    color: #3498db;
    text-decoration: none;
}

button[type="submit"] {
    background-color: #8bbf5b;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem;
    font-size: var(--espaciado);
    font-weight: 600;
    cursor: pointer;
    margin-bottom: var(--espaciado);
    display: flex;
    justify-content: center;
    height: 40px !important;

}

.divider {
    text-align: center;
    margin: var(--espaciado) 0;
    color: #aaa;
    font-size: 0.9rem;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    width: 40%;
    background: #ddd;
    position: absolute;
    top: 50%;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: var(--espaciado);
    margin-bottom: var(--espaciado);
}

.social-login button {
    border: none;
    background: #f1f1f1;
    border-radius: 50%;
    padding: 0.6rem 0.8rem;
    font-size: 1.2rem;
    cursor: pointer;
}

.signup {
    font-size: 0.9rem;
    text-align: center;
    color: #555;
}

.signup a {
    color: #3b60f9;
    font-weight: 600;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        border-radius: 0;
    }

    .login-card {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        flex: 1 1 100%;
        padding: 2rem;
    }

    .login-right {
        order: -1;
    }

    .login-right img {
        max-width: 60%;
        margin: 0 auto;
    }
}