
:root {
  --green: #0d7654;
  --dark: #0b2c24;
  --lime: #d8f65a;
  --muted: #66746e;
  --border: #e0e8e2;
  --surface: #ffffff;
  --background: #f2f6f2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #17251f;
  background: var(--background);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.login-header {
  min-height: 82px;
  padding: 16px 5%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.login-header > a:last-child {
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--lime);
  display: grid;
  place-items: center;
  color: var(--dark);
  font-size: 25px;
  font-weight: 900;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
}

.brand-name small {
  display: block;
  margin-top: 2px;
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 3px;
}

.login-layout {
  width: min(1120px, 90%);
  min-height: calc(100vh - 145px);
  margin: 38px auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.login-intro {
  padding: 24px 0;
}

.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.login-intro h1 {
  margin: 18px 0;
  color: var(--dark);
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -2px;
  line-height: 1.08;
}

.login-intro > p,
.card-heading > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.login-benefit {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  align-items: flex-start;
}

.login-benefit > span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #e0f3e9;
  font-weight: 800;
}

.login-benefit strong {
  color: var(--dark);
}

.login-benefit p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.login-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 50px #123a2510;
}

.card-heading h2 {
  margin: 12px 0 8px;
  color: var(--dark);
  font-size: 30px;
}

.card-heading > p {
  margin: 0 0 25px;
  font-size: 14px;
}

#customerLoginForm label,
#customerRegisterForm label {
  display: block;
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 700;
}

#customerLoginForm input,
#customerRegisterForm input {
  width: 100%;
  min-width: 0;
  height: 49px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: #17251f;
  font: inherit;
  font-size: 14px;
}

#customerLoginForm input:focus,
#customerRegisterForm input:focus {
  outline: 3px solid #0d765422;
  border-color: var(--green);
}

.password-wrap {
  display: flex;
  align-items: center;
  position: relative;
}

.password-wrap input {
  padding-right: 70px !important;
}

.toggle-password {
  position: absolute;
  right: 10px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.login-button {
  width: 100%;
  min-height: 52px;
  margin-top: 27px;
  padding: 12px 16px;
  border: 0;
  border-radius: 11px;
  background: var(--green);
  color: white;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-button:hover {
  background: #095e43;
}

.login-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.login-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.login-notice.error {
  background: #fff0ee;
  color: #a82f24;
}

.login-notice.success {
  background: #e8f7ed;
  color: #17663f;
}

.login-footer {
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

.login-footer a {
  font-weight: 700;
}

footer {
  padding: 20px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 760px) {
  .login-layout {
    width: min(500px, 90%);
    margin: 24px auto;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .login-intro {
    padding: 10px 0;
  }

  .login-intro h1 {
    font-size: 40px;
  }

  .login-benefit {
    margin-top: 18px;
  }

  .login-card {
    padding: 26px 22px;
  }
}

/* Customer registration form and booking-page account controls */
#customerRegisterForm input {
  width: 100%;
  min-width: 0;
  height: 49px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: #17251f;
  font: inherit;
  font-size: 14px;
}

#customerRegisterForm input:focus {
  outline: 3px solid #0d765422;
  border-color: var(--green);
}

#customerRegisterForm label {
  display: block;
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.customer-auth-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
}

.customer-auth-nav a { color: inherit; }
.customer-greeting { color: inherit; font-size: 13px; font-weight: 700; }
.customer-logout, .customer-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #cbdad1;
  border-radius: 9px;
  background: #fff;
  color: var(--dark) !important;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 700px) {
  .login-layout { grid-template-columns: 1fr; gap: 20px; }
  .login-intro { padding-bottom: 0; }
}
