/* ==========================================================
   AlgoCare design system
   ========================================================== */
:root {
  --ink: #0F2147; --ink-2: #2C3B5C; --muted: #55637F; --field: #8A97AD; --brand-ink: #0F766E;
  --brand: #0D9488; --brand-2: #14B8A6; --brand-tint: #E6F7F5; --blue: #1D4FBF;
  --bg: #F3F7FB; --paper: #FFFFFF; --line: #E1E8F2; --line-2: #EEF3F9;
  --danger: #DC2626; --warn: #D97706; --ok: #059669;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 33, 71, .04), 0 8px 24px -12px rgba(15, 33, 71, .12);
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
  --display: "Readex Pro", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --sidebar: 264px; --safe-b: env(safe-area-inset-bottom, 0px);
}
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; }
h1, h2, h3, h4, h5, .display { font-family: var(--display); letter-spacing: -0.01em; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-muted { color: var(--muted) !important; }
.fw-600 { font-weight: 600; }
.min-w-0 { min-width: 0; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
:focus-visible { outline: 3px solid var(--brand-2) !important; outline-offset: 2px; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 500; padding: .55rem 1.2rem; }
.btn-sm { padding: .35rem .85rem; }
.btn-brand { background: var(--brand-ink); color: #fff; border: 0; box-shadow: 0 6px 16px -8px rgba(15, 118, 110, .6); }
.btn-brand:hover, .btn-brand:focus, .btn-brand:active { background: #115E59 !important; color: #fff !important; }
.btn-brand:disabled { background: #7FB3AE; color: #fff; }
.btn-teal { background: var(--brand); color: #fff; border: 0; }
.btn-teal:hover { background: #0B7F75; color: #fff; }
.btn-soft { background: var(--line-2); color: var(--ink); border: 0; }
.btn-soft:hover { background: var(--line); color: var(--ink); }
.btn-icon { width: 38px; height: 38px; padding: 0; display: inline-grid; place-items: center; border-radius: 12px; }

/* Cards */
.card-x { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-x .card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.card-x .card-head h3 { font-size: 1.02rem; margin: 0; font-weight: 600; }
.card-x .card-body { padding: 1.25rem; }
.stat { padding: 1.1rem 1.25rem; display: flex; gap: .9rem; align-items: center; height: 100%; }
.stat .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; background: var(--brand-tint); color: var(--brand); flex: none; }
.stat .ico.blue { background: #E8EFFD; color: var(--blue); }
.stat .ico.amber { background: #FEF3E2; color: var(--warn); }
.stat .ico.rose { background: #FDECEC; color: var(--danger); }
.stat .label { color: var(--muted); font-size: .85rem; }
.stat .value { font-family: var(--display); font-weight: 600; font-size: 1.55rem; line-height: 1.2; }

/* Badges */
.badge-x { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 500; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.badge-x::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-x.ok { background: #E7F7EF; color: var(--ok); }
.badge-x.warn { background: #FEF3E2; color: var(--warn); }
.badge-x.danger { background: #FDECEC; color: var(--danger); }
.badge-x.info { background: #E8EFFD; color: var(--blue); }
.badge-x.teal { background: var(--brand-tint); color: var(--brand); }

/* Forms */
.form-control, .form-select { border-radius: var(--radius-sm); border: 1px solid var(--field); padding: .6rem .85rem; color: var(--ink); }
.form-control::placeholder { color: #8390A6; opacity: 1; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13, 148, 136, .18); outline: none !important; }
.form-control:focus-visible, .form-select:focus-visible, .form-check-input:focus-visible { outline: none !important; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); }
.invalid-feedback { font-size: .8rem; }
.req::after { content: " *"; color: var(--danger); }
/* Password show/hide (replaces the browser's own reveal icon) */
input[type=password]::-ms-reveal, input[type=password]::-ms-clear { display: none; }
.pw-wrap { position: relative; }
.pw-wrap .form-control { padding-inline-end: 2.6rem; }
.pw-toggle { position: absolute; inset-inline-end: .35rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; z-index: 3; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--brand-ink); background: var(--brand-tint); }
.form-label { font-size: .88rem; font-weight: 500; color: var(--ink-2); margin-bottom: .35rem; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.input-icon { position: relative; }
.input-icon > i { pointer-events: none; z-index: 2; position: absolute; inset-inline-start: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon .form-control { padding-inline-start: 2.4rem; }

/* Tables (become cards on phones) */
.table-x { width: 100%; border-collapse: separate; border-spacing: 0; }
.table-x th { font-size: .8rem; color: var(--muted); font-weight: 500; padding: .75rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; text-align: start; }
.table-x td { padding: .8rem 1rem; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table-x tbody tr:hover { background: #F2F8F7; }
.table-x tbody tr.clickable { cursor: pointer; }
.table-x a { font-weight: 600; }
.table-x tbody tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty i { font-size: 2.4rem; display: block; margin-bottom: .5rem; color: #B6C3D8; }

/* Chips */
.chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: .4rem .95rem; font-size: .88rem; cursor: pointer; color: var(--ink-2); }
.chip.active { background: var(--brand-ink); color: #fff; border-color: var(--brand-ink); }

/* App shell */
.app { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar); background: var(--paper); border-inline-end: 1px solid var(--line); position: fixed; inset-block: 0; inset-inline-start: 0; display: flex; flex-direction: column; z-index: 1030; }
.sidebar .brand-row { display: flex; align-items: center; gap: .65rem; padding: 1.2rem 1.25rem; border-bottom: 1px solid var(--line-2); text-decoration: none; color: inherit; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: url(/img/icon.svg) center / cover no-repeat; flex: none; display: inline-block; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.brand-name b { color: var(--brand); font-weight: 600; }
.brand-sub { font-size: .75rem; color: var(--muted); display: block; }
.nav-side { padding: .75rem; overflow-y: auto; flex: 1; }
.nav-side .sec { font-size: .78rem; font-weight: 600; color: #4A5875; padding: 1rem .8rem .4rem; letter-spacing: .02em; }
.nav-side .sec:first-child { padding-top: .35rem; }
.nav-side a { position: relative; display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: .94rem; margin-bottom: 2px; transition: background .15s, color .15s; }
.nav-side a i { font-size: 1.1rem; width: 22px; text-align: center; color: #66748F; flex: none; }
.nav-side a:hover { background: var(--line-2); color: var(--ink); text-decoration: none; }
.nav-side a:focus-visible { outline: 2px solid var(--brand) !important; outline-offset: -2px; }
.nav-side a.active { background: var(--brand-tint); color: var(--brand-ink); font-weight: 600; }
.nav-side a.active i { color: var(--brand-ink); }
.nav-side a.active::before { content: ""; position: absolute; inset-inline-start: -.75rem; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); }
[dir=rtl] .nav-side a.active::before { border-radius: 4px 0 0 4px; }
.count { background: #E11D48; color: #fff; border-radius: 999px; font-size: .7rem; font-weight: 600; padding: .05rem .45rem; min-width: 20px; text-align: center; line-height: 1.5; }
.nav-side a .count { margin-inline-start: .15rem; }
.nav-side a .label { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Collapsible sidebar */
.side-toggle { margin-inline-start: auto; border: 0; background: transparent; color: var(--muted); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; }
.side-toggle:hover { background: var(--line-2); color: var(--ink); }
html.side-collapsed { --sidebar: 76px; }
html.side-collapsed .sidebar .brand-text, html.side-collapsed .nav-side .sec, html.side-collapsed .nav-side a .label, html.side-collapsed .user-box .who, html.side-collapsed .user-box .menu-caret { display: none; }
html.side-collapsed .sidebar .brand-row { padding-inline: .9rem; flex-direction: column; gap: .5rem; }
html.side-collapsed .side-toggle { margin: 0; }
html.side-collapsed .nav-side a { justify-content: center; padding: .7rem 0; }
html.side-collapsed .nav-side a .count { position: absolute; top: 2px; inset-inline-end: 6px; font-size: .6rem; padding: 0 .3rem; min-width: 16px; }
html.side-collapsed .user-box { justify-content: center; padding-inline: .5rem; }
/* Profile menu */
.user-box .profile-btn { display: flex; align-items: center; gap: .7rem; width: 100%; border: 0; background: transparent; padding: .45rem; border-radius: 12px; text-align: start; color: inherit; }
.user-box .profile-btn:hover, .user-box .profile-btn[aria-expanded=true] { background: var(--line-2); }
.user-box .dropdown-menu { border-radius: 14px; border-color: var(--line); box-shadow: var(--shadow); padding: .4rem; min-width: 220px; }
.user-box .dropdown-item { border-radius: 9px; padding: .55rem .75rem; display: flex; gap: .6rem; align-items: center; }
.user-box .dropdown-item.text-danger:hover { background: #FDECEC; }
.sidebar .user-box { padding: .75rem; border-top: 1px solid var(--line-2); }
.avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 600; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.main { flex: 1; margin-inline-start: var(--sidebar); min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 1020; background: rgba(243, 247, 251, .88); backdrop-filter: blur(10px); padding: 1rem 1.75rem; display: flex; align-items: center; gap: .75rem; }
.topbar h1 { font-size: 1.35rem; margin: 0; font-weight: 600; flex: 1; }
.content { padding: .5rem 1.75rem 2.5rem; }
.page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Bottom tab bar on phones — feels like a mobile app */
.tabbar { display: none; }
@media (max-width: 991.98px) {
  .sidebar { display: none; }
  .main { margin: 0; padding-bottom: calc(76px + var(--safe-b)); }
  .topbar { padding: .85rem 1rem; padding-top: calc(.85rem + env(safe-area-inset-top, 0px)); }
  .topbar h1 { font-size: 1.15rem; }
  .content { padding: .25rem 1rem 1.5rem; }
  .tabbar { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 1040; background: var(--paper); border-top: 1px solid var(--line); padding: .35rem .25rem calc(.35rem + var(--safe-b)); }
  .tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .7rem; color: var(--muted); text-decoration: none; background: none; border: 0; padding: .3rem 0; position: relative; }
  .tabbar i { font-size: 1.3rem; }
  .tabbar .active { color: var(--ink); }
  .tabbar .active i { color: var(--brand); }
  .tabbar .count { position: absolute; top: 0; inset-inline-end: calc(50% - 20px); font-size: .62rem; padding: 0 .35rem; }
  .table-x.stack thead { display: none; }
  .table-x.stack, .table-x.stack tbody, .table-x.stack tr, .table-x.stack td { display: block; width: 100%; }
  .table-x.stack tr { border: 1px solid var(--line); border-radius: 14px; margin-bottom: .65rem; padding: .35rem .25rem; background: var(--paper); }
  .table-x.stack td { border: 0; padding: .35rem .85rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: end; }
  .table-x.stack td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; text-align: start; }
  .table-x.stack td[data-label=""]::before { display: none; }
  .table-x.stack td.actions { justify-content: flex-end; }
  .card-x.flat-mobile { background: transparent; border: 0; box-shadow: none; }
  .card-x.flat-mobile > .card-body { padding: 0; }
  .fab { position: fixed; inset-inline-end: 1rem; bottom: calc(88px + var(--safe-b)); z-index: 1035; width: 56px; height: 56px; border-radius: 18px; box-shadow: 0 10px 24px -8px rgba(15, 33, 71, .5); display: grid !important; place-items: center; font-size: 1.5rem; padding: 0; }
  .hide-mobile { display: none !important; }
}
@media (min-width: 992px) { .fab { display: none !important; } }
.more-sheet .offcanvas-body a { display: flex; align-items: center; gap: .9rem; padding: .9rem .5rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.more-sheet .offcanvas-body a i { font-size: 1.2rem; color: var(--brand); width: 24px; }
.offcanvas.offcanvas-bottom.more-sheet { height: auto; max-height: 80vh; border-radius: 22px 22px 0 0; }

/* Appointment timeline */
.timeline-item { display: flex; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.timeline-item:last-child { border-bottom: 0; }
.timeline-item .time { font-family: var(--display); font-weight: 600; min-width: 58px; direction: ltr; text-align: center; }
.timeline-item .bar { width: 4px; align-self: stretch; border-radius: 4px; background: var(--brand); }
@media (max-width: 575.98px) { .timeline-item { flex-wrap: wrap; } .timeline-item .acts { width: 100%; justify-content: flex-end; } }

/* Slot picker */
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .4rem; max-height: 220px; overflow-y: auto; }
.slot { border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: .45rem 0; text-align: center; cursor: pointer; direction: ltr; font-size: .9rem; }
.slot:hover { border-color: var(--brand-2); }
.slot.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Dental chart (FDI) */
.odonto { display: grid; gap: .6rem; }
.odonto .arch { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; direction: ltr; }
.tooth { aspect-ratio: 3 / 4; border: 1.5px solid var(--line); border-radius: 9px 9px 14px 14px; background: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 600; cursor: pointer; position: relative; color: var(--ink-2); padding: 0; }
.tooth.lower { border-radius: 14px 14px 9px 9px; }
.tooth:hover { border-color: var(--brand-2); }
.tooth[data-s="caries"] { background: #FDECEC; border-color: #F5A3A3; color: var(--danger); }
.tooth[data-s="filled"] { background: #E8EFFD; border-color: #9DB7F2; color: var(--blue); }
.tooth[data-s="crown"] { background: #FEF3E2; border-color: #F5C77E; color: var(--warn); }
.tooth[data-s="root_canal"] { background: #F3E8FF; border-color: #C9A2F5; color: #7C3AED; }
.tooth[data-s="missing"] { background: repeating-linear-gradient(45deg, #F3F4F6, #F3F4F6 4px, #E5E7EB 4px, #E5E7EB 8px); color: #9CA3AF; }
.tooth[data-s="implant"] { background: var(--brand-tint); border-color: #7DD3C8; color: var(--brand); }
.tooth[data-s="bridge"] { background: #FFF7ED; border-color: #FDBA74; color: #C2410C; }
.tooth[data-s="extraction"] { background: #FFE4E6; border-color: #FDA4AF; color: #BE123C; }
.tooth .dot { position: absolute; top: 3px; inset-inline-end: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem .9rem; font-size: .8rem; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: .35rem; vertical-align: -1px; background: var(--c); border: 1px solid var(--line); }
@media (max-width: 575.98px) { .odonto .arch { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

/* Auth pages: form on the start side (right in Arabic), smaller brand panel */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 3fr 2fr; }
.auth-form { order: 1; display: grid; place-items: center; padding: 2rem 1.25rem; background: linear-gradient(160deg, #F3F8F8 0%, #EEF4FA 100%); }
.auth-side { order: 2; background: linear-gradient(160deg, #0F766E 0%, #115E59 55%, #134E4A 100%); color: #fff; padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(153, 246, 228, .25), transparent 70%); inset-inline-end: -140px; bottom: -140px; }
.auth-side h2 { font-size: 1.9rem; font-weight: 600; max-width: 15ch; line-height: 1.4; position: relative; z-index: 1; color: #fff; }
.auth-side p { color: #E6FFFA; }
.auth-side .brand-name { color: #fff; }
.auth-side .brand-name b { color: #99F6E4; }
.auth-side .logo-mark { box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.auth-form .box { width: min(430px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 50px -24px rgba(15, 33, 71, .25); padding: 2rem; }
.auth-form .box .mobile-brand { display: none; }
.auth-form h1 { color: var(--ink); }
.auth-form .subtitle { color: #46536E; }
.role-label { display: inline-flex; gap: .4rem; align-items: center; color: #46536E; font-size: .85rem; font-weight: 500; cursor: default; user-select: none; }
.role-label i { color: var(--brand-ink); }
.role-pill { display: inline-flex; gap: .4rem; align-items: center; background: var(--brand-tint); color: var(--brand-ink); padding: .3rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 500; }
.link-brand { color: var(--brand-ink); font-weight: 500; text-decoration: none; }
.link-brand:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Language toggle: active language highlighted */
.lang-toggle { display: inline-flex; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px; gap: 2px; }
.lang-toggle span { padding: .15rem .65rem; border-radius: 999px; font-size: .82rem; color: var(--muted); font-weight: 500; line-height: 1.6; }
html[lang=ar] .lang-toggle [data-l=ar], html[lang=en] .lang-toggle [data-l=en] { background: var(--brand-ink); color: #fff; }
@media (max-width: 991.98px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-form .box .mobile-brand { display: flex; }
}

/* SweetAlert polish */
.swal2-popup { border-radius: 20px !important; font-family: var(--font) !important; padding: 1.5rem !important; }
.swal2-title { font-family: var(--display) !important; font-size: 1.3rem !important; color: var(--ink) !important; }
.swal2-html-container { text-align: start !important; margin: 1rem .25rem 0 !important; }
/* Long forms: the body scrolls, title + buttons stay visible */
.swal2-popup:has(.swal-form) { max-height: calc(100dvh - 1.5rem); grid-template-rows: auto auto minmax(0, 1fr) auto auto auto auto auto auto; }
.swal2-html-container:has(.swal-form) { overflow-y: auto !important; overscroll-behavior: contain; max-height: calc(100dvh - 210px); padding: .25rem .5rem .5rem !important; margin: .75rem 0 0 !important; }
.swal2-popup:has(.swal-form) .swal2-actions { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line-2); width: 100%; }
.swal2-actions .btn { margin: 0 .3rem; min-width: 112px; padding: .6rem 1.4rem; }
.swal2-close { color: var(--muted) !important; border-radius: 10px !important; }
.swal2-close:hover { color: var(--ink) !important; background: var(--line-2) !important; }
.swal2-close:focus { box-shadow: 0 0 0 3px rgba(13, 148, 136, .25) !important; }
.form-section { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; margin-bottom: 1rem; }
.form-section > h4 { font-size: .95rem; font-weight: 600; margin: 0 0 .85rem; display: flex; align-items: center; gap: .45rem; color: var(--ink); }
.form-section > h4 i { color: var(--brand-ink); }
.form-text { color: #55637F; }
.swal-form .form-label { display: block; text-align: start; }

.skel { background: linear-gradient(90deg, var(--line-2), #F8FAFD, var(--line-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; min-height: 18px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

@media print {
  .sidebar, .topbar, .tabbar, .no-print, .fab, .swal2-container { display: none !important; }
  .main { margin: 0 !important; padding: 0 !important; }
  .content { padding: 0 !important; }
  body { background: #fff; }
  .card-x { box-shadow: none; border-color: #ddd; }
}
.btn:hover, .dropdown-item:hover, .nav-side a:hover, .tabbar a:hover, .more-sheet a:hover { text-decoration: none; }
/* Selects keep room for the arrow */
.form-select { padding-inline-end: 2.25rem; }
/* LTR inputs (email, phone, password) inside RTL icon fields: keep text clear of both icons */
[dir=rtl] .input-icon > .form-control[dir=ltr] { padding-right: 2.4rem; padding-left: .85rem; }
[dir=rtl] .input-icon.pw-wrap > .form-control[dir=ltr] { padding-left: 2.6rem; }
[dir=rtl] .pw-wrap:not(.input-icon) > .form-control[dir=ltr] { padding-left: 2.6rem; padding-right: .85rem; }
.input-group > .btn, .input-group > .input-group-text { border-radius: var(--radius-sm); }
.input-group > .input-group-text { border-color: var(--field); background: var(--line-2); }
