@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

.login-wrapper {
    width: 100%;
    max-width: 1100px;
    height: 80vh;
    min-height: 600px;
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Panel Izquierdo (Azul) */
.left-panel {
    flex: 1;
    background: linear-gradient(135deg, #0d6efd 0%, #0053ce 100%);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.left-panel::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: radial-gradient(circle at bottom right, rgba(255,255,255,0.1), transparent 60%);
    pointer-events: none;
}

.logo-placeholder {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-weight: bold;
    font-size: 24px;
}

.left-panel h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.left-panel p.lead-text {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 90%;
}

.features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.features i {
    margin-right: 0.4rem;
}

.footer-text {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: auto;
}

/* Panel Derecho (Blanco) */
.right-panel {
    flex: 1;
    padding: 4rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-logo-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-start;
}

.login-logo {
    height: 50px; /* Tamaño reducido según solicitud */
    width: auto;
    object-fit: contain;
}

.right-panel h2 {
    font-weight: 700;
    font-size: 1.8rem;
    color: #212529;
    margin-bottom: 0.5rem;
}

.right-panel p.subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
}

.input-group-text {
    background-color: transparent;
    border-right: none;
    color: #6c757d;
}

.form-control {
    border-left: none;
    padding-left: 0;
    font-size: 0.95rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.input-group:focus-within {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-radius: 0.375rem;
}

.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control {
    border-color: #86b7fe;
}

.btn-primary {
    padding: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: #adb5bd;
    font-size: 0.8rem;
    font-weight: 600;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider::before { margin-right: 1em; }
.divider::after { margin-left: 1em; }

.forgot-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-link {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    margin-top: 1rem;
}

.contact-link a {
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
        height: auto;
        min-height: auto;
        margin: 2rem;
    }
    .left-panel {
        padding: 2.5rem;
    }
    .right-panel {
        padding: 3rem 2.5rem;
    }
}
