/* ══════════════════════════════════════════
   base.css — shared styles used by every page
   (reset, login, topbar/nav, panels, forms, tables, badges...)
   ══════════════════════════════════════════ */

/* ══ RESET ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ══ BASE ══ */
html {
  /* Scales every px-based size (fonts, padding, tables, buttons...) down
     together, so the whole app reads smaller/denser without having to
     touch every rule below. Adjust this one number to make everything
     bigger/smaller again. */
  zoom: 85%;
}
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.25;
  background: #f0f2f5;
  color: #1a1a2e;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* keep the login page's original (larger) line spacing untouched */
#login-screen, #login-screen * { line-height: normal; }

.hidden { display: none !important; }

/* ══ LOGIN ══ */
#login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.lcard {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  overflow: hidden;
}

.lhead {
  background: #0d3b66;
  color: #fff;
  text-align: center;
  padding: 32px 24px 24px;
}

.licon { font-size: 36px; margin-bottom: 10px; }
.lhead h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.lhead p { font-size: 12px; opacity: .75; letter-spacing: .8px; text-transform: uppercase; }

.lbody {
  padding: 28px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 11px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .5px; }
.field input, .field select {
  padding: 9px 12px;
  border: 1.5px solid #dde1e7;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a2e;
  background: #fafafa;
  outline: none;
  width: 100%;
  transition: border-color .15s;
}
.field input:focus, .field select:focus { border-color: #0d3b66; background: #fff; }
.field input[readonly] { background: #f0f2f5; color: #888; cursor: not-allowed; }

.errmsg {
  background: #fff0f0;
  border: 1px solid #f5c2c7;
  color: #b02a37;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
}

.lbtn {
  width: 100%;
  padding: 11px;
  background: #0d3b66;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.lbtn:hover { background: #0a2e52; }

.lbtn-link {
  width: 100%;
  padding: 6px;
  background: none;
  border: none;
  color: #0d3b66;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.lbtn-link:hover { text-decoration: underline; }

.cc-divider { height: 1px; background: #eee; margin: 4px 0; }

.cc-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1.5px dashed #dde1e7;
  border-radius: 6px;
  color: #555;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color .15s, background .15s;
}
.cc-entry:hover { border-color: #0d3b66; background: #fafafa; }
.cc-entry-icon { font-size: 16px; }

.lfoot {
  text-align: center;
  padding: 12px 24px 16px;
  font-size: 12px;
  color: #aaa;
  border-top: 1px solid #f0f0f0;
}

/* ══ DASHBOARD LAYOUT ══ */
#dash {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ══ TOPBAR ══ */
.topbar {
  background: #0d3b66;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 46px;
  flex-shrink: 0;
}
.appname { font-size: 15px; font-weight: 700; }
.tright { display: flex; align-items: center; gap: 10px; font-size: 13px; opacity: .9; }
.sep { opacity: .4; }
.lout { color: #fff; font-weight: 600; cursor: pointer; opacity: .85; }
.lout:hover { opacity: 1; text-decoration: underline; }

/* ══ NAV ══ */
.nav {
  background: #fff;
  border-bottom: 2px solid #e0e4ea;
  display: flex;
  align-items: stretch;
  padding: 0 12px;
  gap: 2px;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
}

.nb {
  background: none;
  border: none;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
  font-family: inherit;
}
.nb:hover { color: #0d3b66; }
.nb.act { color: #0d3b66; border-bottom-color: #0d3b66; }
.nb.off { color: #bbb; cursor: not-allowed; }
.nb.adm { color: #b05e00; }

.ndd { position: relative; display: flex; align-items: stretch; }
.ddm {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #dde1e7;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  min-width: 200px;
  z-index: 999;
  display: flex;
  flex-direction: column;
}
.ddm button {
  background: none;
  border: none;
  padding: 11px 16px;
  text-align: left;
  font-size: 13px;
  font-family: inherit;
  color: #333;
  cursor: pointer;
  transition: background .15s;
}
.ddm button:first-child { border-radius: 0; }
.ddm button:last-child { border-radius: 0 0 7px 7px; }
.ddm button:hover { background: #f0f4f8; }
.ddm button.off { color: #bbb; cursor: not-allowed; }

/* "Add ▸" flyout submenu inside the Admin dropdown — opens to the right on hover
   (click/tap also toggles it via JS, for touch devices where :hover doesn't fire). */
.ddm-sub { position: relative; }
.ddm-sub-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 11px 16px;
  text-align: left;
  font-size: 13px;
  font-family: inherit;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .15s;
}
.ddm-sub-btn:hover { background: #f0f4f8; }
.ddm-nested {
  display: none;
  position: absolute;
  top: -1px;
  left: 100%;
  background: #fff;
  border: 1px solid #dde1e7;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  min-width: 200px;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
}
.ddm-sub:hover > .ddm-nested { display: flex; }
.ddm-nested.show { display: flex; }
.ddm-nested button {
  background: none;
  border: none;
  padding: 11px 16px;
  text-align: left;
  font-size: 13px;
  font-family: inherit;
  color: #333;
  cursor: pointer;
  transition: background .15s;
}
.ddm-nested button:hover { background: #f0f4f8; }
.ddm-nested button.off { color: #bbb; cursor: not-allowed; }

/* ══ CONTENT ══ */
.content {
  flex: 1;
  background: #f0f2f5;
  overflow-y: auto;
  padding: 24px;
}

/* ══ PANEL ══ */
.panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 24px;
  margin-bottom: 16px;
}
.panel.wide { max-width: 100%; }
.panel h2 {
  font-size: 16px;
  color: #0d3b66;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8ecf0;
}
.panel h3 {
  font-size: 13px;
  font-weight: 700;
  color: #0d3b66;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8ecf0;
}

/* ══ GRIDS ══ */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.s2 { grid-column: span 2; }
.s3 { grid-column: span 3; }

/* ══ FORM FIELD ══ */
.ff { display: flex; flex-direction: column; gap: 4px; }
.ff label { font-size: 11px; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: .4px; }
.ff input, .ff select, .ff textarea {
  padding: 8px 10px;
  border: 1.5px solid #dde1e7;
  border-radius: 5px;
  font-size: 13px;
  font-family: inherit;
  color: #1a1a2e;
  background: #fafafa;
  outline: none;
  transition: border-color .15s;
}
.ff input:focus, .ff select:focus { border-color: #0d3b66; background: #fff; }
.ff input[readonly] { background: #f0f2f5; color: #888; cursor: not-allowed; }
.ff-hint { font-size: 11px; color: #aaa; margin-top: 2px; }

/* ══ MINI TABLE (e.g. per-visit Services list nested under a Tests table) ══ */
.mini-tbl-wrap { margin-top: 10px; }
.mini-tbl-label {
  font-size: 10.5px; font-weight: 700; color: #888; text-transform: uppercase;
  letter-spacing: .4px; margin: 0 0 4px 2px; display: flex; align-items: center; gap: 5px;
}
.mini-tbl { width: 100%; border-collapse: collapse; font-size: 11.5px; background: #fbfcfd; border: 1px solid #eef1f5; border-radius: 6px; overflow: hidden; }
.mini-tbl th {
  background: #f2f5f9; color: #777; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .3px; padding: 4px 10px; text-align: left; border-bottom: 1px solid #e8ecf0; white-space: nowrap;
}
.mini-tbl td { padding: 4px 10px; border-bottom: 1px solid #f0f2f5; color: #444; }
.mini-tbl tr:last-child td { border-bottom: none; }

/* ══ COMPACT INLINE SEARCH BAR (field + button on one line) ══ */
.rs-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.rs-bar label { font-size: 10px; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; }
.rs-bar input {
  width: 140px;
  padding: 5px 8px;
  border: 1.5px solid #dde1e7;
  border-radius: 5px;
  font-size: 11px;
  font-family: inherit;
  color: #1a1a2e;
  background: #fafafa;
  outline: none;
}
.rs-bar input:focus { border-color: #0d3b66; background: #fff; }
.rs-bar .btn-primary, .rs-bar .btn-secondary {
  padding: 5px 12px;
  font-size: 11px;
}
@media (max-width: 640px) {
  .rs-bar input { width: 100%; }
}

/* ══ BUTTONS ══ */
.btn-row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.btn-primary {
  padding: 9px 24px;
  background: #0d3b66;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.btn-primary:hover { background: #0a2e52; }
.btn-secondary {
  padding: 9px 18px;
  background: none;
  border: 1.5px solid #dde1e7;
  border-radius: 5px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  font-family: inherit;
}
.btn-secondary:hover { background: #f5f5f5; }
.btn-small {
  padding: 6px 14px;
  background: #0d3b66;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.btn-small:hover { background: #0a2e52; }

/* ══ DATA TABLE ══ */
.dtbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.dtbl th {
  background: #f7f9fc;
  color: #555;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 6px 12px;
  text-align: left;
  border-bottom: 2px solid #e0e4ea;
  white-space: nowrap;
}
.dtbl td {
  padding: 6px 12px;
  border-bottom: 1px solid #f0f2f5;
  color: #333;
  vertical-align: top;
}
.dtbl tr:last-child td { border-bottom: none; }
.dtbl .empty td { text-align: center; color: #bbb; padding: 24px; }

/* ══ Reusable search + pagination bar for long catalog tables (shared/list-table.js) ══ */
.lt-search {
  width: 100%;
  max-width: 320px;
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #dde1e7;
  border-radius: 6px;
  font-size: 13px;
}
.lt-search:focus { border-color: #0d3b66; outline: none; }
.lt-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: #777;
  flex-wrap: wrap;
}
.lt-pager-btns { display: flex; align-items: center; gap: 10px; }
.lt-pager-btns button { padding: 5px 12px; font-size: 12px; }
.lt-pager-btns button:disabled { opacity: .4; cursor: not-allowed; }
.lt-pager-page { font-weight: 600; color: #555; }

/* ══ BADGES ══ */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  margin: 1px;
}
.badge-blue   { background: #e3f0fb; color: #0d3b66; }
.badge-green  { background: #e8f5e9; color: #2e7d32; }
.badge-red    { background: #fdecea; color: #c0392b; }
.badge-orange { background: #fff3e0; color: #b05e00; }
.badge-gray   { background: #f0f2f5; color: #555; }

/* ══ STATUS BADGE ══ */
.status-registered { background: #e8f5e9; color: #2e7d32; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-cancelled { background: #fdecea; color: #c0392b; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-collected { background: #e3f0fb; color: #0d3b66; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-recollect { background: #fff3e0; color: #b05e00; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-sent { background: #ddeffa; color: #1a8fb8; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
/* "Sent" badge for tests whose Processing Unit is internal (sent to an in-house
   work area, via Send to Work Area) — deliberately a light gray, distinct from
   the blue .status-sent badge used for External LTL transfers, so at a glance
   you can tell an internal hand-off from an external one. */
.status-sent-internal { background: #eceff1; color: #607d8b; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
/* "Workarea" badge — set once an internally-Sent test is Accepted in Work
   Area (see pages/accept-in-work-area.js). Purple to stay visually distinct
   from every other stage in the sample lifecycle. */
.status-workarea { background: #f1e6fb; color: #6a1b9a; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
/* Auto: Reflex tests riding on their Precursor's specimen, and Calculated
   tests riding on their "to be calculated from" sources — set automatically
   once collection is done, no separate Sample Collect step of their own.
   Kept visually distinct from the internal .status-workarea purple. */
.status-auto { background: #e8eaf6; color: #283593; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
/* "LTLRSLT" badge — set once an External LTL test's results have been
   received back from the outside lab (see pages/ltl-receive-results.js),
   and cleared by entering the result in LTL Results (→ Completed). Teal,
   to stay distinct from the internal .status-workarea purple. */
.status-ltlrslt { background: #dcf5f0; color: #0f766e; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-completed { background: #fff9db; color: #8a6d00; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-authenticated { background: #e8f5e9; color: #1b6b34; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-printed { background: #ede7f6; color: #4527a0; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-resent { background: #fce4ec; color: #ad1457; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-rerun { background: #ede7f6; color: #4527a0; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-reopened { background: #fdecea; color: #c0392b; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-alarm { background: #fdecea; color: #c0392b; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-critical-notified { background: #fdecea; color: #c0392b; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-note { background: #eceff1; color: #455a64; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }

/* ══ ACTION BUTTONS IN TABLE ══ */
.act-btns { display: flex; gap: 6px; }
.btn-edit {
  background: none; border: none; color: #0d3b66;
  cursor: pointer; font-size: 12px; padding: 3px 8px;
  border-radius: 4px; font-weight: 600; font-family: inherit;
}
.btn-edit:hover { background: #e3f0fb; }
.btn-del {
  background: none; border: none; color: #cc3333;
  cursor: pointer; font-size: 12px; padding: 3px 8px;
  border-radius: 4px; font-weight: 600; font-family: inherit;
}
.btn-del:hover { background: #fff0f0; }

/* ══ UPLOAD ══ */
.upl-label {
  display: inline-block;
  padding: 6px 14px;
  background: #f0f4f8;
  border: 1.5px solid #dde1e7;
  border-radius: 5px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  transition: background .15s;
}
.upl-label:hover { background: #e3ecf5; border-color: #0d3b66; color: #0d3b66; }
.upl-name { font-size: 12px; color: #888; margin-left: 8px; }

/* ══ DIVIDER ══ */
.hdiv { border: none; border-top: 1px solid #e8ecf0; margin: 16px 0; }

/* ══ WARNING BOX ══ */
.warn-box {
  background: #fff8e1; border: 1px solid #ffe082;
  color: #b05e00; padding: 10px 14px;
  border-radius: 6px; font-size: 13px; margin-bottom: 16px;
}

/* ══ WIP (under-construction placeholder pages) ══ */
.wip { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 200px; color: #aaa; gap: 8px; }
.wip .wip-icon { font-size: 36px; }

/* ══ RESPONSIVE ══ */
@media (max-width: 700px) {
  .g2, .g3 { grid-template-columns: 1fr; }
  .s2, .s3 { grid-column: span 1; }
}

/* ══ REFUND LINK (Visit Details) ══ */
.refund-link {
  color: #c0392b;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: 14px;
}
.refund-link:hover { color: #96271b; }

/* ══ MODAL (Refund menu) ══ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20,26,34,.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
}
.modal-box {
  background: #fff; border-radius: 10px; padding: 22px 26px;
  min-width: 320px; max-width: 90vw;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.modal-box h3 { font-size: 15px; color: #0d3b66; margin-bottom: 14px; }
.modal-box .modal-btns { display: flex; flex-direction: column; gap: 8px; }
.modal-box button {
  font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 10px 14px; border-radius: 6px; cursor: pointer;
  border: 1.5px solid #dde1e7; background: #fff; color: #333; text-align: left;
}
.modal-box button:hover { background: #f5f7fa; }
.modal-box button.mb-danger { color: #c0392b; border-color: #f3c9c2; }
.modal-box button.mb-danger:hover { background: #fdecea; }
.modal-box button.mb-primary { color: #0d3b66; border-color: #b9d3ea; }
.modal-box button.mb-primary:hover { background: #e3f0fb; }
.modal-box button.mb-cancel { color: #888; }

/* ══ REFUND STATUS BADGES (Admin ▸ Refund Requests) ══ */
.status-pending  { background: #fff3e0; color: #b05e00; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-approved { background: #e8f5e9; color: #2e7d32; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-rejected { background: #fdecea; color: #c0392b; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-billed { background: #e3f0fb; color: #0d3b66; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-claimed { background: #e8f5e9; color: #1b6b34; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }
.status-refunded { background: #e3f0fb; color: #0d3b66; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; display: inline-block; }

.rf-approve, .rf-reject {
  font-family: inherit; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 5px; cursor: pointer; border: none; margin-right: 6px;
}
.rf-approve { background: #e8f5e9; color: #2e7d32; }
.rf-approve:hover { background: #cdeccf; }
.rf-reject { background: #fdecea; color: #c0392b; }
.rf-reject:hover { background: #f7cfc9; }

/* ══ REPORT PRINT BAR (Income, LTL Reports, ...) ══ */
.rpt-print-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

/* ══ Result flags: critical marker + above/below-range arrows (see shared/result-flags.js) ══ */
.rf-critical {
  color: #c0392b;
  font-weight: 700;
  font-size: 11px;
  margin-left: 5px;
  white-space: nowrap;
}
.rf-arrow {
  font-weight: 700;
  margin-left: 4px;
  font-size: 13px;
}
.rf-arrow-up { color: #c0392b; }
.rf-arrow-down { color: #2e6da4; }

/* ══ AUTOCOMPLETE KEYBOARD HIGHLIGHT (shared/autocomplete.js) ══
   Applied to whichever suggestion row is currently selected via
   ArrowUp/ArrowDown, across every hand-rolled suggestion box in the app —
   covers both the common .ac-item row class and Add Test's .at-sugg-item. */
.ac-item.ac-hl, .at-sugg-item.ac-hl {
  background: #e3f0fb !important;
  box-shadow: inset 3px 0 0 #1a8fb8;
}

/* ══ PRINTING: portrait A4, report content only ══ */
@media print {
  @page { size: A4 portrait; margin: 14mm; }
  body { background: #fff; }
  #app-header, .no-print { display: none !important; }
  .content { padding: 0; overflow: visible; }
  .panel { box-shadow: none; border-radius: 0; padding: 0; margin-bottom: 18px; }
}
