/* Bảng quảng cáo cạnh form đăng nhập — theo K:\index.html */
.auth-screen {
  align-items: stretch !important;
  justify-content: center !important;
  padding: 28px 18px !important;
  overflow: auto;
}
.auth-page {
  width: min(1440px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.auth-screen .auth-card {
  width: 100% !important;
  max-width: none;
  height: 100%;
  box-sizing: border-box;
}

.auth-ads {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.auth-ads-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  margin-bottom: 16px;
}
.auth-ads-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.auth-ads-lotus { color: #e6b34a; flex: none; }
.auth-ads-head h2 {
  margin: 0;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.02em;
  color: #143a68;
  font-weight: 800;
}
.auth-ads-head p { margin: 8px 0 0; color: #56698a; font-size: 14px; }

.auth-ads-featured {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  padding: 24px 28px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(120deg, #0c2f57 0%, #0f3a66 45%, #14487c 100%);
}
.auth-ads-plane {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  height: 100%;
  width: 62%;
}
.auth-ads-featured-copy { max-width: 58%; position: relative; z-index: 1; }
.auth-ads-featured small {
  display: block;
  font-size: clamp(13px, 1.1vw, 18px);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.auth-ads-featured h3 {
  margin: 8px 0 6px;
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 800;
}
.auth-ads-featured h3 strong { color: #e6b34a; }
.auth-ads-featured p { margin: 0 0 16px; font-size: clamp(14px, 1.2vw, 18px); font-weight: 500; }

.auth-ads-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 9px;
  color: #fff;
  background: #0f4d86;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-sizing: border-box;
}
.auth-ads-cta-gold {
  color: #23364f;
  background: #e6b34a;
  min-height: 46px;
  padding: 0 20px;
  font-size: 13.5px;
}
.auth-ads-cta:hover { filter: brightness(1.06); }
.auth-ads-ico { width: 16px; height: 16px; flex: none; }

.auth-ads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.auth-ads-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px 14px;
  text-align: center;
  border: 1px solid #e2e9f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20, 60, 100, 0.06);
}
.auth-ads-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 12px;
  color: #fff;
  background: linear-gradient(150deg, #1a6fb0, #0e4e88);
  box-shadow: 0 8px 16px rgba(14, 78, 136, 0.22);
}
.auth-ads-icon .material-symbols-outlined { font-size: 24px; color: #fff; }
.auth-ads-card h3 {
  margin: 0 0 8px;
  color: #143a68;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.auth-ads-card p { margin: 0 0 12px; color: #5b6f8b; font-size: 12.5px; line-height: 1.55; }
.auth-ads-card .auth-ads-cta { width: 100%; margin-top: auto; }

.auth-ads-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  color: #14538c;
  font-weight: 700;
  font-size: 15px;
}
.auth-ads-contact::before,
.auth-ads-contact::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e9f2;
}
.auth-ads-contact span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  white-space: nowrap;
}
.auth-ads-contact a { color: inherit; text-decoration: none; }
.auth-ads-contact a:hover { text-decoration: underline; }
.auth-ads-contact .material-symbols-outlined { font-size: 18px; }
.auth-ads-fb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid #d5deea;
}
.auth-ads-fb-ico { width: 16px; height: 16px; flex: none; }

@media (max-width: 1100px) {
  .auth-page { grid-template-columns: 1fr; width: min(780px, 100%); }
  .auth-screen .auth-card { max-width: 540px; width: 100% !important; margin: 0 auto; height: auto; }
  .auth-ads-featured-copy { max-width: 64%; }
}

@media (max-width: 720px) {
  .auth-screen { padding: 16px 10px 24px !important; }
  .auth-page { width: 100%; gap: 16px; }
  .auth-ads { padding: 18px 16px 16px; border-radius: 18px; }
  .auth-ads-featured { min-height: 220px; padding: 20px 18px; }
  .auth-ads-featured-copy { max-width: 100%; }
  .auth-ads-plane { width: 100%; opacity: 0.32; }
  .auth-ads-grid { grid-template-columns: 1fr; }
  .auth-ads-card { min-height: 0; }
  .auth-ads-contact { font-size: 14px; }
  .auth-ads-contact span { white-space: normal; justify-content: center; }
}
