/* Sri Ram Exams V6.4.5 — registration/login access.
   Scoped to new V6.4.5 classes and existing exact header hooks only. */

/* Desktop header: clear Login + Create Free Account path. */
.sre-header-tools .e2-desktop-login.sre-v645-login-link{
  background:#fff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
  box-shadow:none;
}
.sre-header-tools .e2-desktop-login.sre-v645-login-link:hover{
  background:#eff6ff;
  border-color:#93c5fd;
  transform:translateY(-1px);
}
.sre-v645-register-header{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:11px;
  border:0;
  background:linear-gradient(135deg,#f97316,#ef4444);
  color:#fff!important;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 8px 20px rgba(239,68,68,.16);
}
.sre-v645-register-header:hover{
  transform:translateY(-1px);
  box-shadow:0 11px 24px rgba(239,68,68,.22);
}

/* Mobile menu account block. */
.sre-v645-mobile-account{
  display:none;
  gap:9px;
  padding:13px 0 2px;
  margin-top:8px;
  border-top:1px solid var(--border,#e5e7eb);
}
.sre-v645-mobile-account a{
  display:flex!important;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 12px!important;
  border-radius:11px;
  font-weight:900;
  text-align:center!important;
  text-decoration:none;
}
.sre-v645-mobile-primary{
  background:linear-gradient(135deg,#2563eb,#4f46e5);
  color:#fff!important;
  border:1px solid transparent;
}
.sre-v645-mobile-secondary{
  background:var(--card,#fff);
  color:#1d4ed8!important;
  border:1px solid #bfdbfe;
}

/* Auth page. */
.sre-v645-auth-shell{
  width:min(100%,1040px);
  margin:10px auto 0;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(380px,1.1fr);
  gap:22px;
  align-items:stretch;
}
.sre-v645-auth-intro,
.sre-v645-auth-card{
  min-width:0;
  border:1px solid var(--e2c-border,#e4eaf2);
  border-radius:22px;
}
.sre-v645-auth-intro{
  position:relative;
  overflow:hidden;
  padding:30px;
  background:linear-gradient(145deg,#0f2b5b,#1d4ed8 55%,#4338ca);
  color:#fff;
  box-shadow:0 18px 42px rgba(29,78,216,.16);
}
.sre-v645-auth-intro:after{
  content:"";
  position:absolute;
  right:-70px;
  bottom:-80px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(255,255,255,.07);
  pointer-events:none;
}
.sre-v645-auth-kicker{
  display:inline-flex;
  margin-bottom:14px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.10);
  color:#dbeafe;
  font-size:10px;
  line-height:1;
  font-weight:950;
  letter-spacing:.08em;
}
.sre-v645-auth-intro h2{
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(25px,3.2vw,36px);
  line-height:1.12;
  letter-spacing:-.5px;
}
.sre-v645-auth-intro>p{
  margin:0;
  color:#dbeafe;
  line-height:1.7;
}
.sre-v645-auth-benefits{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:23px;
}
.sre-v645-auth-benefits span{
  display:flex;
  gap:7px;
  align-items:center;
  padding:10px 11px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(255,255,255,.08);
  color:#eff6ff;
  font-size:12px;
}
.sre-v645-auth-benefits b{font-weight:850}
.sre-v645-auth-note{
  margin-top:20px!important;
  padding-top:17px;
  border-top:1px solid rgba(255,255,255,.13);
  font-size:12px;
}

.sre-v645-auth-card{
  padding:20px;
  background:var(--e2c-bg,#fff);
  box-shadow:0 14px 34px rgba(15,23,42,.07);
}
.sre-v645-auth-tabs{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:6px;
  padding:5px;
  margin-bottom:18px;
  border:1px solid #dbe3ef;
  border-radius:14px;
  background:#f5f8fc;
}
.sre-v645-auth-tab{
  min-height:42px;
  padding:8px 10px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#64748b;
  font:inherit;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}
.sre-v645-auth-tab.is-active{
  background:#fff;
  color:#1d4ed8;
  box-shadow:0 5px 14px rgba(15,23,42,.07);
}
.sre-v645-auth-form{
  display:grid;
  gap:13px;
}
.sre-v645-auth-form[hidden]{display:none!important}
.sre-v645-form-head h3{
  margin:0 0 4px;
  color:#0f172a;
  font-size:22px;
  line-height:1.2;
}
.sre-v645-form-head p{
  margin:0;
  color:#64748b;
  font-size:13px;
}
.sre-v645-auth-form label{
  display:grid;
  gap:7px;
  color:#334155;
  font-size:12px;
  font-weight:850;
}
.sre-v645-auth-form input{
  width:100%;
  min-height:47px;
  padding:11px 12px;
  border:1px solid #d5deea;
  border-radius:11px;
  background:#fff;
  color:#0f172a;
  font:inherit;
  outline:none;
}
.sre-v645-auth-form input:focus{
  border-color:#60a5fa;
  box-shadow:0 0 0 3px rgba(59,130,246,.12);
}
.sre-v645-form-row{
  display:flex;
  justify-content:flex-end;
  margin-top:-2px;
}
.sre-v645-wide-btn{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
}
.sre-v645-secondary-btn{
  width:100%;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #bfdbfe;
  border-radius:11px;
  background:#eff6ff;
  color:#1d4ed8;
  font-weight:900;
  text-decoration:none;
}
.sre-v645-text-link,
.sre-v645-inline-switch{
  color:#1d4ed8;
  font-weight:850;
  text-decoration:none;
}
.sre-v645-inline-switch{
  padding:0;
  border:0;
  background:transparent;
  font:inherit;
  cursor:pointer;
}
.sre-v645-inline-switch:hover,
.sre-v645-text-link:hover{text-decoration:underline}
.sre-v645-switch-copy,
.sre-v645-privacy{
  margin:0;
  text-align:center;
  color:#64748b;
  font-size:12px;
  line-height:1.55;
}
.sre-v645-auth-form .e2-auth-result{
  min-height:0;
  color:#b91c1c;
  font-size:12px;
  font-weight:800;
}
.sre-v645-signed-card{
  display:grid;
  align-content:center;
  gap:11px;
}
.sre-v645-signed-card .sre-v645-text-link{text-align:center;margin-top:3px}

/* Prevent the old generic two-form grid from influencing the new shortcode. */
.sre-v645-auth-shell .e2c-auth{display:block}

@media(max-width:1120px){
  .sre-v645-register-header{padding:10px 11px;font-size:12px}
  .sre-header-tools .e2-desktop-login.sre-v645-login-link{padding-left:11px;padding-right:11px}
}
@media(max-width:900px){
  .sre-v645-register-header{display:none!important}
  .sre-v645-mobile-account{display:grid;grid-template-columns:1fr 1.35fr}
  .sre-v645-auth-shell{grid-template-columns:1fr;gap:14px}
  .sre-v645-auth-intro{padding:24px}
}
@media(max-width:700px){
  .sre-v645-mobile-account{grid-template-columns:1fr}
  .sre-v645-auth-shell{margin-top:0}
  .sre-v645-auth-intro,.sre-v645-auth-card{border-radius:18px}
  .sre-v645-auth-intro{padding:21px 18px}
  .sre-v645-auth-card{padding:16px}
  .sre-v645-auth-benefits{grid-template-columns:1fr 1fr;gap:7px}
  .sre-v645-auth-benefits span{padding:9px;font-size:11px}
  .sre-v645-auth-tabs{grid-template-columns:1fr 1.3fr}
}
@media(max-width:430px){
  .sre-v645-auth-benefits{grid-template-columns:1fr}
  .sre-v645-auth-tab{font-size:12px;padding:7px 6px}
}

html[data-theme="dark"] .sre-header-tools .e2-desktop-login.sre-v645-login-link{
  background:#0f1d31;color:#93c5fd;border-color:#334a6b;
}
html[data-theme="dark"] .sre-v645-auth-card{
  background:#101b2d;border-color:#223047;color:#eaf0fa;
}
html[data-theme="dark"] .sre-v645-auth-tabs{
  background:#0c1728;border-color:#33445f;
}
html[data-theme="dark"] .sre-v645-auth-tab.is-active{
  background:#17263b;color:#93c5fd;
}
html[data-theme="dark"] .sre-v645-form-head h3,
html[data-theme="dark"] .sre-v645-auth-form label{color:#eaf0fa}
html[data-theme="dark"] .sre-v645-form-head p,
html[data-theme="dark"] .sre-v645-switch-copy,
html[data-theme="dark"] .sre-v645-privacy{color:#9fb0c8}
html[data-theme="dark"] .sre-v645-auth-form input{
  background:#0c1728;color:#eaf0fa;border-color:#33445f;
}
html[data-theme="dark"] .sre-v645-mobile-secondary{
  background:#101b2d;color:#93c5fd!important;border-color:#334a6b;
}
