/* =========================================================
   Unity Help Hands — Login Page
   Theme: "Ekta. Seva. Vishwas." (Unity. Service. Trust.)
   ========================================================= */

:root {
  --teal-deep:   #0B4F4A;
  --teal-darker: #073B37;
  --coral:       #FF6F5E;
  --gold:        #FFC145;
  --sage:        #6FCF97;
  --sky:         #4DA8DA;
  --violet:      #B57EDC;
  --peach:       #FF9F68;
  --cream:       #FFF8EF;
  --cream-dim:   #F3E9DA;
  --navy-text:   #1B2E35;
  --muted:       #6B7B80;
  --white:       #FFFFFF;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-lg: 26px;
  --radius-md: 14px;
  --shadow-card: 0 30px 60px -20px rgba(11, 79, 74, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--font-body);
  color: var(--navy-text);
  background: var(--cream);
  overflow-x: hidden;
}

/* ---------- Layout shell ---------- */

.uhh-shell {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
}

.uhh-left,
.uhh-right {
  min-height: 100vh;
  flex: 1 1 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ---------- Left: brand / signature panel ---------- */

.uhh-left {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 193, 69, 0.18), transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(255, 111, 94, 0.16), transparent 45%),
    linear-gradient(160deg, var(--teal-deep) 0%, var(--teal-darker) 100%);
  color: var(--cream);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}

.uhh-left-inner {
  position: relative;
  z-index: 2;
  max-width: 460px;
  margin: 0 auto;
}

.uhh-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 28px 0 14px;
}

.uhh-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.12;
  margin: 0 0 16px;
}

.uhh-title span {
  color: var(--coral);
}

.uhh-tagline {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 248, 239, 0.82);
  margin: 0 auto 8px;
  max-width: 380px;
}

/* ---------- Signature: rotating ring of "hands" ---------- */

.uhh-ring-wrap {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto 8px;
}

.uhh-ring {
  width: 100%;
  height: 100%;
  animation: uhh-spin 34s linear infinite;
  transform-origin: 170px 170px;
}

@keyframes uhh-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.uhh-ring circle.uhh-dot {
  transform-origin: center;
}

.uhh-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uhh-ring-center-inner {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(255, 248, 239, 0.08);
  border: 1px solid rgba(255, 248, 239, 0.25);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--cream);
}

@media (prefers-reduced-motion: reduce) {
  .uhh-ring { animation: none; }
}

/* ---------- Right: form panel ---------- */

.uhh-right {
  padding: 48px 32px;
  background: var(--cream);
}

.uhh-card {
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 44px 38px 34px;
  position: relative;
}

.uhh-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--sage), var(--sky));
}

.uhh-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}

.uhh-logo-row img {
  height: 40px;
  width: auto;
}

.uhh-card h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 18px 0 4px;
  color: var(--teal-deep);
  text-align: center;
}

.uhh-card p.uhh-sub {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Form fields ---------- */

.uhh-field {
  margin-bottom: 20px;
}

.uhh-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 8px;
}

.uhh-field label i {
  color: var(--coral);
  width: 16px;
  text-align: center;
}

.uhh-input-wrap {
  position: relative;
}

.uhh-input-wrap input[type="text"],
.uhh-input-wrap input[type="password"] {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid #E7E0D3;
  background: var(--cream-dim);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--navy-text);
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.uhh-input-wrap input::placeholder {
  color: #A7ADAE;
}

.uhh-input-wrap input:focus {
  border-color: var(--sky);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(77, 168, 218, 0.15);
}

.uhh-toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
}

.uhh-toggle-password:hover {
  color: var(--teal-deep);
}

/* ---------- Row: forgot password ---------- */

.uhh-row-between {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 22px;
}

.uhh-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  text-decoration: none;
}

.uhh-link:hover {
  text-decoration: underline;
  color: var(--teal-deep);
}

/* ---------- Submit button ---------- */

.uhh-submit {
  width: 100%;
  display: block;
}

.uhh-submit input[type="submit"],
.uhh-submit input[type="button"],
.uhh-submit button {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, var(--coral), var(--peach));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  box-shadow: 0 14px 24px -10px rgba(255, 111, 94, 0.55);
}

.uhh-submit input[type="submit"]:hover,
.uhh-submit input[type="button"]:hover,
.uhh-submit button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.uhh-submit input[type="submit"]:active,
.uhh-submit input[type="button"]:active,
.uhh-submit button:active {
  transform: translateY(0);
}

.uhh-submit input[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}
  display: block;
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  color: var(--coral);
}

/* ---------- Bottom: sign-up line ---------- */

.uhh-signup {
  margin: 22px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

.uhh-signup .uhh-link {
  margin-left: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .uhh-shell { flex-direction: column; }

  .uhh-right {
    order: 1;
    min-height: auto;
    padding: 40px 20px 24px;
  }

  .uhh-left {
    order: 2;
    min-height: auto;
    padding: 36px 24px 44px;
  }

  .uhh-ring-wrap { width: 220px; height: 220px; margin-bottom: 4px; }
  .uhh-ring { transform-origin: 110px 110px; }
  .uhh-title { font-size: 30px; }
  .uhh-tagline { font-size: 14.5px; }
}

@media (max-width: 600px) {
  .uhh-card { padding: 34px 24px 28px; }
}

/* ---------- Accessibility ---------- */

.uhh-input-wrap input:focus-visible,
.uhh-link:focus-visible,
.uhh-pill:focus-visible,
.uhh-toggle-password:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}
