/* Nawader liquid controls: original teal identity, glass-like sheen, no blur or JS. */
:root {
  --nw-control-ink: #123e46;
  --nw-control-main: #086457;
  --nw-control-deep: #064a44;
  --nw-control-light: #f3fbfa;
  --nw-control-line: #a2c7c2;
  --nw-control-focus: #075b70;
  --nw-control-shadow: 0 5px 12px rgba(15, 64, 65, .12);
}

/* Explicit public-site controls only; action URLs and form semantics are unchanged. */
body :is(.nw-btn, .nw-action, .nw-search button, .nw-section-nav a, .nw-hamburger) {
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 16px;
  border: 1px solid var(--nw-control-line);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(8, 100, 87, .18);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), var(--nw-control-shadow) !important;
}

body :is(.nw-btn-primary, .nw-btn-teal, .nw-action, .nw-search button) {
  color: #fff !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 52%), linear-gradient(135deg, var(--nw-control-main), var(--nw-control-deep)) !important;
  border-color: #07594f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .16), var(--nw-control-shadow) !important;
}

body :is(.nw-btn-ghost, .nw-section-nav a, .nw-hamburger) {
  color: var(--nw-control-ink) !important;
  background: linear-gradient(165deg, #fff 0%, var(--nw-control-light) 62%, #e2f2ef 100%) !important;
}

body :is(.nw-action, .nw-search button, .nw-section-nav a) {
  display: inline-flex;
  padding: .8rem 1.25rem;
}

body .nw-btn-sm { padding: .55rem 1rem; }
body .nw-btn-lg { min-height: 52px; }
body .nw-hamburger { padding: .7rem; }
body .nw-hamburger span { background-color: var(--nw-control-ink) !important; }

@media (hover: hover) and (pointer: fine) {
  body :is(.nw-btn, .nw-action, .nw-search button, .nw-section-nav a, .nw-hamburger):not(:disabled):not([aria-disabled="true"]):hover {
    border-color: #427e76;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 7px 16px rgba(15, 64, 65, .17) !important;
  }
}

body :is(.nw-btn, .nw-action, .nw-search button, .nw-section-nav a, .nw-hamburger):not(:disabled):not([aria-disabled="true"]):active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(10, 46, 45, .18) !important;
}

body :is(.nw-btn, .nw-action, .nw-search button, .nw-section-nav a, .nw-hamburger):focus-visible {
  outline: 3px solid var(--nw-control-focus) !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #fff !important;
}

body :is(.nw-btn, .nw-action, .nw-search button, .nw-hamburger):is(:disabled, [aria-disabled="true"]) {
  color: #465d61 !important;
  background: #e2ebea !important;
  border-color: #a8bcbb;
  cursor: not-allowed;
  opacity: 1;
  transform: none !important;
  box-shadow: none !important;
}

/* Semantics remain recognizable: primary teal, success green, error rust. */
.nw-page .nw-catalog { --nw-cyan: #096d78; --nw-violet: #236779; }
.nw-page .nw-success { color: #146343; }
.nw-page .nw-form-errors { color: #7c3021; }

@media (prefers-reduced-motion: reduce) {
  body :is(.nw-btn, .nw-action, .nw-search button, .nw-section-nav a, .nw-hamburger) {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  body :is(.nw-btn, .nw-action, .nw-search button, .nw-section-nav a, .nw-hamburger) {
    border: 1px solid ButtonText;
    color: ButtonText !important;
    background: ButtonFace !important;
    box-shadow: none !important;
  }
  body :is(.nw-btn, .nw-action, .nw-search button, .nw-section-nav a, .nw-hamburger):focus-visible { outline-color: Highlight !important; }
}
