/* =========================================================
   FILE: portal/assets/css/login.css
   CUSTOMER PORTAL LOGIN (Admin-style)
   ========================================================= */

body {
  background: radial-gradient(1200px 600px at 30% 20%, rgba(37, 99, 235, .14), transparent 60%),
              radial-gradient(900px 500px at 70% 10%, rgba(37, 99, 235, .10), transparent 55%),
              linear-gradient(180deg, #eef6ff 0%, #f7fbff 60%, #ffffff 100%);
  min-height: 100vh;
  margin: 0;
}

.auth-shell {
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 12px;
}

.auth-card {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .10);
  background: #fff;
}

@media (max-width: 991px) {
  .auth-card { grid-template-columns: 1fr; }
}

.auth-hero {
  position: relative;
  padding: 44px 44px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(37, 99, 235, .06));
}

.auth-hero h1 {
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
}

.auth-hero p {
  color:#334155;
  margin: 0;
  max-width: 460px;
}

.auth-form {
  padding: 36px 38px;
  background: #fff;
  position: relative;
}

@media (max-width: 991px) {
  .auth-hero { padding: 34px 28px; }
  .auth-form { padding: 28px 22px; }
  .auth-hero h1 { font-size: 32px; }
}

.lang-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
}

.lang-toggle a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(37, 99, 235, .10);
  color: #1d4ed8;
  font-weight: 700;
  border: 1px solid rgba(37, 99, 235, .18);
  text-decoration: none;
  transition: all .2s ease;
}

.lang-toggle a:hover {
  background: rgba(37, 99, 235, .16);
  border-color: rgba(37, 99, 235, .28);
}

.brand {
  display:flex;
  gap: 12px;
  align-items:center;
  margin-bottom: 14px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
}

.brand .title {
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.brand .sub {
  color: #64748b;
  font-size: .92rem;
  margin-top: 2px;
}

.form-label {
  color:#334155;
  font-weight: 600;
}

.form-control {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .55);
  padding: 12px 14px;
}

.form-control:focus {
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
  border-color: rgba(37,99,235,.45);
}

.btn.btn-primary {
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(37,99,235,.22);
}

.footer-note {
  text-align:center;
  margin-top: 14px;
  color:#64748b;
  font-size: .85rem;
}