/* ASN Custom Login — v2.0 Clean Build */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; min-height: 100vh; display: flex; background: #fff; }

/* LEFT PANEL */
.login-left {
  flex: 1;
  background: linear-gradient(135deg, #0a1628 0%, #122B46 40%, #1a3a5c 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.login-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><defs><radialGradient id="g1" cx="30%25" cy="40%25" r="50%25"><stop offset="0%25" stop-color="%231176C1" stop-opacity="0.2"/><stop offset="100%25" stop-color="transparent"/></radialGradient><radialGradient id="g2" cx="70%25" cy="80%25" r="40%25"><stop offset="0%25" stop-color="%23019e7c" stop-opacity="0.12"/><stop offset="100%25" stop-color="transparent"/></radialGradient></defs><rect fill="url(%23g1)" width="800" height="800"/><rect fill="url(%23g2)" width="800" height="800"/></svg>') center/cover;
}
.login-left-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 440px;
}
.login-left-logo img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 40px;
}
.login-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.login-left h1 em {
  font-style: normal;
  color: #5bb8f5;
}
.login-left p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
}

/* Testimonial */
.login-testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
}
.login-testimonial-stars {
  color: #ffd200;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.login-testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-bottom: 16px;
}
.login-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.login-testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1176C1, #019e7c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.login-testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.login-testimonial-detail {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* MOBILE BANNER */
.login-mobile-banner {
  display: none;
  background: linear-gradient(135deg, #0a1628 0%, #122B46 40%, #1a3a5c 100%);
  padding: 40px 24px;
  text-align: center;
}
.login-mobile-banner img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.login-mobile-banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* RIGHT PANEL */
.login-right {
  width: 520px;
  min-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  background: #fff;
}

/* Form header */
.login-form-header {
  margin-bottom: 40px;
}
.login-form-logo {
  margin-bottom: 32px;
}
.login-form-logo img {
  height: 40px;
  width: auto;
}
.login-form-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #122B46;
  margin-bottom: 8px;
}
.login-form-header p {
  font-size: 15px;
  color: #64748b;
}

/* Messages */
.login-message {
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}
.login-message p {
  margin: 0;
}
.login-message p + p {
  margin-top: 4px;
}
.login-message-info {
  background: #f0f7ff;
  border-left: 4px solid #1176C1;
  color: #122B46;
}
.login-message-error {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #7f1d1d;
}
.login-message a {
  color: #1176C1;
  text-decoration: underline;
}

/* Form fields */
.login-form-group {
  margin-bottom: 20px;
}
.login-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #122B46;
  margin-bottom: 8px;
}
.login-form-group input[type="text"],
.login-form-group input[type="email"],
.login-form-group input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #122B46;
  background: #f8fafc;
  transition: all 0.2s;
  outline: none;
}
.login-form-group input:focus {
  border-color: #1176C1;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(17,118,193,0.1);
}
.login-form-group input::placeholder {
  color: #94a3b8;
}

/* Remember me / Forgot row */
.login-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
}
.login-remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1176C1;
  border-radius: 4px;
}
.login-forgot {
  font-size: 13px;
  color: #1176C1;
  text-decoration: none;
  font-weight: 500;
}
.login-forgot:hover {
  color: #0d5fa3;
  text-decoration: underline;
}

/* Submit button */
.login-submit-btn {
  width: 100%;
  padding: 16px;
  background: #1176C1;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 24px;
}
.login-submit-btn:hover {
  background: #0d5fa3;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(17,118,193,0.3);
}

/* Divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.login-divider span {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Apply to join */
.login-apply {
  text-align: center;
}
.login-apply p {
  font-size: 14px;
  color: #64748b;
}
.login-apply a {
  color: #1176C1;
  font-weight: 600;
  text-decoration: none;
}
.login-apply a:hover {
  text-decoration: underline;
}

/* Footer */
.login-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.login-footer a {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: none;
}
.login-footer a:hover {
  color: #1176C1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  body { flex-direction: column; }
  .login-left { display: none; }
  .login-mobile-banner { display: block; }
  .login-right { width: 100%; min-width: unset; padding: 40px 24px; }
}
@media (max-width: 480px) {
  .login-right { padding: 32px 20px; }
  .login-form-header h2 { font-size: 24px; }
  .login-submit-btn { padding: 14px; }
  .login-footer { flex-wrap: wrap; justify-content: center; gap: 16px; }
}
