/* Custom Mouse Cursor - Global Styles for All Sections */
/* Applied to: Admin, Super Admin, Operator, Driver, and Commuter */
/* All clickable elements use the same cursor - consistent across the system */

/* Custom cursor SVG - Green pointer for all interactive elements */
:root {
  --custom-cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="%231cc88a" stroke="%23ffffff" stroke-width="1.5" d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"/></svg>') 0 0, pointer;
}

/* Default cursor for all elements - same as clickable */
html, body, * {
  cursor: var(--custom-cursor) !important;
}

/* All clickable/interactive elements - SAME cursor */
a, button, input[type="button"], input[type="submit"], input[type="reset"], 
input[type="checkbox"], input[type="radio"], input[type="file"],
.btn, [role="button"], .clickable, .autocomplete-suggestion, 
.nav-link, .dropdown-item, .pagination a, .page-link,
[onclick], .cursor-pointer, label, select, option,
.table tbody tr, .list-group-item, .card, .modal-header,
.navbar-brand, .navbar-nav a, .sidebar a, .sidebar button,
.form-check-input, .form-check-label, .badge, .alert,
[tabindex]:not([tabindex="-1"]), .btn-link, .link {
  cursor: var(--custom-cursor) !important;
}

/* Text input fields - SAME cursor (consistent) */
input[type="text"], input[type="email"], input[type="password"], 
input[type="number"], input[type="search"], input[type="tel"], 
input[type="url"], input[type="date"], input[type="time"], input[type="datetime-local"],
textarea, [contenteditable="true"] {
  cursor: var(--custom-cursor) !important;
}

/* Map and interactive areas - SAME cursor */
#map, .map-container, .leaflet-container, .leaflet-interactive,
.google-map, [class*="map"], canvas {
  cursor: var(--custom-cursor) !important;
}

/* Disabled elements - Not-allowed cursor (exception) */
button:disabled, input:disabled, .disabled, [disabled], 
a.disabled, .btn:disabled {
  cursor: not-allowed !important;
}

/* Ensure cursor never disappears - force on all elements */
*:hover, *:active, *:focus {
  cursor: var(--custom-cursor) !important;
}

/* Override any other cursor styles */
* {
  cursor: var(--custom-cursor) !important;
}

