/* The approved BrandLook entry composition, applied to the actual PHP login views.
   Keep the existing login controls and handlers; only their presentation changes. */
body:has(#homeView:not(.hidden)) {
  background: #fff;
}
body:has(#homeView:not(.hidden)) .container {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
body:has(#homeView:not(.hidden)) #homeView {
  width: 100%;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  direction: rtl;
  background: #fff;
  font-family: Tajawal, Arial, sans-serif;
}
#homeView .home-brand-panel {
  position: relative;
  overflow: hidden;
  padding: 35px 48px 28px;
}
#homeView .home-brand-panel::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  left: -180px;
  bottom: -160px;
  border: 1px solid #e52d4f66;
  border-radius: 50%;
  box-shadow: 0 0 0 26px #e52d4f16, 0 0 0 52px #e52d4f09;
  pointer-events: none;
}
#homeView .home-brand-lockup,
#homeView .home-brand-copy,
#homeView .home-brand-note { position: relative; z-index: 1; }
#homeView .home-brand-lockup img {
  width: 43px;
  height: 43px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
}
#homeView .home-brand-lockup strong { font-size: 23px; line-height: 1; }
#homeView .home-brand-lockup small { font-size: 11px; }
#homeView .home-brand-copy { max-width: 395px; }
#homeView .home-brand-panel h1 {
  font-size: clamp(40px, 4.3vw, 65px);
  line-height: 1.14;
  letter-spacing: -1px;
}
#homeView .home-brand-panel p { max-width: 340px; font-size: 15px; }
#homeView .home-brand-note { max-width: 330px; font-size: 12px; }
#homeView .home-entry-panel {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
}
#homeView .home-entry-top {
  min-height: 83px;
  margin: 0;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid #e7e5e2;
  font-size: 12px;
}
#homeView .home-entry-top img {
  width: 27px;
  height: 27px;
  padding: 5px;
  border-radius: 9px;
  background: #fff0f1;
}
#homeView .home-entry-top small { font-size: 10px; }
#homeView .home-entry-content {
  max-width: 505px;
  margin: 0 auto;
  padding: 62px 28px 35px;
}
#homeView .home-heading {
  position: relative;
  padding-inline-start: 52px;
  margin-bottom: 27px;
}
#homeView .home-heading-icon {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: #fff0f1;
  color: #e52d4f;
}
#homeView .home-heading .home-eyebrow {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #e52d4f;
}
#homeView .home-heading h2 {
  margin: 0 0 3px;
  font-size: 30px;
  line-height: 1.2;
}
#homeView .home-heading p {
  margin: 0;
  font-size: 13px;
  color: #6f6d70;
}
#homeView .choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 16px;
  padding: 5px;
  border: 1px solid #e7e3df;
  border-radius: 11px;
  background: #f4f2ef;
}
#homeView .choice-grid .choice {
  min-height: 37px;
  padding: 9px 5px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6f6d70;
  font: 500 12px Tajawal, Arial, sans-serif;
}
#homeView .choice-grid .choice.is-active {
  background: #fff;
  color: #e52d4f;
  box-shadow: 0 2px 8px #e52d4f22;
}
#homeView .choice-grid .choice:hover { color: #e52d4f; }
#entryFormSlot > .card,
body:has(#homeView:not(.hidden)) #employeeLoginView,
body:has(#homeView:not(.hidden)) #adminLoginView,
body:has(#homeView:not(.hidden)) #supervisorLoginView {
  display: block;
  position: static;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 23px 22px 19px;
  direction: rtl;
  overflow: visible;
  border: 1px solid #e7e5e2;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px #6d4a4209;
}
body:has(#homeView:not(.hidden)) #employeeLoginView::before,
body:has(#homeView:not(.hidden)) #employeeLoginView::after {
  display: none;
  content: none;
}
#entryFormSlot .management-login-brand { display: none; }
#entryFormSlot .entry-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}
#entryFormSlot .entry-card-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: #fff0f1;
  color: #e52d4f;
}
#entryFormSlot .entry-card-heading h2 {
  margin: 0 0 2px;
  font-size: 17px;
}
#entryFormSlot .entry-card-heading p {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: #6f6d70;
}
body:has(#homeView:not(.hidden)) #employeeLoginView > *,
body:has(#homeView:not(.hidden)) #employeeLoginView > label,
body:has(#homeView:not(.hidden)) #employeeLoginView > button,
body:has(#homeView:not(.hidden)) #employeeLoginView > #employeeSelect,
body:has(#homeView:not(.hidden)) #employeeLoginView > #employeePin,
body:has(#homeView:not(.hidden)) #employeeLoginView > #employeeLoginMsg {
  grid-column: auto;
  margin-inline: 0;
}
#entryFormSlot label {
  display: block;
  margin: 15px 0 7px;
  font-size: 12px;
  color: #6f6d70;
}
#entryFormSlot select,
#entryFormSlot input {
  display: block;
  width: 100%;
  min-height: 43px;
  margin: 0;
  border: 1px solid #e7e5e2;
  border-radius: 9px;
  background: #fff;
  font: 500 14px Tajawal, Arial, sans-serif;
}
body:has(#homeView:not(.hidden)) #employeeLoginView > select,
body:has(#homeView:not(.hidden)) #employeeLoginView > input,
body:has(#homeView:not(.hidden)) #employeeLoginView > button.btn {
  width: 100%;
}
#entryFormSlot .btn {
  display: block;
  width: 100%;
  min-height: 43px;
  margin: 16px 0 0;
  border-radius: 9px;
  background: #e52d4f;
  font: 500 14px Tajawal, Arial, sans-serif;
}
body:has(#homeView:not(.hidden)) #employeeLoginView > button.btn2,
body:has(#homeView:not(.hidden)) #adminLoginView > button.btn2,
body:has(#homeView:not(.hidden)) #supervisorLoginView > button.btn2 { display: none; }
#homeView .home-privacy {
  margin: 25px 0 0;
  text-align: center;
  color: #958d90;
  font-size: 11px;
  line-height: 1.8;
}
@media (max-width: 700px) {
  body:has(#homeView:not(.hidden)) #homeView {
    display: block;
    min-height: 100vh;
  }
  #homeView .home-brand-panel {
    width: 100%;
    height: 255px;
    min-height: 255px;
    padding: 20px 20px 19px;
    gap: 0;
  }
  #homeView .home-brand-panel::after {
    width: 250px;
    height: 250px;
    left: auto;
    right: -140px;
    bottom: -175px;
  }
  #homeView .home-brand-lockup { gap: 9px; }
  #homeView .home-brand-lockup img { width: 36px; height: 36px; }
  #homeView .home-brand-lockup strong { font-size: 19px; }
  #homeView .home-brand-lockup small { font-size: 9px; }
  #homeView .home-brand-panel > div.home-brand-copy:nth-child(2) {
    display: block;
    margin: 27px 0 0;
  }
  #homeView .home-brand-copy .home-eyebrow { font-size: 10px; }
  #homeView .home-brand-panel h1 {
    margin: 6px 0;
    font-size: 29px;
    line-height: 1.14;
  }
  #homeView .home-brand-panel p {
    max-width: 290px;
    margin: 0;
    font-size: 11px;
    line-height: 1.7;
  }
  #homeView .home-entry-top {
    min-height: 58px;
    padding: 0 20px;
  }
  #homeView .home-entry-top small { font-size: 9px; }
  #homeView .home-entry-content { padding: 29px 17px 28px; }
  #homeView .home-heading {
    padding-inline-start: 45px;
    margin-bottom: 21px;
  }
  #homeView .home-heading-icon { width: 34px; height: 34px; }
  #homeView .home-heading h2 { font-size: 25px; }
  #homeView .home-heading p { font-size: 11px; }
  #homeView .choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 13px;
  }
  #homeView .choice-grid .choice { min-height: 36px; font-size: 11px; }
  body:has(#homeView:not(.hidden)) #employeeLoginView,
  body:has(#homeView:not(.hidden)) #adminLoginView,
  body:has(#homeView:not(.hidden)) #supervisorLoginView {
    padding: 20px 16px 17px;
    border-radius: 13px;
  }
  #entryFormSlot .entry-card-heading { margin-bottom: 18px; }
  #entryFormSlot .entry-card-heading h2 { font-size: 16px; }
  #entryFormSlot .entry-card-heading p { font-size: 10px; }
  #homeView .home-privacy { margin-top: 19px; font-size: 10px; }
}