
@charset "utf-8";
/* CSS Document */
/* =========================================================
   Base settings
   ========================================================= */

:root {
  --primary: #1558dd;
  --primary-dark: #0a3aa8;
  --navy: #071a43;
  --text: #101d3f;
  --muted: #5e6c8d;
  --border: #ced6e3;
  --light-blue: #edf5ff;
  --danger: #c62828;
  --success: #19793a;
  --white: #ffffff;
  --panel-radius: 16px;
  --input-radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 22px;
  background:
    radial-gradient(
      circle at top left,
      rgba(207, 220, 240, 0.42),
      transparent 32%
    ),
    #f7f8fa;
  color: var(--text);
  font-family:
    Inter,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================================================
   Main layout
   ========================================================= */

.login-page {
  display: grid;
  grid-template-columns: minmax(500px, 0.96fr) minmax(620px, 1fr);
  gap: 20px;
  width: min(1650px, 100%);
  min-height: calc(100vh - 44px);
  margin: 0 auto;
}

.login-panel,
.visual-panel {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--panel-radius);
  box-shadow:
    0 8px 28px rgba(23, 39, 72, 0.09),
    0 1px 3px rgba(23, 39, 72, 0.05);
}

/* =========================================================
   Left panel
   ========================================================= */

.login-panel {
  display: flex;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.login-content {
  display: flex;
  flex-direction: column;
  width: min(100%, 560px);
}

.institute-header {
  margin-bottom: 34px;
  position: absolute;
    top: 50px;
    left: 180px;
}

.institute-logo {
  display: block;
  width: min(100%, 520px);
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
}

/* =========================================================
   Heading
   ========================================================= */

.login-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  margin-top:90px;
  justify-content: center;
  text-align: center;
}

.title-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 66px;
  color: #2765d7;
}

.title-icon svg {
  width: 100%;
  height: 100%;
}

.login-title h1 {
  margin: 0;
  color: #091a43;
  font-size: clamp(24px, 3.2vw, 24px);
  font-weight: 700;
  /*letter-spacing: -1.5px;*/
  line-height: 1.1;
}

.login-title p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
}

/* =========================================================
   SSO button
   ========================================================= */

.login-form {
  width: 100%;
}

.sso-button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 13px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--input-radius);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.sso-button:hover {
  border-color: #9db7e8;
  box-shadow: 0 5px 16px rgba(21, 88, 221, 0.09);
  transform: translateY(-1px);
}

.sso-button:focus-visible {
  outline: 3px solid rgba(21, 88, 221, 0.2);
  outline-offset: 2px;
}

.google-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: 19px;
  background:
    conic-gradient(
      from -45deg,
      #4285f4 0 25%,
      #34a853 0 46%,
      #fbbc05 0 70%,
      #ea4335 0 100%
    );
  background-clip: text;
  color: transparent;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.sso-text {
  display: flex;
  flex-direction: column;
}

.sso-text strong {
  font-size: 16px;
  font-weight: 700;
}

.sso-text small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   Divider
   ========================================================= */

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 27px 0;
  color: #67728b;
}

.divider span {
  height: 1px;
  background: #d6dde7;
}

.divider strong {
  font-size: 14px;
  font-weight: 500;
}

/* =========================================================
   Form fields
   ========================================================= */

.form-group {
  margin-bottom: 17px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #0b1940;
  font-size: 14px;
  font-weight: 650;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  width: 100%;
  height: 54px;
  padding: 0 50px 0 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--input-radius);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.input-wrapper input::placeholder {
  color: #7a869e;
}

.input-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 88, 221, 0.1);
}

.input-wrapper input.input-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.08);
}

.input-icon {
  position: absolute;
  left: 15px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #62708e;
  pointer-events: none;
}

.input-icon svg,
.password-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle {
  position: absolute;
  right: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #64718d;
  cursor: pointer;
  place-items: center;
}

.password-toggle:hover {
  background: #f1f4f9;
  color: var(--primary);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--primary);
}

.eye-closed {
  display: none;
}

.password-toggle.is-visible .eye-open {
  display: none;
}

.password-toggle.is-visible .eye-closed {
  display: block;
}

.error-message {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: var(--danger);
  font-size: 12px;
}

/* =========================================================
   Options
   ========================================================= */

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: -2px 0 20px;
}

.checkbox-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #596683;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

.checkbox-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.custom-checkbox {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #8c9ab3;
  border-radius: 4px;
  background: var(--white);
}

.checkbox-label input:checked + .custom-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input:checked + .custom-checkbox::after {
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.checkbox-label input:focus-visible + .custom-checkbox {
  box-shadow: 0 0 0 3px rgba(21, 88, 221, 0.18);
}

.forgot-link {
  font-size: 14px;
  font-weight: 500;
}

/* =========================================================
   Sign-in button
   ========================================================= */

.sign-in-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 55px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #194769, #194769);
  border: 0;
  border-radius: var(--input-radius);
  box-shadow: 0 8px 18px rgba(21, 88, 221, 0.18);
  color: var(--white);
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.sign-in-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sign-in-button:hover {
  box-shadow: 0 10px 24px rgba(21, 88, 221, 0.28);
  transform: translateY(-1px);
}

.sign-in-button:active {
  transform: translateY(0);
}

.sign-in-button:focus-visible {
  outline: 3px solid rgba(21, 88, 221, 0.25);
  outline-offset: 3px;
}

.sign-in-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

/* =========================================================
   Form status
   ========================================================= */

.form-status {
  display: none;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 7px;
  font-size: 13px;
}

.form-status.success {
  display: block;
  background: #edf9f0;
  border: 1px solid #b5dfbf;
  color: var(--success);
}

.form-status.error {
  display: block;
  background: #fff0f0;
  border: 1px solid #efbcbc;
  color: var(--danger);
}

/* =========================================================
   Security message
   ========================================================= */

.security-message {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 23px;
  margin-bottom:20px;
  padding: 5px 18px;
  background: linear-gradient(
    100deg,
    #f5f9ff,
    #eaf3ff
  );
  border: 1px solid #c4dafb;
  border-radius: 9px;
}

.security-message-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 40px;
  color: #2765d7;
}

.security-message-icon svg,
.feature-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-message p {
  margin: 0;
  color: #4d5d7e;
  font-size: 14px;
  line-height: 1.45;
}

/* =========================================================
   Support footer
   ========================================================= */

.support-footer {
  margin-top: auto;
  padding-top: 25px;
  color: #69758e;
  font-size: 14px;
  text-align: center;
}

.support-footer a {
  font-weight: 500;
}

/* =========================================================
   Right panel
   ========================================================= */

.visual-panel {
  display: grid;
  grid-template-rows: minmax(440px, 64%) minmax(285px, 36%);
  background: #194769;
}

.campus-photo {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.campus-photo::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 70px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(25, 71, 105, 0.55)
  );
  content: "";
  pointer-events: none;
}

.campus-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.security-features {
  display: flex;
  flex-direction: column;
  padding: 34px 40px 18px;
 /* background:
    radial-gradient(
      circle at 50% -20%,
      rgba(36, 107, 196, 0.38),
      transparent 46%
    ),*/
    linear-gradient(135deg, #0d376f, #071e47);
  color: var(--white);
}

.features-grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.feature-card {
  position: relative;
  padding: 0 22px;
  text-align: center;
}

.feature-card:not(:last-child)::after {
  position: absolute;
  top: 23px;
  right: 0;
  width: 1px;
  height: 156px;
  background: rgba(255, 255, 255, 0.35);
  content: "";
}

.feature-icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 0 auto 15px;
  padding: 17px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
  place-items: center;
}

.feature-icon-blue {
  color: #3380ff;
}

.feature-icon-orange {
  color: #ff8619;
}

.feature-icon-green {
  color: #52cc6b;
}

.feature-card h2 {
  margin: 0 0 7px;
  color: var(--white);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.6;
}

.copyright {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  text-align: center;
}

/* =========================================================
   Responsive
   ========================================================= */
   @media (max-width: 1550px) {
        .institute-header {
    margin-bottom: 25px;
	left:3%;
	top:4%;
  }
   .institute-logo {
   max-height:70px;
   
  }
  .login-title {
    margin-top:70px;
  }

  .feature-card {
      padding:0 10px;
  }
  
   }
   

@media (max-width: 1200px) {
  body {
    padding: 14px;
  }

  .login-page {
    grid-template-columns: minmax(430px, 0.9fr) minmax(500px, 1fr);
    min-height: calc(100vh - 28px);
  }

  .login-panel {
    padding: 36px;
  }

  .login-title h1 {
    font-size: 26px;
  }

  .security-features {
    padding-right: 20px;
    padding-left: 20px;
  }

  .feature-card {
    padding-right: 12px;
    padding-left: 12px;
  }
   .institute-header {
    margin-bottom: 25px;
	left:1%;
	top:1%;
  }
   .institute-logo {
   max-height:70px;
   
  }
}

@media (max-width: 930px) {
  body {
    padding: 0;
    background: var(--white);
  }

  .login-page {
    display: block;
    width: 100%;
    min-height: 100vh;
  }

  .login-panel,
  .visual-panel {
    border-radius: 0;
    box-shadow: none;
  }

  .login-panel {
    padding: 42px 25px;
  }

  .login-content {
    width: min(100%, 620px);
  }

  .visual-panel {
    grid-template-rows: 420px auto;
  }

  .security-features {
    min-height: 330px;
  }
}

@media (max-width: 650px) {
  .login-panel {
    padding: 30px 18px;
  }

  .institute-header {
    margin-bottom: 25px;
	left:25px;
	top:20px;
  }
   .institute-logo {
   max-height:70px;
   
  }

  .login-title {
    align-items: flex-start;
    gap: 13px;
  }

  .title-icon {
    width: 45px;
    height: 52px;
  }

  .login-title h1 {
    font-size: 31px;
    letter-spacing: -0.8px;
  }

  .login-title p {
    margin-top: 8px;
    font-size: 15px;
  }

  .form-options {
    align-items: flex-start;
  }

  .visual-panel {
    grid-template-rows: 300px auto;
  }

  .campus-photo {
    min-height: 300px;
  }

  .security-features {
    padding: 32px 22px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-card:not(:last-child)::after {
    top: auto;
    right: 12%;
    bottom: -15px;
    left: 12%;
    width: auto;
    height: 1px;
  }

  .feature-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 10px;
    padding: 15px;
  }

  .copyright {
    margin-top: 35px;
  }
}

@media (max-width: 420px) {
  .login-title {
    display: block;
  }

  .title-icon {
    margin-bottom: 12px;
  }

  .login-title h1 {
    font-size: 20px;
  }

  .sso-button {
    padding-right: 13px;
    padding-left: 13px;
  }

  .google-icon {
    margin-right: 13px;
  }

  .form-options {
    flex-direction: column;
    gap: 10px;
  }

  .security-message {
    align-items: flex-start;
  }
}

/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

