@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html, body.login-page {
  height: 100%;
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 45%, #06b6d4 100%) fixed;
}
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card {
  width: 100%; max-width: 410px; background: #fff; border-radius: 20px;
  box-shadow: 0 25px 60px -12px rgba(15,23,42,.45); padding: 36px 32px; animation: rise .5s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.login-logo { text-align: center; margin-bottom: 8px; }
.login-logo img { max-width: 100%; max-height: 120px; object-fit: contain; }
.login-card h2 { margin: 14px 0 4px; font-size: 22px; font-weight: 700; color: #1e293b; text-align: center; }
.login-card p.sub { text-align: center; color: #64748b; font-size: 14px; margin: 0 0 24px; }
.field { position: relative; margin-bottom: 16px; }
.field i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.field input.form-control, .field input[type=text], .field input[type=password] {
  width: 100%; height: 48px; padding: 0 14px 0 42px; border: 1px solid #e2e8f0; border-radius: 12px;
  font-size: 15px; background: #f8fafc; outline: none; box-sizing: border-box; transition: all .2s;
}
.field input:focus { border-color: #4f46e5; background: #fff; box-shadow: 0 0 0 4px rgba(79,70,229,.15); }
.row-opts { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #64748b; margin-bottom: 20px; }
.row-opts a { color: #4f46e5; font-weight: 600; text-decoration: none; }
.btn-login {
  width: 100%; height: 48px; border: 0; border-radius: 12px; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
  background: linear-gradient(135deg, #4f46e5, #06b6d4); box-shadow: 0 10px 20px -8px rgba(79,70,229,.7); transition: transform .15s, filter .15s;
}
.btn-login:hover { transform: translateY(-2px); filter: brightness(1.07); }
.aviso { display: block; margin-top: 14px; text-align: center; color: #dc2626; font-size: 13px; }
