/* --- Variables basadas en tu imagen --- */
:root {
    --primary-blue: #1a2b4a;  /* El azul oscuro del menú lateral */
    --accent-teal: #00cea6;   /* El verde/turquesa de los checks y barras */
    --bg-light: #f4f7fa;      /* El fondo gris de la pantalla */
    --text-dark: #333333;
    --text-muted: #666666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Contenedor Principal --- */
.login-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* --- Tarjeta de Login --- */
.login-card {
    background-color: var(--white);
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(26, 43, 74, 0.1); /* Sombra suave azulada */
    overflow: hidden;
}

/* --- Encabezado Azul (Simula el sidebar) --- */
.login-header {
    background-color: var(--primary-blue);
    padding: 40px 30px;
    text-align: center;
    color: var(--white);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    fill: var(--white);
    margin-bottom: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.1;
    letter-spacing: 1px;
}

.welcome-text {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
    font-weight: 400;
}

/* --- Formulario --- */
.login-form {
    padding: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-blue); /* Etiquetas en azul oscuro */
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

/* Efecto al hacer clic en el input */
.input-group input:focus {
    border-color: var(--accent-teal); /* Borde se pone turquesa */
    outline: none;
    background-color: #fbfbfb;
}

/* Acciones (Recordarme / Olvidé contraseña) */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    cursor: pointer;
}

.remember-me input {
    margin-right: 8px;
    accent-color: var(--accent-teal); /* Checkbox color turquesa */
}

.forgot-password {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* --- Botón Principal --- */
.login-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-teal); /* Botón color turquesa */
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background-color: #00b392; /* Un poco más oscuro al pasar el mouse */
    transform: translateY(-2px);
}

/* --- Footer --- */
.login-footer {
    text-align: center;
    padding: 0 30px 30px 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.login-footer a {
    color: var(--accent-teal);
    font-weight: 700;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}