/* [mb_my_bookings] – "Mina bokningar" (1.5.0). A white card on any theme background, mobile first. */
.mbk {
  --ink: #111; --mut: #6b6b6b; --line: #e3e3e3; --blue: #111111; --bad: #c62828; --ok: #1b7f3b; --y: #f5c400;
  max-width: 520px; margin: 16px auto 40px; background: #fff; color: var(--ink); border-radius: 16px; padding: 20px 16px 24px;
  font-family: Inter, Roboto, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.45;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
.mbk *, .mbk *::before, .mbk *::after { box-sizing: border-box; }
.mbk p { margin: 8px 0; color: #333; }
.mbk a { color: var(--blue); }
.mbk-h { font-family: Archivo, Inter, sans-serif; font-weight: 800; font-size: 24px; margin: 4px 0 8px; color: var(--ink); font-family: inherit; letter-spacing: 0; }
.mbk-h3 { font-size: 17px; margin: 18px 0 4px; color: var(--ink); font-family: inherit; }
.mbk-mut { color: var(--mut) !important; font-size: 13.5px; }
.mbk-mut.center { text-align: center; }
.mbk-label { display: block; font-size: 13px; font-weight: 500; margin: 12px 0 4px; }
.mbk-label-up { margin: 18px 0 4px; font-size: 12px; font-weight: 500; color: var(--mut); text-transform: uppercase; letter-spacing: .05em; }
.mbk-input { display: block; width: 100%; border: 1px solid #bbb; border-radius: 8px; padding: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.mbk textarea.mbk-input { min-height: 70px; }
.mbk-code { font-size: 24px; letter-spacing: 8px; text-align: center; font-weight: 700; }
.mbk-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 0; border-radius: 10px; padding: 12px; margin-top: 12px; font: inherit; font-weight: 500; text-decoration: none !important; cursor: pointer; }
.mbk-btn.blue { background: var(--blue); color: #fff !important; }
.mbk-btn.dark { background: #000; color: #fff !important; }
.mbk-btn.red { background: var(--bad); color: #fff !important; }
.mbk-btn.line { border: 1px solid var(--line); background: #fff; color: var(--ink) !important; }
.mbk-inline { margin: 0; }
.mbk-link { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.mbk-back { display: inline-block; margin-bottom: 6px; font-size: 14px; text-decoration: none; }
.mbk a { text-decoration: underline; }
.mbk-flash { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #e8f5e9; color: var(--ok); font-weight: 500; }
.mbk-flash.bad { background: #ffebee; color: var(--bad); }

.mbk-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin: 8px 0; }
.mbk-card.up { border: 2px solid var(--y); }
.mbk-t { font-size: 17px; font-weight: 700; }
.mbk-s { font-size: 13.5px; color: var(--mut); margin-top: 2px; }
.mbk-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.mbk-acts a, .mbk-cal { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; color: var(--ink) !important; text-decoration: none !important; font-size: 14px; }
.mbk-acts a.r { color: var(--bad) !important; }
.mbk-cal { margin-top: 6px; }
.mbk-hist { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mbk-hist a { white-space: nowrap; text-decoration: none; }
.mbk-tag { font-size: 12px; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.mbk-tag.bad { background: #ffebee; color: var(--bad); }

/* Pick a new time */
.mbk-month { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 6px; }
.mbk-month a, .mbk-month span { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 24px; text-decoration: none; }
.mbk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 14px; }
.mbk-days > span:nth-child(-n+7) { color: var(--mut); font-size: 12px; padding-bottom: 4px; }
.mbk-days a, .mbk-days span.x { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; max-height: 46px; border-radius: 50%; text-decoration: none; }
.mbk-days a { color: var(--ink) !important; font-weight: 600; background: #F5F3EE; }
.mbk-days span.x { color: #c4c4c4; }
.mbk-days .now { box-shadow: inset 0 0 0 2px var(--y); }
.mbk-days a.sel { background: var(--y); color: var(--ink) !important; }
.mbk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 6px; margin-top: 8px; }
.mbk-times a { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink) !important; text-decoration: none; font-size: 14px; }
.mbk-times a.sel { background: var(--blue); border-color: var(--blue); color: #fff !important; }
.mbk-move { background: #F5F3EE; border-radius: 10px; padding: 10px 12px; margin-top: 14px; line-height: 1.6; }
.mbk-move s { color: var(--mut); }
.mbk-folded { margin-top: 14px; color: var(--mut); }
.mbk-folded summary { cursor: pointer; padding: 6px 0; font-size: 13.5px; }
