/* TSC 2026 login page redesign — default portal only */

body.loginpage {
  background: #EAF1F6;
}

.login-split {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* ── Left panel ── */
.login-panel-left {
  width: 50%;
  min-width: 360px;
  background: #EAF1F6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.22);
}

.login-form-wrap {
  width: 100%;
  max-width: 430px;
}

.login-welcome {
  font-family: 'acumin-pro', 'Montserrat', sans-serif;
  font-size: 3.25rem;
  font-weight: 600;
  color: #2F5977;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
  line-height: 1.1;
}

.login-subtitle {
  font-size: 0.9rem;
  color: #6A7580;
  margin: 0 0 2rem;
}

/* Fields box */
.login-fields-box {
  background: #fff;
  border: 1px solid #D7DEE4;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.login-field {
  padding: 0.55rem 1rem 0.65rem;
  box-shadow: inset 3px 0 0 transparent;
  transition: box-shadow 0.15s;
}

.login-field:focus-within {
  box-shadow: inset 3px 0 0 #2F5977;
}

.login-field + .login-field {
  border-top: 1px solid #D7DEE4;
}

.login-field label {
  display: block;
  font-size: 0.85rem;
  color: #6A7580;
  margin-bottom: 0.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.login-field input {
  display: block;
  width: 100%;
  border: none;
  outline: none;
  padding: 0;
  font-size: 0.9rem;
  color: #25303A;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
}

.login-field input::placeholder {
  color: #D7DEE4;
}

/* Aux row */
.login-aux {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6A7580;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}

.login-remember input[type="checkbox"] {
  margin: 0;
  accent-color: #2F5977;
  cursor: pointer;
}

.login-aux a {
  color: #2F5977;
  text-decoration: none;
  font-weight: 600;
}

.login-aux a:hover {
  color: #25303A;
}

/* Actions */
.login-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-login-primary {
  background: #2F5977;
  color: #fff;
  border: none;
  padding: 0.72rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-login-primary:hover {
  background: #264c66;
}

.btn-login-sso {
  background: transparent;
  border: 1px solid #2F5977;
  color: #2F5977;
  padding: 0.72rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-login-sso:hover {
  background: #2F5977;
  color: #fff;
}

#link-back a {
  font-size: 0.85rem;
  color: #6A7580;
  text-decoration: none;
}

#link-back a:hover {
  color: #2F5977;
}

/* Version footer */
.login-version {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: #6A7580;
  margin-bottom: 0;
}

/* ── Right panel ── */
.login-panel-right {
  flex: 1;
  background: #f3f5f7;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-illustration {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.login-logo-corner {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
}

.login-logo-corner img {
  height: 36px;
  width: auto;
  opacity: 0.85;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .login-panel-left {
    width: 100%;
    min-width: 0;
  }
  .login-panel-right {
    display: none;
  }
}
