@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F0E0E0 0%, #F8F0F0 100%);
    font-family:  "Inter", sans-serif;
}

.login-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

/* Card principal */
.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Panel izquierdo - Información */
.info-panel {
    background: #f6f6f6;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.info-content {
    flex: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.brand-logo i {
    font-size: 2rem;
    color: #850309;
}

.brand-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.info-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 15px;
}

.info-subtitle {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 35px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-size: 0.95rem;
}

.feature-item i {
    color: #850309;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Panel derecho - Formulario */
.form-panel {
    padding: 60px 50px;
    display: flex;
    align-items: center;
}

.form-content {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 35px;
}

.access-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f6f6f6;
    color: #850309;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.access-badge i {
    font-size: 1rem;
}

.form-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Formulario */
.form-label {
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    pointer-events: none;
    z-index: 10;
}

.form-control {
    height: 48px;
    padding: 12px 16px 12px 48px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #850309;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
    outline: none;
}

.form-control::placeholder {
    color: #cbd5e1;
}

/* Botón de login */
.btn-login {
    height: 48px;
    background: #850309;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: #760F22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.usage-note {
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 20px;
    margin-bottom: 0;
}

/* Alertas */
.alert {
    border-radius: 10px;
    border: none;
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
}

.alert i {
    margin-right: 6px;
}

/* Responsive */
@media (max-width: 992px) {
    .login-card {
        grid-template-columns: 1fr;
    }
    
    .info-panel {
        padding: 40px 30px;
        min-height: auto;
    }
    
    .info-title {
        font-size: 1.5rem;
    }
    
    .form-panel {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: 10px;
    }
    
    .info-panel,
    .form-panel {
        padding: 30px 20px;
    }
    
    .info-title {
        font-size: 1.35rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
}