:root {
    --primary: #f0f4f8;
    --accent-blue: #2563eb; /* Azul con alto contraste */
    --accent-hover: #1d4ed8;
    --danger: #dc2626; /* Rojo para logout/errores */
    --text: #1e293b;
    --white: #ffffff;
}

body { font-family: 'Segoe UI', sans-serif; background: var(--soft-blue); margin: 0; color: var(--text); }
.header-img { width: 100%; height: 160px; object-fit: cover; display: block; }
.container { display: flex; justify-content: center; align-items: center; padding: 40px 20px; }
.card { background: var(--white); padding: 30px; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); width: 100%; max-width: 400px; }
h2 { margin-top: 0; color: var(--accent); }
input { width: 100%; padding: 12px; margin: 8px 0 20px; border: 1px solid #d1d9e6; border-radius: 8px; box-sizing: border-box; }
.msg { padding: 10px; border-radius: 5px; margin-bottom: 15px; font-size: 0.85rem; }
.err { background: #ffe3e3; color: #c0392b; }
.ok { background: #e3f9e5; color: #27ae60; }
/* Home Styles */
.nav { position: fixed; top: 0; width: 100%; background: white; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; box-sizing: border-box; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

/* Botón Principal */
button {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Botón Logout (X) */
.btn-logout {
    background: var(--danger);
    color: white;
    width: 38px;
    height: 38px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
}

.btn-logout:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.btn-x { background: #ffadad; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: white; }

