:root {
    --azul-principal: #00acec;
    --verde-exito: #adc948;
    --azul-oscuro: #0077a2;
    --blanco: #ffffff;
    --error: #ff4757;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Degradado de fondo profesional */
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    overflow: hidden;
}

/* Círculos decorativos de fondo para profundidad */
body::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: var(--azul-principal);
    border-radius: 50%;
    top: -50px; left: -50px;
    opacity: 0.1;
    z-index: -1;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 380px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
}

.header-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--azul-principal), var(--azul-oscuro));
    color: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 15px rgba(0, 172, 236, 0.3);
}

h2 { color: #1a2a3a; margin-bottom: 0.2rem; font-weight: 700; }
p { color: #718096; font-size: 0.9rem; margin-bottom: 2rem; }

/* Inputs modernos con iconos */
.input-group {
    position: relative;
    margin-bottom: 1.2rem;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--azul-principal);
}

.input-group input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--azul-principal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 172, 236, 0.1);
}

/* Botón con degradado verde */
button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--verde-exito), #98b33c);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(173, 201, 72, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(173, 201, 72, 0.4);
    filter: brightness(1.05);
}

button:active { transform: translateY(0); }

.error-msg {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 1rem;
    font-weight: 500;
    display: none;
    padding: 10px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 8px;
}