/* «التحديث 2» on every page but the home (which has it in its own styles): the phone's own font, square corners (8px; look2.js
   squares the rest), a plain card with a line, the brand small beside its name, the navy action (site-modernize-2) */
:root { --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, sans-serif; --display: var(--sans); }
body { font-family: var(--sans); -webkit-font-smoothing: antialiased; }
.auth { width: min(420px, 100% - 20px); margin: 4vh auto 0; }
.auth .brand { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: start; margin-bottom: 14px; flex-wrap: wrap; }
.auth .brand img { width: 48px !important; height: 48px !important; margin: 0 !important; }
.auth h1 { font-size: 24px; font-weight: 800; margin: 0; color: #0a246a; }
.auth .brand p { flex-basis: 100%; text-align: center; margin: 2px 0 0; font-size: 14.5px; color: #4c5b70; }
.auth .card { border-radius: 8px !important; border: 1px solid #dfe5ee !important; box-shadow: none !important; padding: 14px; }
.seg { border-radius: 8px; padding: 3px; background: #eef1f5; }
.seg button { border-radius: 6px; font-weight: 600; font-size: 15px; padding: 9px; }
.seg button[aria-pressed="true"] { background: #fff; color: #0a246a; box-shadow: 0 0 0 1px #dfe5ee; }
.auth label { font-size: 14px; font-weight: 600; color: #10213a; }
.auth input, .auth select { background: #fff; border-radius: 8px !important; min-height: 44px; border-color: #d3dbe6; font-size: 16px; }
.auth input:focus, .auth select:focus { border-color: #1d4f96; box-shadow: 0 0 0 3px rgba(29, 79, 150, .15); }
.auth .btn-primary { border-radius: 8px !important; background: #1d4f96 !important; min-height: 46px; font-size: 16px; font-weight: 700; }
.auth .hint a { color: #1d4f96; font-weight: 600; }
.auth .kinds label, .auth [name=sKind] + * { border-radius: 8px; }

/* ---- inside the dashboard (site-modernize-2): square corners, the phone's font, a slimmer header, rows that keep a
   doctor's name on one line and their buttons smaller ---- */
.btn { border-radius: 8px !important; } .btn-sm { min-height: 34px; padding: 0 12px; font-size: 14px; }
.card { border-radius: 8px !important; box-shadow: none !important; border: 1px solid #dfe5ee !important; }
.pill { border-radius: 6px !important; } input, select, textarea { border-radius: 8px !important; }
header.top:has(#hSwitch) { border-radius: 0 !important; background: #0a246a !important; }
header.top:has(#hSwitch) .in { min-height: 56px !important; padding: 6px 0 !important; }
header.top:has(#hSwitch) .mono { width: 38px !important; height: 38px !important; border-radius: 8px !important; box-shadow: none !important; }
header.top:has(#hSwitch) .btn { min-height: 36px; font-size: 14px; }
.att-r { gap: 4px 6px; padding: 10px 0; }
.att-r .n { display: contents; }
.att-r .n .nm { flex: 1 1 100%; }
.att-r .n .nm { font-size: 16px; font-weight: 700; color: #0a246a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.att-r .n .pill { font-size: 12.5px; }
.att-r .b { display: flex; gap: 6px; margin-inline-start: auto; }
.att-r .b .btn-bad { background: #fff; color: #c0392b; border-color: #f1c4c0; }
.att-r .n .pill { padding: 2px 6px !important; font-size: 12px !important; white-space: nowrap; }
.att-r .b { gap: 4px; } .att-r .b .btn-sm { min-height: 32px !important; padding: 0 7px !important; font-size: 13px !important; }
.card.att { padding: 12px; }
