/* The sign-in page: full screen, no scrolling on a laptop or phone.
   Left (or top on a phone): the website's black and white villa photo with
   the logo. Right: the sign-in, with room for the whole Zoho sign-in box. */
html, body { height: 100%; }
body.signin { background: var(--surface); }

.split { display: flex; min-height: 100vh; min-height: 100dvh; }

.photo {
  position: relative; flex: 1 1 55%;
  background: #7d878a;
  color: #ffffff; display: flex; flex-direction: column; justify-content: space-between; padding: 48px;
}
/* Lighter: the photo brightened, only a soft shade behind the words. */
.photo::before { content: ''; position: absolute; inset: 0; background: url('../images/villa-terrace.webp') center / cover no-repeat; filter: brightness(1.45) contrast(.88); }
.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,34,.30) 0%, rgba(20,30,34,0) 30%, rgba(20,30,34,0) 50%, rgba(20,30,34,.55) 100%); }
.photo > * { position: relative; z-index: 1; }
.photo img.logo { width: min(320px, 70%); height: auto; display: block; }
.photo .hero { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.photo .kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffffff; opacity: .9; }
.photo .headline { font-size: 32px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.photo .tagline { font-size: 15px; font-weight: 400; color: #f2f4f4; text-shadow: 0 1px 10px rgba(0,0,0,.3); }

.panel {
  flex: 0 0 min(520px, 45%); background: var(--surface);
  display: flex; flex-direction: column; justify-content: center; padding: 48px;
}
.panel-inner { width: 100%; max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.panel h1 { font-size: 26px; }
.panel .rule { width: 48px; height: 3px; background: var(--teal); border: 0; margin: 0; }
/* Room for the whole Zoho sign-in box: never a scrollbar inside it. */
#login { width: 100%; min-height: 440px; }
#login iframe { width: 100% !important; min-height: 440px; border: 0; display: block; }
.panel .foot { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* Phone and small tablet: photo band on top, sign-in below. */
@media (max-width: 860px) {
  .split { flex-direction: column; }
  .photo { flex: 0 0 auto; padding: 24px 20px; min-height: 190px; gap: 18px; }
  .photo .headline { font-size: 22px; }
  .photo .tagline { display: none; }
  .panel { flex: 1 1 auto; padding: 28px 20px 32px; justify-content: flex-start; }
  #login, #login iframe { min-height: 400px; }
}
