/* Full-viewport split login */

.tms-login-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45fr 55fr;
}

.tms-login-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  background: #fff;
}

.tms-login-right {
  position: relative;
  background: #1e3a5f url('../img/fafadoo_bg9.png') center/cover no-repeat;
  min-height: 280px;
}
.tms-login-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(32, 107, 196, 0.85) 0%, rgba(30, 58, 95, 0.75) 100%);
}
.tms-login-hero {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tms-login-hero h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 0.5rem; }
.tms-login-hero p { opacity: 0.9; max-width: 28rem; }

.tms-login-brand { max-height: 56px; margin-bottom: 1.5rem; }
.tms-login-form { max-width: 400px; width: 100%; }

@media (max-width: 768px) {
  .tms-login-split { grid-template-columns: 1fr; grid-template-rows: auto 240px; }
  .tms-login-left { order: 1; padding: 2rem 1.25rem; }
  .tms-login-right { order: 0; min-height: 200px; }
  .tms-login-hero { padding: 1.5rem; justify-content: center; }
}
