/* container + mesh */
.login-hybrid {
  position: relative;
  display: flex;
  min-height: 100vh;
  background: var(--secondary-color-light);
  overflow: hidden;
  font-family: var(--font-family);
}
#bg-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* panels sizing */
.hero-panel {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  display: flex;
}
.form-panel {
  flex: 0 0 66.667%;
  max-width: 66.667%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding:0 2rem 0 2rem;
}

/* HERO panel */
.hero-panel {
  background: var(--primary-color);
  position: relative;
  align-items: flex-start;
  justify-content: flex-start;
}

/* HERO panel overlay text */
.overlay-text {
  margin: 2rem;
  color: var(--light-color); /* white */
}
.overlay-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--light-color) !important;
}
.overlay-text p {
  font-size: 1.1rem;
  color: var(--light-color) !important;
}

/* FORM CARD */
.form-card {
  background: var(--light-color);
  border-radius: .75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  width: 100%;
}

/* ROLE WRAP – now INSIDE the card */
.role-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.role-option {
  width: 50%;
  flex: 0 0 50%;
  background: var(--primary-color-light);
  display: flex;
  border-radius: 8px 8px 0 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: pointer;
  transition: transform .2s, background .3s;
}
.role-option i {
  font-size: 24px;
  margin:5px 0 0 0;
}
.role-option span {
  font-weight: 600;
  font-size: .95rem;
}

.role-option .underline {
  height: 3px;
  width: 0;
  background: var(--light-color);
  margin-top: .4rem;
  transition: width .3s;
}
.role-option.active {
  background: var(--primary-color);
  color: var(--light-color);
}


/* FORM TITLE */
#form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Floating inputs */
.form-floating .form-control {
  border: 1px solid var(--primary-color-light);
  border-radius: .375rem;
  height: calc(2.5rem + 2px);
}
.form-floating .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 .2rem rgba(1,0,128,0.25);
}

/* Eye toggle */
.password-field .eye-toggle {
  position: absolute;
  top: 50%;
  right: .75rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
}



/* Small links */
.form-card .small {
  text-align: center;
}
.form-card .small a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}
.form-card .small a:hover {
  text-decoration: underline;
}

