/* Global custom cursor with cross-browser fallbacks */
/*
 Order of fallbacks:
 1) .cur for Chromium/Edge/Firefox on Windows (hotspot embedded)
 2) PNG with hotspot for Safari and others
 3) auto/pointer/text as final fallback
 Note: Keep logo.png <= 128x128 for best compatibility
*/

html, body, body *:not(input):not(textarea):not([contenteditable="true"]) {
  cursor: url('/static/mouse/mouse_1754401612-0-0.cur'),
          url('/static/images/m.png') 16 16,
          auto !important;
}

/* Ensure clickable elements keep the same custom cursor instead of reverting to default pointer */
a, button, [role="button"], .cursor-pointer, .hover\:cursor-pointer:hover {
  cursor: url('/static/mouse/mouse_1754401612-0-1.cur'),
          url('/static/images/m.png') 16 16,
          pointer !important;
}

/* Header: Register Interest button underline with angled tail */
.ri-button {
  position: relative;
  border-bottom: 2px solid #172154;
  padding-bottom: 6px;
}
.ri-button::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -14px;
  width: 14px;
  height: 2px;
  background: #172154;
  transform: skewX(-20deg);
}
.ri-button:hover {
  color: #172154;
}

/* Preserve text I-beam where appropriate */
input, textarea, [contenteditable="true"], .cursor-text, .hover\:cursor-text:hover {
  cursor: text !important;
}

/* Resizable areas keep resize cursors */
.resize, .cursor-ns-resize, .cursor-ew-resize, .cursor-nesw-resize, .cursor-nwse-resize {
  cursor: auto !important;
}

