:root {
  --blue:       #1a6fc4;
  --blue-light: #2d8ef5;
  --blue-dark:  #0e4d8a;
  --white:      #ffffff;
  --off:        #f7f9fc;
  --text:       #1e2a3a;
  --muted:      #7a8a9a;
  --border:     #dde4ed;
}
*{
    margin:0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

html, body { height: 100%; font-family: 'DM Sans', sans-serif; }

body{
 display: flex;
    
}

.panel-left {
  background-image: linear-gradient(
    180deg,
    rgba(14, 77, 138, 0.35) 0%,
    rgba(26, 111, 196, 0.2) 50%,
    rgba(45, 142, 245, 0.15) 100%
  ), url(images/university.jpg);
  background-position: center;
  background-size: cover;
  flex: 1;

  display: flex;
  flex-direction: column;
  padding: 32px;
  justify-content: space-between;
}
  
.panel-content{
  width: 100%;
  padding: 20px;
  
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.panel-header{
  display: flex;
  gap: 10px;
  
}

.panel-header .panel-logo-icon{
  background-color: white;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  font-size: 22px;
}
.panel-header h2{
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
}

.panel-tagline{
  font-size: 13.5px; color: var(--border);
   font-weight: 300; line-height: 1.55;
}

.nav-link{
  color:var(--white);
  font-family: 'Playfair Display', serif ;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid;
  padding-bottom: 5px;
  transition:  .3s ease;
}

.nav-link:hover{
  border-bottom: 2px solid var(--blue-light);
}



.panel-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--white);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.hero-em {
  color: var(--blue-light);
  font-style: italic;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  line-height: 1.6;
}

.panel-stats {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


.panel-right {
  flex: 0 0 420px;
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.form-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-welcome {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(26,111,196,0.08);
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content;
}

.form-heading {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}

.form-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: -8px;
}

/* ── Fields ── */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.input-wrap {
  position: relative;
}

.input-wrap input {
  width: 100%;
  padding: 13px 44px 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  background: var(--off);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.input-wrap input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,196,0.12);
  background: var(--white);
}

.input-wrap input::placeholder {
  color: var(--muted);
}

.input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
}

.toggle-pw {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

/* ── Extras ── */

.extras {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.remember input[type="checkbox"] { display: none; }

.checkmark {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: all 0.2s;
}

.remember input:checked + .checkmark {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.forgot {
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
  transition: color 0.2s;
}

.forgot:hover { color: var(--blue-dark); }

/* ── Login Button ── */

.btn-login {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(26,111,196,0.35);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,111,196,0.45);
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.divider hr {
  flex: 1;
  border: none;
  border-top: 1.5px solid var(--border);
}

.divider span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* ── SSO Buttons ── */

.sso-row {
  display: flex;
  gap: 10px;
}


.btn-sso {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 10px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.btn-sso:hover {
  border-color: var(--blue);
  background: var(--off);
  transform: translateY(-2px);
}

/* ── Footer ── */
.form-footer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.form-footer a {
  color: var(--blue);
  font-weight: 600;
}

.form-footer a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .panel-left { padding: 24px; }
  .hero-title  { font-size: 28px; }
  .panel-right { flex: 0 0 380px; padding: 32px 24px; }
}
 
/* ── Mobile (max 768px)  */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
 
  /* Left panel hidden */
  .panel-left { display: none; }
 
  /* Right panel becomes full page */
  .panel-right {
    flex: 1;
    width: 100%;
    min-height: 100vh;
    padding: 40px 20px;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 60%);
  }
 
  .form-wrap {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    gap: 14px;
  }
 
  .form-heading { font-size: 28px; }
 
  .form-sub { font-size: 13px; }
 
  /* SSO buttons — row still works at 768, no need to stack */
  .sso-row { gap: 8px; }
  .btn-sso  { font-size: 12px; padding: 10px 8px; }
}
 
/* ── Small Mobile (max 480px) ── */
@media (max-width: 480px) {
  .panel-right { padding: 30px 16px; }
 
  .form-wrap { gap: 12px; }
 
  .form-welcome { font-size: 11px; }
 
  .form-heading { font-size: 24px; }
 
  .form-sub { font-size: 13px; }
 
  .input-wrap input { padding: 12px 40px 12px 14px; font-size: 14px; }
 
  .btn-login { padding: 13px; font-size: 14px; }
 
  /* SSO — stack vertically on very small screens */
  .sso-row {
    flex-direction: column;
    gap: 8px;
  }
 
  .btn-sso {
    width: 100%;
    padding: 12px;
    font-size: 13px;
  }
 
  .extras { flex-wrap: wrap; gap: 10px; }
}
 
/* ── Extra Small (max 360px) ── */
@media (max-width: 360px) {
  .form-heading { font-size: 21px; }
  .panel-right  { padding: 24px 12px; }
}