/* Self-contained styles for the sign-in pages (owner + company consoles).
   Deliberately not dependent on the Tailwind build. */
* { box-sizing: border-box; }
body { margin: 0; }

.auth {
  display: flex;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
}

/* Left hero panel */
.auth__hero {
  position: relative;
  flex: 1 1 52%;
  background-size: cover;
  background-position: center;
  display: none;
}
@media (min-width: 900px) { .auth__hero { display: block; } }
.auth__hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(6,78,59,.30) 0%, rgba(4,47,46,.88) 100%);
}
.auth__hero-content {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px 48px; color: #fff;
}
.auth__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.auth__brand-dot { width: 12px; height: 12px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 4px rgba(251,191,36,.25); }
.auth__hero h2 { font-size: 36px; line-height: 1.12; margin: 0 0 14px; font-weight: 800; max-width: 460px; letter-spacing: -.02em; }
.auth__hero p { margin: 0; max-width: 440px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.65; }
.auth__hero-foot { font-size: 13px; color: rgba(255,255,255,.75); }

/* Right form panel */
.auth__panel {
  flex: 1 1 48%;
  display: flex; align-items: center; justify-content: center;
  padding: 32px; background: linear-gradient(135deg, #f8fafc 0%, #eef4f1 100%);
}
.auth__card { width: 100%; max-width: 400px; }
.auth__card h1 { font-size: 28px; margin: 0 0 6px; font-weight: 800; color: #064e3b; letter-spacing: -.02em; }
.auth__sub { margin: 0 0 28px; color: #64748b; font-size: 14px; }

.auth__field { margin-bottom: 16px; }
.auth__label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 6px; }
.auth__input {
  width: 100%; padding: 12px 14px; border: 1px solid #d5dbe3; border-radius: 12px;
  font-size: 15px; outline: none; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.auth__input:focus { border-color: #059669; box-shadow: 0 0 0 3px rgba(5,150,105,.15); }

/* Password field with a show/hide eye toggle */
.auth__pw { position: relative; }
.auth__pw .auth__input { padding-right: 44px; }
.auth__pw-toggle {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0; border: none; background: transparent;
  color: #94a3b8; cursor: pointer; border-radius: 8px;
}
.auth__pw-toggle:hover { color: #475569; background: #f1f5f9; }
.auth__pw-toggle svg { width: 20px; height: 20px; }
.auth__pw-toggle .icon-hide { display: none; }
.auth__pw-toggle.is-showing .icon-show { display: none; }
.auth__pw-toggle.is-showing .icon-hide { display: inline; }

.auth__btn {
  width: 100%; padding: 13px; border: none; border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; background: #059669; color: #fff; transition: background .15s;
}
.auth__btn:hover { background: #047857; }
.auth__btn--ghost { background: #fff; color: #065f46; border: 1px solid #a7f3d0; }
.auth__btn--ghost:hover { background: #ecfdf5; }

.auth__divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: #94a3b8; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.auth__divider::before, .auth__divider::after { content: ""; height: 1px; flex: 1; background: #e2e8f0; }

.auth__error { background: #fef2f2; color: #b91c1c; font-size: 14px; padding: 10px 12px; border-radius: 10px; margin-bottom: 18px; }
.auth__hint { margin: 10px 0 0; font-size: 12px; color: #94a3b8; }
