body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #eef5ff, #dbeafe);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 410px;
    padding: 20px;
}

.login-box {
    background: #ffffff;
    padding: 34px;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(30, 64, 175, 0.14);
    border: 1px solid #e5eefc;
}

.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.logo {
    width: 86px;
    max-height: 86px;
    object-fit: contain;
    margin-bottom: 12px;
}

.login-header h2 {
    margin: 0;
    color: #1e3a8a;
    font-size: 22px;
}

.login-header p {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    font-size: 14px;
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.form-group input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.20);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 17px;
    color: #64748b;
}

.btn-login {
    width: 100%;
    padding: 13px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 11px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 4px;
}

.btn-login:hover {
    background: #2563eb;
}

.forgot-password {
    margin-top: 16px;
    text-align: center;
}

.forgot-password a {
    color: #2563eb;
    font-size: 14px;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.mensaje {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    color: #dc2626;
}