/* Estilos generales */

body {
    min-height: 100vh;
    background: linear-gradient(rgba(15, 32, 65, 0.85), rgba(15, 32, 65, 0.85)),
                url('https://images.unsplash.com/photo-1601597111158-2fceff292cdc') center/cover fixed;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', system-ui, sans-serif;
}


/* Contenedor principal */
.login-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

/* Tarjeta de login */
.login-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Cabecera */
.login-header {
    background: #1a237e;
    color: white;
    text-align: center;
    padding: 2rem;
}

.login-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.login-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-header p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Formulario */
.login-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #1a237e;
    z-index: 1;
}

.form-control {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.2);
    outline: none;
}

/* Botón de login */
.btn-login {
    width: 100%;
    background: #1a237e;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    background: #303f9f;
    transform: translateY(-2px);
}

.btn-login i {
   