/* Customer login — sky/cloud theme with orange Next button */
:root {
  --orange: #ff7a1a;
  --orange-600: #ea660b;
}

body.cust-login {
  margin: 0;
  min-height: 100vh;
  background: #eff6ff;
  position: relative;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cloud-bg {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cust-top {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  padding-top: calc(18px + env(safe-area-inset-top, 0));
}
.cust-top .brand-link { color: var(--blue, #1e6dff); }
.cust-top .wordmark {
  font-weight: 800; font-size: 22px;
  color: var(--blue, #1e6dff);
  letter-spacing: -.5px;
}
.help-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #475569; font-size: 14px; font-weight: 500;
}
.help-link:hover { color: var(--blue, #1e6dff); }

.cust-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 380px;
  margin: 56px auto 24px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, .12);
  padding: 32px 28px 28px;
}
.cust-card h1 {
  margin: 12px 0 18px;
  text-align: center;
  font-size: 18px; font-weight: 700;
  color: #0f172a;
}
.avatar-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px dashed #93c5fd;
  display: grid; place-items: center;
  margin: 0 auto;
}

.cust-card label {
  display: block; margin: 12px 0 6px;
  font-size: 13px; color: #475569; font-weight: 500;
}
.cust-card input {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #0f172a;
}
.cust-card input::placeholder { color: #94a3b8; }
.cust-card input:focus {
  outline: 3px solid #dbeafe;
  border-color: #1e6dff;
}

.btn-orange {
  width: 100%;
  margin-top: 22px;
  appearance: none; border: none; cursor: pointer;
  background: var(--orange);
  color: #fff;
  font: inherit; font-weight: 700;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  transition: background .15s, transform .04s;
}
.btn-orange:hover { background: var(--orange-600); }
.btn-orange:active { transform: translateY(1px); }
.error {
  color: #dc2626;
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
}

.cust-foot {
  position: relative; z-index: 2;
  text-align: center;
  font-size: 13px; color: #64748b;
  margin: 18px 16px 28px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.cust-foot a { color: #1e6dff; margin: 0 4px; }
.cust-foot span { color: #cbd5e1; margin: 0 4px; }

.admin-link {
  position: relative; z-index: 2;
  text-align: center; font-size: 12px; color: #94a3b8;
  margin: 0 0 24px;
}
.admin-link a { color: #94a3b8; text-decoration: underline; }
.admin-link a:hover { color: #475569; }

@media (max-height: 720px) {
  .cust-card { margin-top: 32px; }
}
