/* EMCO Booking 2.0 - calendar, day list and request popup */

.ebk { --ebk-head: #0073AA; --ebk-days: #015e8c; --ebk-btn: #f40010; position: relative; margin: 0 0 1.5em; }
.ebk *, .ebk *::before, .ebk *::after, .ebk-modal *, .ebk-modal *::before, .ebk-modal *::after { box-sizing: border-box; }

.ebk-loading { min-height: 120px; display: flex; align-items: center; justify-content: center; }
.ebk-spin { display: inline-block; width: 22px; height: 22px; border: 2px solid rgba(0, 0, 0, .15); border-top-color: rgba(0, 0, 0, .55); border-radius: 50%; animation: ebk-rot .8s linear infinite; vertical-align: middle; }
@keyframes ebk-rot { to { transform: rotate(360deg); } }

/* ---- Month table ---------------------------------------------------- */
table.ebk-cal { width: 100%; margin: 0; padding: 0; border: 0; border-spacing: 0; border-collapse: separate; table-layout: fixed; background: #f1f1f1; border-bottom: 1px solid #ddd; text-shadow: none; box-shadow: none; font-size: 20px; line-height: 1.75; color: #333; }
table.ebk-cal th, table.ebk-cal td { margin: 0; text-align: center; font-weight: 400; vertical-align: middle; }

table.ebk-cal thead th { background: var(--ebk-head); border: 1px solid var(--ebk-head); color: #fff; text-transform: uppercase; position: relative; padding: 1.15em 0; line-height: 1; font-size: 16px; font-weight: 600; }
table.ebk-cal .ebk-month { display: inline-block; letter-spacing: .03em; font-size: 1.05em; line-height: 1; }
table.ebk-cal .ebk-nav { position: absolute; top: 50%; margin-top: -10px; width: 20px; height: 20px; color: #fff; display: block; line-height: 0; cursor: pointer; transition: transform .12s ease-out; }
table.ebk-cal .ebk-nav svg { width: 20px; height: 20px; display: block; }
table.ebk-cal .ebk-prev { left: 20px; }
table.ebk-cal .ebk-next { right: 20px; }
table.ebk-cal .ebk-prev:hover { transform: translateX(-1px); }
table.ebk-cal .ebk-next:hover { transform: translateX(1px); }
table.ebk-cal tr.ebk-days th { background: var(--ebk-days); border: 1px solid var(--ebk-days); font-size: 11.2px; letter-spacing: .04em; padding: 8px 0; line-height: 1; }

table.ebk-cal td { padding: 0; position: relative; overflow: hidden; border-right: 1px solid #e5e5e5; border-bottom: 1px solid #eaeaea; background: transparent; font-size: 20px; color: #333; }
table.ebk-cal td:first-child { border-left: 1px solid #ddd; }
table.ebk-cal td:last-child { border-right: 1px solid #ddd; }
table.ebk-cal td .ebk-date { display: block; width: 100%; height: 100%; background: #fff; transition: background .15s ease-out, color .15s ease-out; }
table.ebk-cal td .ebk-num { display: inline-block; width: 50px; height: 50px; line-height: 49px; border-radius: 30px; transition: background .15s ease-out, color .15s ease-out; }

table.ebk-cal td.ebk-open { cursor: pointer; }
table.ebk-cal td.ebk-open:hover .ebk-date { background: #fafafa; }
table.ebk-cal td.ebk-open:hover .ebk-num { background: var(--ebk-btn); color: #fff; }

table.ebk-cal td.ebk-out .ebk-date { background: #fafafa; color: #ccc; }
table.ebk-cal td.ebk-past .ebk-date,
table.ebk-cal td.ebk-past:hover .ebk-date { cursor: not-allowed; background: #f5f5f5; color: #ccc; }
table.ebk-cal td.ebk-full .ebk-date,
table.ebk-cal td.ebk-full:hover .ebk-date { cursor: not-allowed; background: #fff9f8; color: #ffa790; }

table.ebk-cal td.ebk-today .ebk-num { border: 2px solid #31afea; line-height: 46px; color: #000; }
table.ebk-cal td.ebk-today.ebk-past .ebk-num { color: #ccc; }
table.ebk-cal td.ebk-today.ebk-open:hover .ebk-num { background: #31afea; color: #fff; }

table.ebk-cal td.ebk-active .ebk-date,
table.ebk-cal td.ebk-active:hover .ebk-date { background: #ddd; }
table.ebk-cal td.ebk-active .ebk-num,
table.ebk-cal td.ebk-active:hover .ebk-num { background: #fff; color: #333; }

/* ---- Day list (opens under the clicked week) -------------------------- */
table.ebk-cal tr.ebk-entry td { background: #ddd; padding: 2%; text-align: left; border-left: 1px solid #ddd; border-right: 1px solid #ddd; border-bottom-color: #ddd; cursor: default; }
.ebk-list { background: #fff; color: #000; padding: 30px 35px 10px; border-radius: 3px; box-shadow: 0 1px 5px rgba(0, 0, 0, .2); font-size: 15px; line-height: 1.7; opacity: 0; transform: scale(.95); transition: transform .4s ease-in-out, opacity .25s ease-out; }
.ebk-list.ebk-shown { opacity: 1; transform: scale(1); }
.ebk-list h2 { text-align: center; color: #555; font-size: 20px; font-weight: 600; line-height: 1.4; margin: 0 0 30px; padding: 0; text-transform: none; letter-spacing: 0; }
.ebk-list h2 strong { font-weight: 600; }
.ebk-list .ebk-none { color: #888; text-align: center; margin: 0 0 20px; }
.ebk-list .ebk-list-spin { text-align: center; padding: 0 0 25px; }
.ebk-slot { border-top: 1px solid #ddd; color: #888; line-height: 1.8; overflow: hidden; transition: background .1s ease-out; }
.ebk-slot:last-child { margin: 0 0 10px; }
.ebk-slot:hover { background: #f9f9f9; }
.ebk-slot .ebk-time { float: left; width: 60%; height: 60px; padding: 22px 0 0 15px; line-height: 1; font-size: 16px; font-weight: 600; color: #555; text-align: left; }
.ebk-slot .ebk-time svg { width: 16px; height: 16px; vertical-align: -2px; color: #555; }
.ebk-slot .ebk-people { float: right; width: 40%; height: 60px; padding: 13px 13px 0 0; }
.ebk .ebk-book { float: right; margin: 0 0 0 10px; padding: 0 12px; line-height: 30px; height: 31px; font-size: 12px; font-weight: 400; color: #fff; background: var(--ebk-btn); border: 1px solid var(--ebk-btn); border-radius: 0; white-space: nowrap; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; font-family: inherit; }
.ebk .ebk-book:hover { filter: brightness(.94); }
.ebk .ebk-book .ebk-btime { display: none; }
.ebk .ebk-book[disabled],
.ebk .ebk-book[disabled]:hover { cursor: default; background: #eee; border-color: #ddd; color: #aaa; filter: none; }

/* ---- Small (phones and narrow columns) ----------------------------------- */
.ebk.ebk-small table.ebk-cal td { font-size: 13px; }
.ebk.ebk-small table.ebk-cal td .ebk-num { display: block; width: 100%; height: 100%; border-radius: 0; line-height: inherit; }
.ebk.ebk-small table.ebk-cal td.ebk-open:hover .ebk-date { background: #f9f9f9; }
.ebk.ebk-small table.ebk-cal td.ebk-open:hover .ebk-num { background: transparent; color: #000; }
.ebk.ebk-small table.ebk-cal td.ebk-today .ebk-num { border: 0; line-height: inherit; }
.ebk.ebk-small table.ebk-cal td.ebk-today .ebk-date { background: #e3f2f9; color: #555; }
.ebk.ebk-small table.ebk-cal td.ebk-today.ebk-past .ebk-date { background: #f5f5f5; color: #ccc; }
.ebk.ebk-small table.ebk-cal td.ebk-active .ebk-date,
.ebk.ebk-small table.ebk-cal td.ebk-active:hover .ebk-date { background: #ddd; color: #222; }
.ebk.ebk-small table.ebk-cal td.ebk-active .ebk-num,
.ebk.ebk-small table.ebk-cal td.ebk-active:hover .ebk-num { background: transparent; font-size: 16px; }
.ebk.ebk-small table.ebk-cal tr.ebk-entry td { padding: 2.5%; }
.ebk.ebk-small table.ebk-cal .ebk-month { font-size: .9em; }
.ebk.ebk-small .ebk-list { padding: 15px 20px 10px; max-height: 300px; overflow-y: auto; overflow-x: hidden; }
.ebk.ebk-small .ebk-list h2 { font-size: 19px; margin: 5px 0 20px; font-weight: 600; letter-spacing: .01em; }
.ebk.ebk-small .ebk-list h2 .ebk-h2-pre { display: none; }
.ebk.ebk-small .ebk-slot { border: 0; margin: 0 0 10px; }
.ebk.ebk-small .ebk-slot:hover { background: none; }
.ebk.ebk-small .ebk-slot .ebk-time { display: none; }
.ebk.ebk-small .ebk-slot .ebk-people { display: block; float: none; width: 100%; height: auto; padding: 0; }
.ebk.ebk-small .ebk-book { float: none; display: block; width: 100%; margin: 0; height: auto; padding: 7px 0; line-height: 1.5; font-size: 12.8px; font-weight: 600; letter-spacing: .01em; white-space: normal; text-align: center; }
.ebk.ebk-small .ebk-book .ebk-btime { display: inline; }
.ebk.ebk-small .ebk-book .ebk-btext { display: none; }
.ebk.ebk-small .ebk-book[disabled] .ebk-btext { display: inline; margin-left: 6px; }

/* ---- Request popup ------------------------------------------------------ */
html.ebk-noscroll, html.ebk-noscroll body { overflow: hidden !important; }
.ebk-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 999999; overscroll-behavior: contain; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .2s ease-out; font-size: 16px; line-height: normal; color: #000; text-align: left; }
.ebk-modal.ebk-in { opacity: 1; }
.ebk-modal .ebk-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); }
.ebk-modal .ebk-window { position: relative; width: 405px; max-width: 100%; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; background: #f5f5f5; border-radius: 5px; box-shadow: 1px 1px 60px rgba(0, 0, 0, .5); padding: 47px 0 0; transform: translateY(8px); transition: transform .2s ease-out; }
.ebk-modal.ebk-in .ebk-window { transform: none; }
.ebk-modal .ebk-titlebar { position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: 12px 40px 12px 15px; background: var(--ebk-btn); color: #fff; border-radius: 4px 4px 0 0; line-height: 22.75px; }
.ebk-modal .ebk-titlebar small { font-size: 13px; text-transform: uppercase; font-weight: 600; letter-spacing: 0; }
.ebk-modal .ebk-close { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; color: rgba(255, 255, 255, .5); line-height: 0; z-index: 2; }
.ebk-modal .ebk-close:hover { color: #fff; }
.ebk-modal .ebk-close svg { width: 18px; height: 18px; display: block; }
.ebk-modal .ebk-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 25px 30px; }
.ebk-modal form { margin: 0; }
.ebk-modal p { margin: 0 0 15px; }
.ebk-modal .ebk-intro { font-size: 15px; font-weight: 600; line-height: 1.75; color: #000; margin: 0 0 15px; }
.ebk-modal .ebk-appt { background: #fff; border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); padding: 10px 16px 13px; margin: 0 0 15px; }
.ebk-modal .ebk-appt p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.7; color: #000; }
.ebk-modal .ebk-appt svg { width: 14px; height: 14px; vertical-align: -1px; margin-right: 10px; }
.ebk-modal .ebk-field { margin: 5px 0 7px; }
.ebk-modal .ebk-label { display: block; font-size: 16px; font-weight: 700; line-height: 28px; color: #000; padding: 10px 0 8px; margin: 0; text-transform: none; letter-spacing: 0; }
.ebk-modal .ebk-req { color: #e35656; display: inline-block; margin: -1px 0 0 7px; width: 11px; height: 11px; vertical-align: 0; }
.ebk-modal .ebk-req svg { display: block; width: 11px; height: 11px; }
.ebk-modal .ebk-small-p { font-size: 14px; font-weight: 600; color: #000; margin: -5px 0 5px; line-height: 1.75; }
.ebk-modal input[type=text], .ebk-modal input[type=email], .ebk-modal input[type=tel], .ebk-modal textarea, .ebk-modal select { display: block; width: 100%; margin: 0; padding: 7px 10px; font-size: 13px; line-height: normal; color: #333; background: #fff; border: 1px solid #ccc; border-radius: 3px; box-shadow: none; font-family: inherit; height: auto; min-height: 0; text-transform: none; letter-spacing: 0; }
.ebk-modal input::placeholder, .ebk-modal textarea::placeholder { color: #aaa; opacity: 1; }
.ebk-modal input:focus, .ebk-modal textarea:focus, .ebk-modal select:focus { outline: none; border-color: #999; }
.ebk-modal select { height: 30px; padding: 0 10px; border-radius: 2px; color: #000; -webkit-appearance: menulist; appearance: auto; background-image: none; }
.ebk-modal textarea { min-height: 70px; resize: vertical; }
.ebk-modal .ebk-two { display: flex; gap: 5.6px; }
.ebk-modal .ebk-two input { flex: 1 1 0; min-width: 0; }
.ebk-modal .ebk-check { display: block; padding: 0 0 3px 10px; font-size: 13px; line-height: 22.75px; color: #000; cursor: pointer; }
.ebk-modal .ebk-check input { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; margin: 0 7px 0 0; padding: 0; vertical-align: -3px; border: 1px solid #e6e6e6; background: #fff; border-radius: 2px; cursor: pointer; }
.ebk-modal .ebk-check input:checked { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23111' stroke-width='1.8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ebk-modal .ebk-check input[type=radio] { border-radius: 50%; }
.ebk-modal .ebk-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.ebk-modal .ebk-status { font-size: 15px; font-weight: 600; line-height: 1.75; color: #c0392b; margin: 0; padding: 0 0 12px; }
.ebk-modal .ebk-status:empty { display: none; }
.ebk-modal .ebk-status.ebk-wait { color: #888; }
.ebk-modal .ebk-status .ebk-spin { width: 14px; height: 14px; border-width: 2px; margin-right: 8px; vertical-align: -2px; }
.ebk-modal .ebk-actions { padding-top: 6px; }
.ebk-modal .ebk-submit { display: inline-block; height: 31px; line-height: 30px; padding: 0 12px; margin: 0 10px 0 0; font-size: 12px; font-weight: 600; text-transform: uppercase; color: #fff; background: var(--ebk-btn); border: 1px solid var(--ebk-btn); border-radius: 8px; cursor: pointer; box-shadow: none; font-family: inherit; letter-spacing: 0; width: auto; }
.ebk-modal .ebk-submit:hover { filter: brightness(.94); }
.ebk-modal .ebk-submit[disabled] { background: #ddd; border-color: #ddd; color: #fff; cursor: default; filter: none; }
.ebk-modal .ebk-cancel { display: inline-block; height: 31px; line-height: 30px; padding: 0 12px; font-size: 12px; font-weight: 400; color: #333; background: #eee; border: 1px solid #ccc; border-radius: 0; cursor: pointer; box-shadow: none; font-family: inherit; text-transform: none; letter-spacing: 0; }
.ebk-modal .ebk-done { font-size: 15px; line-height: 1.6; color: #222; }

@media (max-width: 720px) {
	.ebk-modal { padding: 0; align-items: stretch; }
	.ebk-modal .ebk-window { width: 100%; max-height: none; height: 100%; height: 100dvh; border-radius: 0; }
	.ebk-modal .ebk-titlebar { border-radius: 0; padding: 12px 44px 12px 12px; }
	.ebk-modal input[type=text], .ebk-modal input[type=email], .ebk-modal input[type=tel], .ebk-modal textarea { padding: 6px 10px; }
	.ebk-modal .ebk-submit { display: block; width: 100%; margin: 0 0 10px; height: 30px; line-height: 28px; }
	.ebk-modal .ebk-cancel { display: block; width: 100%; }
}

/* =========================================================================
 * Easy-read look (Settings > Look). Built for older customers:
 * 16px+ text, 44px+ targets, open dates look like buttons, labels always visible.
 * ====================================================================== */

/* ---- Calendar ---- */
.ebk.ebk-easy table.ebk-cal { background: #fff; font-size: 19px; }
.ebk.ebk-easy table.ebk-cal thead tr:first-child th { padding: 14px 76px 12px; text-transform: none; }
.ebk.ebk-easy table.ebk-cal .ebk-month { display: block; font-size: 21px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.ebk.ebk-easy table.ebk-cal .ebk-note { display: block; margin: 7px 0 0; font-size: 15px; font-weight: 400; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.ebk.ebk-easy table.ebk-cal .ebk-nav { top: 50%; margin: 0; transform: translateY(-50%); width: auto; height: 44px; min-width: 44px; padding: 0 8px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 6px; font-size: 15px; font-weight: 600; line-height: 1; text-transform: none; text-decoration: none; color: #fff; }
.ebk.ebk-easy table.ebk-cal .ebk-prev { left: 8px; }
.ebk.ebk-easy table.ebk-cal .ebk-next { right: 8px; }
.ebk.ebk-easy table.ebk-cal .ebk-nav:hover,
.ebk.ebk-easy table.ebk-cal .ebk-nav:focus-visible { background: rgba(255, 255, 255, .18); transform: translateY(-50%); outline: none; }
.ebk.ebk-easy table.ebk-cal .ebk-nav svg { width: 18px; height: 18px; flex: 0 0 auto; }
.ebk.ebk-easy table.ebk-cal tr.ebk-days th { font-size: 13px; font-weight: 700; padding: 9px 0; }

.ebk.ebk-easy table.ebk-cal td { border-right: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; }
.ebk.ebk-easy table.ebk-cal td .ebk-date { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #fff; }
.ebk.ebk-easy table.ebk-cal td .ebk-num { width: 46px; height: 46px; line-height: 42px; border: 2px solid transparent; border-radius: 50%; font-size: 19px; }
.ebk.ebk-easy table.ebk-cal td .ebk-tag { display: block; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: #8a8a8a; }

/* open = looks like a button */
.ebk.ebk-easy table.ebk-cal td.ebk-open .ebk-num { border-color: var(--ebk-head); color: #0b4f75; font-weight: 700; background: #fff; }
.ebk.ebk-easy table.ebk-cal td.ebk-open .ebk-tag { color: #0b4f75; }
.ebk.ebk-easy table.ebk-cal td.ebk-open:hover .ebk-date,
.ebk.ebk-easy table.ebk-cal td.ebk-open:focus-visible .ebk-date { background: #f2f8fc; }
.ebk.ebk-easy table.ebk-cal td.ebk-open:hover .ebk-num,
.ebk.ebk-easy table.ebk-cal td.ebk-open:focus-visible .ebk-num { background: var(--ebk-head); color: #fff; }
.ebk.ebk-easy table.ebk-cal td.ebk-open:focus-visible { outline: 3px solid #0b4f75; outline-offset: -3px; }

/* not available = flat and grey */
.ebk.ebk-easy table.ebk-cal td.ebk-past .ebk-date,
.ebk.ebk-easy table.ebk-cal td.ebk-past:hover .ebk-date,
.ebk.ebk-easy table.ebk-cal td.ebk-full .ebk-date,
.ebk.ebk-easy table.ebk-cal td.ebk-full:hover .ebk-date { background: #ececec; color: #b5b5b5; cursor: default; }
.ebk.ebk-easy table.ebk-cal td.ebk-past .ebk-num,
.ebk.ebk-easy table.ebk-cal td.ebk-full .ebk-num { font-weight: 400; color: #b5b5b5; }
.ebk.ebk-easy table.ebk-cal td.ebk-out .ebk-date { background: #f6f6f6; }
.ebk.ebk-easy table.ebk-cal td.ebk-today .ebk-num { border-color: transparent; line-height: 42px; }
.ebk.ebk-easy table.ebk-cal td.ebk-today.ebk-open .ebk-num { border-color: var(--ebk-head); }

/* picked day */
.ebk.ebk-easy table.ebk-cal td.ebk-active .ebk-date,
.ebk.ebk-easy table.ebk-cal td.ebk-active:hover .ebk-date { background: #fff; }
.ebk.ebk-easy table.ebk-cal td.ebk-active .ebk-num,
.ebk.ebk-easy table.ebk-cal td.ebk-active:hover .ebk-num { background: var(--ebk-btn); border-color: var(--ebk-btn); color: #fff; }

/* ---- Times list ---- */
.ebk.ebk-easy table.ebk-cal tr.ebk-entry td { background: #e4e4e4; padding: 14px; }
.ebk.ebk-easy .ebk-list { padding: 24px 24px 12px; color: #222; font-size: 16px; }
.ebk.ebk-easy .ebk-list h2 { color: #222; font-size: 21px; font-weight: 700; margin: 0 0 6px; }
.ebk.ebk-easy .ebk-list h2 .ebk-h2-pre { font-weight: 400; }
.ebk.ebk-easy .ebk-list .ebk-sub { text-align: center; color: #444; font-size: 15px; line-height: 1.45; margin: 0 0 16px; }
.ebk.ebk-easy .ebk-list .ebk-none { color: #444; font-size: 16px; }
.ebk.ebk-easy .ebk-slot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 6px; border-top: 1px solid #ddd; line-height: 1.3; overflow: visible; }
.ebk.ebk-easy .ebk-slot:hover { background: #f7f7f7; }
.ebk.ebk-easy .ebk-slot .ebk-time { float: none; width: auto; height: auto; padding: 0; font-size: 18px; font-weight: 700; color: #222; }
.ebk.ebk-easy .ebk-slot .ebk-time svg { width: 18px; height: 18px; color: #444; vertical-align: -3px; }
.ebk.ebk-easy .ebk-slot .ebk-people { float: none; width: auto; height: auto; padding: 0; flex: 0 0 auto; }
.ebk.ebk-easy .ebk-book { float: none; margin: 0; height: 46px; line-height: 1; padding: 0 20px; font-size: 16px; font-weight: 700; border-radius: 6px; }
.ebk.ebk-easy .ebk-book:focus-visible { outline: 3px solid #0b4f75; outline-offset: 2px; }
.ebk.ebk-easy .ebk-slot-full .ebk-time { color: #9a9a9a; font-weight: 400; text-decoration: line-through; }
.ebk.ebk-easy .ebk-book[disabled],
.ebk.ebk-easy .ebk-book[disabled]:hover { background: #ececec; border-color: #ececec; color: #6b6b6b; }

/* ---- Calendar + times on phones / narrow columns ---- */
.ebk.ebk-easy.ebk-small table.ebk-cal thead tr:first-child th { padding: 12px 52px 10px; }
.ebk.ebk-easy.ebk-small table.ebk-cal .ebk-month { font-size: 18px; }
.ebk.ebk-easy.ebk-small table.ebk-cal .ebk-note { font-size: 14px; }
.ebk.ebk-easy.ebk-small table.ebk-cal .ebk-navtxt { display: none; }
.ebk.ebk-easy.ebk-small table.ebk-cal .ebk-prev { left: 4px; }
.ebk.ebk-easy.ebk-small table.ebk-cal .ebk-next { right: 4px; }
.ebk.ebk-easy.ebk-small table.ebk-cal tr.ebk-days th { font-size: 12px; }
.ebk.ebk-easy.ebk-small table.ebk-cal td { font-size: 16px; }
.ebk.ebk-easy.ebk-small table.ebk-cal td .ebk-num { display: block; width: 38px; height: 38px; line-height: 34px; border-radius: 50%; font-size: 16px; }
.ebk.ebk-easy.ebk-small table.ebk-cal td .ebk-tag { display: none; }
.ebk.ebk-easy.ebk-small table.ebk-cal td.ebk-today .ebk-date,
.ebk.ebk-easy.ebk-small table.ebk-cal td.ebk-today.ebk-past .ebk-date { background: #ececec; color: #b5b5b5; }
.ebk.ebk-easy.ebk-small table.ebk-cal td.ebk-open:hover .ebk-date { background: #f2f8fc; }
.ebk.ebk-easy.ebk-small table.ebk-cal td.ebk-open:hover .ebk-num { background: var(--ebk-head); color: #fff; }
.ebk.ebk-easy.ebk-small table.ebk-cal td.ebk-active .ebk-num,
.ebk.ebk-easy.ebk-small table.ebk-cal td.ebk-active:hover .ebk-num { background: var(--ebk-btn); color: #fff; font-size: 16px; }
.ebk.ebk-easy.ebk-small table.ebk-cal tr.ebk-entry td { padding: 8px; }
.ebk.ebk-easy.ebk-small .ebk-list { padding: 18px 14px 6px; max-height: none; overflow: visible; }
.ebk.ebk-easy.ebk-small .ebk-list h2 { font-size: 19px; margin: 0 0 6px; }
.ebk.ebk-easy.ebk-small .ebk-list h2 .ebk-h2-pre { display: inline; }
.ebk.ebk-easy.ebk-small .ebk-list .ebk-sub { font-size: 15px; margin-bottom: 14px; }
.ebk.ebk-easy.ebk-small .ebk-slot { display: block; padding: 0; border: 0; margin: 0 0 10px; }
.ebk.ebk-easy.ebk-small .ebk-slot:hover { background: none; }
.ebk.ebk-easy.ebk-small .ebk-slot .ebk-time { display: none; }
.ebk.ebk-easy.ebk-small .ebk-book { display: flex; width: 100%; height: auto; min-height: 52px; padding: 8px 12px; align-items: center; justify-content: center; gap: 8px; font-size: 17px; line-height: 1.25; white-space: normal; }
.ebk.ebk-easy.ebk-small .ebk-book .ebk-btime { display: inline; }
.ebk.ebk-easy.ebk-small .ebk-book .ebk-btext { display: none; }
.ebk.ebk-easy.ebk-small .ebk-book[disabled] .ebk-btime { text-decoration: line-through; font-weight: 400; }
.ebk.ebk-easy.ebk-small .ebk-book[disabled] .ebk-btext { display: inline; margin: 0; }

/* ---- Popup form ---- */
.ebk-modal.ebk-easy { font-size: 16px; color: #1a1a1a; }
.ebk-modal.ebk-easy .ebk-window { width: 600px; background: #fff; padding-top: 52px; }
.ebk-modal.ebk-easy .ebk-titlebar { padding: 14px 56px 14px 22px; line-height: 24px; }
.ebk-modal.ebk-easy .ebk-titlebar small { font-size: 16px; font-weight: 700; letter-spacing: .03em; }
.ebk-modal.ebk-easy .ebk-close { top: 4px; right: 4px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .85); border-radius: 6px; }
.ebk-modal.ebk-easy .ebk-close:hover,
.ebk-modal.ebk-easy .ebk-close:focus-visible { color: #fff; background: rgba(255, 255, 255, .18); outline: none; }
.ebk-modal.ebk-easy .ebk-close svg { width: 20px; height: 20px; }
.ebk-modal.ebk-easy .ebk-scroll { padding: 20px 26px 16px; }

.ebk-modal.ebk-easy .ebk-when { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 14px; background: #eef6fb; border-left: 4px solid var(--ebk-head); border-radius: 4px; }
.ebk-modal.ebk-easy .ebk-when > svg { width: 24px; height: 24px; flex: 0 0 auto; color: #0b4f75; }
.ebk-modal.ebk-easy .ebk-when-txt { flex: 1 1 auto; line-height: 1.35; }
.ebk-modal.ebk-easy .ebk-when-txt strong { display: block; font-size: 18px; font-weight: 700; color: #111; }
.ebk-modal.ebk-easy .ebk-when-txt span { display: block; font-size: 16px; color: #333; }
.ebk-modal.ebk-easy .ebk-change { flex: 0 0 auto; min-height: 44px; padding: 0 10px; background: none; border: 0; color: #0b4f75; font: inherit; font-size: 16px; font-weight: 600; text-decoration: underline; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; }

.ebk-modal.ebk-easy .ebk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.ebk-modal.ebk-easy .ebk-f { grid-column: span 2; min-width: 0; margin: 0; }
.ebk-modal.ebk-easy .ebk-f.ebk-half { grid-column: span 1; }
.ebk-modal.ebk-easy .ebk-l { display: block; margin: 0 0 6px; padding: 0; font-size: 16px; font-weight: 700; line-height: 1.3; color: #1a1a1a; text-transform: none; letter-spacing: 0; }
.ebk-modal.ebk-easy .ebk-opt { font-weight: 400; color: #555; }
.ebk-modal.ebk-easy input[type=text],
.ebk-modal.ebk-easy input[type=email],
.ebk-modal.ebk-easy input[type=tel],
.ebk-modal.ebk-easy select,
.ebk-modal.ebk-easy textarea { height: 48px; padding: 0 12px; font-size: 16px; line-height: 1.3; color: #111; background: #fff; border: 1px solid #8c8c8c; border-radius: 5px; }
.ebk-modal.ebk-easy textarea { height: auto; min-height: 84px; padding: 10px 12px; }
.ebk-modal.ebk-easy select { -webkit-appearance: menulist; appearance: auto; }
.ebk-modal.ebk-easy input::placeholder,
.ebk-modal.ebk-easy textarea::placeholder { color: #6b6b6b; }
.ebk-modal.ebk-easy input:focus,
.ebk-modal.ebk-easy select:focus,
.ebk-modal.ebk-easy textarea:focus { border-color: var(--ebk-head); box-shadow: 0 0 0 3px rgba(0, 115, 170, .3); outline: none; }

.ebk-modal.ebk-easy .ebk-cards { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ebk-modal.ebk-easy .ebk-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 10px 12px; font-size: 16px; font-weight: 400; line-height: 1.3; color: #1a1a1a; background: #fff; border: 1px solid #8c8c8c; border-radius: 6px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.ebk-modal.ebk-easy .ebk-card:hover { border-color: var(--ebk-head); background: #f7fbfe; }
.ebk-modal.ebk-easy .ebk-card input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ebk-modal.ebk-easy .ebk-box { flex: 0 0 auto; width: 24px; height: 24px; border: 2px solid #555; border-radius: 4px; background: #fff center / 16px no-repeat; }
.ebk-modal.ebk-easy .ebk-card input[type=radio] + .ebk-box { border-radius: 50%; }
.ebk-modal.ebk-easy .ebk-card input:checked + .ebk-box { background-color: var(--ebk-head); border-color: var(--ebk-head); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ebk-modal.ebk-easy .ebk-card.ebk-on { border: 2px solid var(--ebk-head); padding: 9px 11px; background: #eef6fb; }
.ebk-modal.ebk-easy .ebk-card:focus-within { outline: 3px solid rgba(0, 115, 170, .45); outline-offset: 1px; }

.ebk-modal.ebk-easy .ebk-err { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: #b00020; }
.ebk-modal.ebk-easy .ebk-err[hidden] { display: none; }
.ebk-modal.ebk-easy .ebk-err svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
.ebk-modal.ebk-easy .ebk-bad input[type=text],
.ebk-modal.ebk-easy .ebk-bad input[type=email],
.ebk-modal.ebk-easy .ebk-bad input[type=tel],
.ebk-modal.ebk-easy .ebk-bad select,
.ebk-modal.ebk-easy .ebk-bad textarea,
.ebk-modal.ebk-easy .ebk-bad .ebk-card { border: 2px solid #b00020; }
.ebk-modal.ebk-easy .ebk-bad .ebk-card { padding: 9px 11px; }

.ebk-modal.ebk-easy .ebk-status { margin: 16px 0 0; padding: 0; font-size: 16px; font-weight: 600; color: #b00020; }
.ebk-modal.ebk-easy .ebk-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; margin: 18px 0 0; padding: 0 16px; font-size: 19px; font-weight: 700; text-transform: none; letter-spacing: .01em; line-height: 1; border-radius: 6px; }
.ebk-modal.ebk-easy .ebk-submit:focus-visible { outline: 3px solid #0b4f75; outline-offset: 2px; }
.ebk-modal.ebk-easy .ebk-submit[disabled] { background: #6b6b6b; border-color: #6b6b6b; color: #fff; }
.ebk-modal.ebk-easy .ebk-submit .ebk-spin { width: 18px; height: 18px; border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
.ebk-modal.ebk-easy .ebk-reassure { margin: 12px 0 0; text-align: center; font-size: 16px; line-height: 1.45; color: #333; }
.ebk-modal.ebk-easy .ebk-reassure a { color: #0b4f75; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.ebk-modal.ebk-easy .ebk-cancel { display: block; min-height: 44px; margin: 4px auto 0; padding: 0 16px; background: none; border: 0; font-size: 16px; color: #333; text-decoration: underline; height: auto; line-height: 44px; }

@media (max-width: 600px) {
	.ebk-modal.ebk-easy .ebk-grid { grid-template-columns: 1fr; }
	.ebk-modal.ebk-easy .ebk-f,
	.ebk-modal.ebk-easy .ebk-f.ebk-half { grid-column: span 1; }
	.ebk-modal.ebk-easy .ebk-cards { grid-template-columns: 1fr; }
	.ebk-modal.ebk-easy .ebk-scroll { padding: 16px 16px 12px; }
}
@media (max-width: 720px) {
	.ebk-modal.ebk-easy .ebk-titlebar { padding: 14px 56px 14px 16px; }
	.ebk-modal.ebk-easy .ebk-submit { height: 56px; line-height: 1; margin: 18px 0 0; }
	.ebk-modal.ebk-easy .ebk-cancel { width: auto; display: block; }
}
