/**
 * Global border-radius scale: 50% of prior rectangular radii.
 * Loaded AFTER Tailwind + app.css. Pill/circle (50%, 999px, 9999px, .tw-rounded-full) unchanged.
 */

:root {
  --rounded-box: 0.5rem;
  --rounded-btn: 0.25rem;
  --rounded-badge: 0.95rem;
  --tab-radius: 0.25rem;
}

/* ---------- Tailwind utilities (prefix tw-) ---------- */
.tw-rounded {
  border-radius: 0.125rem !important;
}
.tw-rounded-md {
  border-radius: 0.1875rem !important;
}
.tw-rounded-lg {
  border-radius: 0.25rem !important;
}
.tw-rounded-xl {
  border-radius: 0.375rem !important;
}
.tw-rounded-2xl {
  border-radius: 0.5rem !important;
}
/* .tw-rounded-full intentionally unchanged */

/* ---------- AdminLTE / Bootstrap 3 ---------- */
.box {
  border-radius: 1.5px !important;
}
.btn:not(.tw-rounded-full):not(.btn-circle):not(.btn-social-icon) {
  border-radius: 2px !important;
}
.form-control {
  border-radius: 2px !important;
}
.input-sm,
.form-group-sm .form-control {
  border-radius: 1.5px !important;
}
.input-lg,
.form-group-lg .form-control {
  border-radius: 3px !important;
}
.modal-content {
  border-radius: 3px !important;
}
.dropdown-menu,
.alert,
.panel,
.well,
.progress,
.thumbnail,
.list-group-item:first-child,
.nav-pills > li > a {
  border-radius: 2px !important;
}
.nav-tabs > li > a {
  border-radius: 2px 2px 0 0 !important;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  border-top-left-radius: 2px !important;
  border-bottom-left-radius: 2px !important;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 2px !important;
  border-bottom-right-radius: 2px !important;
}

/* DaisyUI buttons without full override keep halved --rounded-btn */
.tw-dw-btn:not(.tw-rounded-full) {
  border-radius: var(--rounded-btn, 0.25rem) !important;
}
.tw-dw-rounded-box,
.tw-dw-menu {
  border-radius: var(--rounded-box, 0.5rem) !important;
}

/* ---------- App / POS hardcodes (public/css/app.css) ---------- */
#pos_header_more_options {
  border-radius: 4px !important;
}
.pos-card {
  border-radius: 6px !important;
}
.pos-subcat-strip {
  border-radius: 7px !important;
}
/* leave .pos-subcat-pill / .pos-filter-chip-clear at 999px */

/* ---------- LoginCustomizer / auth cards ---------- */
.lc-login-card {
  border-radius: 0.5rem !important; /* was 1rem / 2xl */
}
.lc-login-card input[type="text"],
.lc-login-card input[type="password"],
.lc-login-card input[type="email"] {
  border-radius: 0.25rem !important; /* was lg 0.5rem */
}
.lc-login-btn {
  border-radius: 0.375rem !important; /* was xl 0.75rem */
}

/* Topbar register pill stays circular — do not override .lc-topbar-btn */
