/* body {
	background-color: #fff
}

#wrapper {
	height: 100vh;
	overflow-x: hidden;
	background: linear-gradient(45deg, #164966, #0082A3);
}

#wrapper #login-form {
margin: 4% auto 2%;
    width: 29%;
    padding: 5em 4em;
    background: #fff;
    border-radius: 8px;position: relative;
}

#wrapper #login-form .wrapper-title {
	font-size: 4rem;
	margin-bottom: 1rem
}

#wrapper #login-form .wrapper-subtitle {
	color: #a8aebb;
	font-size: 1.7rem;
	line-height: 2.5rem
}

#wrapper #login-form .wrapper-logo {
	margin-bottom: 4rem;text-align: center;
}

#wrapper #login-form .wrapper-logo img {
	width: 100%;
}

input.logintype{width: 25px;height: 25px}
.type{display: inline-flex;margin: 0 auto;justify-content: center;}
input.logintype.stdnt {margin-left: 14%;}

.labelname{padding-left: 12px;font-size: 20px;font-weight: 600;color: #000;}


@media screen and (max-width:768px) {
	#wrapper {
	height: 100vh;
	overflow-x: hidden;
	background: #fff;border: 4px solid #afcb1f;
}
	#wrapper #login-form {
		margin: 4% auto 2%;
		padding: 5rem 9rem;
		width: 100%;
		
	}
}
@media screen and (max-width: 500px){
#wrapper #login-form {
		margin: 4% auto 2%;
		padding: 5rem 2rem;
		width: 100%;
		
	}
}


@media screen and (min-width:768px) and (max-width: 1000px){
	#wrapper #login-form {
		padding: 3rem 5rem;
		width: 50%;
	}
}

@media screen and (min-width:1000px) and (max-width: 1500px){
	#wrapper #login-form {
		padding: 3rem 5rem;
		width: 40%;
	}
}

.fields{
	display:none;
	padding:10px;
}  

 */

 
:root {
  --brand-dark: #0B2E45;
  --brand-deep: #07223A;
  --brand: #0082A3;
  --brand-lit: #22C1DC;
  --ink: #14212B;
  --muted: #6B7785;
  --line: #DDE3E8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: #fff;
  font-family: "Inter", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ================= page shell ================= */
#wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  background:
    radial-gradient(1200px 700px at 85% 20%, #0E6E8C 0%, rgba(14,110,140,0) 60%),
    linear-gradient(120deg, #06203A 0%, #0B3A57 45%, #0A5E7A 100%);
  background-size: 100% 100%, 200% 200%;
  animation: drift-bg 22s ease infinite;
}

@keyframes drift-bg {
  0%, 100% { background-position: 0% 50%, 0% 50%; }
  50%      { background-position: 0% 50%, 100% 50%; }
}

/* ---------- ambient background layer ---------- */
.bg-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-dots {
  position: absolute;
  top: -5%;
  right: -4%;
  width: 46%;
  height: 110%;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
          mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
  opacity: .5;
}

.bg-ecg {
  position: absolute;
  bottom: 12%;
  left: 0;
  width: 100%;
  height: 160px;
}

.bg-ecg path {
  fill: none;
  stroke: rgba(255, 255, 255, .16);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1800;
  animation: ecg-trace 11s linear infinite;
}

@keyframes ecg-trace {
  from { stroke-dashoffset: 1800; }
  to   { stroke-dashoffset: 0; }
}

/* ================= split card ================= */
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1020px;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: stretch;
  border-radius: 22px;
  background: linear-gradient(160deg, #0E3D5A 0%, #0A2C44 100%);
  box-shadow: 0 40px 90px rgba(3, 20, 33, .5);
}

/* ---------- left: brand panel ---------- */
.auth-brand {
  position: relative;
  overflow: hidden;
  padding: 3rem 2.75rem 0;
  display: flex;
  flex-direction: column;
  border-radius: 22px 0 0 22px;
  color: #fff;
}

.brand-watermark {
  position: absolute;
  top: -14px;
  left: -18px;
  width: 210px;
  opacity: .07;
  filter: grayscale(1) brightness(3);
  pointer-events: none;
}

.brand-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.brand-logo {
  width: 132px;
  height: auto;
  margin-bottom: 1.25rem;
}

.brand-tagline {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}

.brand-rule {
  display: block;
  width: 46px;
  height: 3px;
  margin: .75rem 0 1rem;
  border-radius: 2px;
  background: var(--brand-lit);
}

.brand-copy {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .62);
}

/* ---------- signature: glowing data platform ---------- */
.brand-stage {
  position: relative;
  z-index: 2;
  margin-top: 2.25rem;
  padding-bottom: 2.5rem;
}

.stage-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  height: 130px;
}

.stage-bars span {
  width: 26px;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--brand-lit), rgba(34, 193, 220, .12));
  box-shadow: 0 0 22px rgba(34, 193, 220, .45);
  transform-origin: bottom;
  animation: bar-rise .9s cubic-bezier(.22,1,.36,1) backwards;
}

.stage-bars span:nth-child(1) { animation-delay: .05s; }
.stage-bars span:nth-child(2) { animation-delay: .15s; }
.stage-bars span:nth-child(3) { animation-delay: .25s; }
.stage-bars span:nth-child(4) { animation-delay: .35s; }
.stage-bars span:nth-child(5) { animation-delay: .45s; }

@keyframes bar-rise {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

.stage-plinth {
  height: 26px;
  margin: 0 auto;
  width: 78%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34,193,220,.55), rgba(34,193,220,0) 78%);
  filter: blur(2px);
}

/* ---------- floating medical icons ---------- */
.brand-ico {
  position: absolute;
  z-index: 1;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.125rem;
  opacity: .35;
}

.brand-ico.b1 { top: 52%; right: 8%;  animation: ico-drift-a 20s ease-in-out infinite; }
.brand-ico.b2 { top: 66%; left: 12%;  animation: ico-drift-b 24s ease-in-out infinite; }
.brand-ico.b3 { top: 78%; left: 4%;   width: 38px; height: 38px; font-size: .95rem; opacity: .25; animation: ico-drift-a 26s ease-in-out infinite; }

@keyframes ico-drift-a {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(10px, -18px); }
}

@keyframes ico-drift-b {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-12px, 16px); }
}

/* ================= right: form panel ================= */
#wrapper #login-form {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.25rem 4rem;
  background: #fff;
  border-radius: 22px;
  box-shadow: -18px 0 50px rgba(4, 22, 35, .28);
  transition: box-shadow .35s ease;
}

#wrapper #login-form .wrapper-logo {
  margin-bottom: 1.5rem;
  text-align: center;
}

#wrapper #login-form .wrapper-logo img {
  width: auto;
  max-width: 150px;
  height: auto;
}

#wrapper #login-form .wrapper-subtitle {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
  text-align: center;
  margin: .5rem 0 1.5rem;
}

/* ---------- role radios ---------- */
.type {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.type label,
.type .radio-item {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

input.logintype {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #C8D1D9;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, border-width .15s;
}

input.logintype:checked { border: 5px solid var(--brand); }

input.logintype:focus-visible {
  outline: 3px solid rgba(0, 130, 163, .35);
  outline-offset: 2px;
}

input.logintype.stdnt { margin-left: 0; }

.labelname {
  padding-left: 8px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- inputs ---------- */
.form-group { margin-bottom: 1rem; }

.form-group > label {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: .375rem;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: .625rem;
  height: 48px;
  padding: 0 .875rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.input-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 130, 163, .14);
}

.input-wrap i { color: #98A4B0; font-size: 1.05rem; }
.input-wrap:focus-within i { color: var(--brand); }

.input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  height: 100%;
  font-size: .9375rem;
  color: var(--ink);
  background: transparent;
}

.input-wrap input::placeholder { color: #A9B3BD; }

/* ---------- links + button ---------- */
.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8125rem;
  margin-bottom: 1.25rem;
}

.form-meta a { color: var(--brand); text-decoration: none; }
.form-meta a:hover { text-decoration: underline; }

.btn-submit {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #0E9BB4, var(--brand));
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter .2s, transform .08s, box-shadow .2s;
  box-shadow: 0 10px 24px rgba(0, 130, 163, .28);
}

.btn-submit:hover  { filter: brightness(1.06); }
.btn-submit:active { transform: scale(.99); }
.btn-submit:focus-visible { outline: 3px solid rgba(0,130,163,.4); outline-offset: 2px; }

.form-footer {
  text-align: center;
  font-size: .8125rem;
  color: var(--muted);
  margin: 1.25rem 0 0;
}

.form-footer a { color: var(--brand); text-decoration: none; font-weight: 500; }

/* ---------- conditional fields ---------- */
.fields { display: none; padding: 0; }
.fields.active { display: block; }

/* ================= responsive ================= */
@media screen and (max-width: 900px) {
  .auth-card {
    max-width: 460px;
    grid-template-columns: 1fr;
    background: transparent;
    box-shadow: none;
  }
  .auth-brand { display: none; }
  #wrapper #login-form {
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(4, 22, 35, .35);
  }
}

@media screen and (max-width: 520px) {
  #wrapper { padding: 1.25rem 1rem; }
  .bg-dots, .bg-ecg { display: none; }
  #wrapper #login-form { padding: 2.25rem 1.5rem; }
}

/* ---------- accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  #wrapper,
  .bg-ecg path,
  .stage-bars span,
  .brand-ico { animation: none; }
  .bg-ecg path { stroke-dasharray: none; }
  .stage-bars span { transform: none; opacity: 1; }
}

#login-form:hover { box-shadow: -18px 0 60px rgba(4, 22, 35, .38); }


.btn-primary{background-image: linear-gradient(45deg, #07869c, #0b3049)!important;
    border: 0!important;}