:root {
	--ns-navy: #14213d;
	--ns-navy-light: #1d3557;
	--ns-accent: #ff6b35;
	--ns-accent-dark: #e0551f;
	--ns-green: #2a9d3f;
	--ns-red: #c1121f;
	--ns-bg: #f7f8fa;
	--ns-border: #e5e7eb;
	--ns-text: #1f2937;
	--ns-text-light: #6b7280;
	--ns-radius: 10px;
}

/* ---------- Shared ---------- */
.noshow-form-wrap, .noshow-portal, .noshow-directory, .noshow-calendar-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--ns-text);
}

.noshow-form button,
.noshow-portal button,
.noshow-directory button,
.noshow-calendar-wrap button {
	background: var(--ns-navy);
	color: #fff;
	border: none;
	padding: 11px 20px;
	cursor: pointer;
	border-radius: var(--ns-radius);
	font-size: 14px;
	font-weight: 600;
	transition: background .15s ease;
}
.noshow-form button:hover,
.noshow-portal button:hover,
.noshow-directory button:hover,
.noshow-calendar-wrap button:hover { background: var(--ns-navy-light); }

.noshow-form input,
.noshow-form select,
.noshow-form textarea,
.noshow-portal input,
.noshow-portal select,
.noshow-portal textarea,
.noshow-directory input,
.noshow-directory select {
	border: 1px solid var(--ns-border);
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 14px;
	font-family: inherit;
}
.noshow-form input:focus,
.noshow-form select:focus,
.noshow-portal input:focus,
.noshow-portal select:focus { outline: none; border-color: var(--ns-navy-light); box-shadow: 0 0 0 3px rgba(29,53,87,.12); }

/* ---------- Registration / login ---------- */
.noshow-form-wrap {
	max-width: 440px;
	margin: 32px auto;
	background: #fff;
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius);
	padding: 32px;
	box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.noshow-form-wrap #loginform { border: none !important; padding: 0 !important; max-width: none !important; background: none !important; box-shadow: none !important; }
.noshow-form label { display: block; margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.noshow-form input, .noshow-form select, .noshow-form textarea { width: 100%; margin-top: 6px; box-sizing: border-box; font-weight: normal; }
.noshow-form button { width: 100%; margin-top: 6px; padding: 12px; }
.noshow-error { color: var(--ns-red); font-weight: 600; background: #fdecec; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }

.noshow-form-wrap #loginform p { margin: 0 0 16px; }
.noshow-form-wrap #loginform label {
	display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--ns-text);
}
.noshow-form-wrap #loginform input[type="text"],
.noshow-form-wrap #loginform input[type="password"] {
	width: 100% !important;
	box-sizing: border-box;
	border: 1px solid var(--ns-border);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
}
.noshow-form-wrap #loginform input[type="text"]:focus,
.noshow-form-wrap #loginform input[type="password"]:focus {
	outline: none; border-color: var(--ns-navy-light); box-shadow: 0 0 0 3px rgba(29,53,87,.12);
}
.noshow-form-wrap .login-remember {
	display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: normal; color: var(--ns-text-light);
}
.noshow-form-wrap .login-remember label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: normal; }
.noshow-form-wrap .login-remember input { width: auto; margin: 0; }
.noshow-form-wrap #loginform input[type="submit"] {
	background: var(--ns-navy); color: #fff; border: none; padding: 12px 20px;
	border-radius: var(--ns-radius); font-weight: 600; cursor: pointer; width: 100%; font-size: 14px;
}
.noshow-form-wrap #loginform input[type="submit"]:hover { background: var(--ns-navy-light); }
.noshow-form-wrap p:last-child { margin: 18px 0 0; font-size: 14px; color: var(--ns-text-light); }
.noshow-form-wrap p:last-child a { color: var(--ns-navy-light); font-weight: 600; }

/* ---------- Portal ---------- */
.noshow-portal {
	max-width: 920px; margin: 24px auto; background: #fff; border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.noshow-portal-header {
	display: flex; justify-content: space-between; align-items: center;
	background: var(--ns-navy); color: #fff; padding: 18px 24px;
}
.noshow-portal-header h2 { margin: 0; font-size: 18px; color: #fff; }
.noshow-header-actions { display: flex; align-items: center; gap: 18px; }
.noshow-profile-link {
	background: none !important; border: none !important; color: #d6dbe8 !important; text-decoration: none;
	font-size: 13px; font-weight: 600; cursor: pointer; padding: 0 !important;
}
.noshow-profile-link:hover { color: #fff !important; }
.noshow-portal-header .noshow-logout { color: #ffd6c9; text-decoration: none; font-size: 13px; font-weight: 600; }
.noshow-portal-header .noshow-logout:hover { color: #fff; }

.noshow-portal-body { display: flex; align-items: stretch; }

.noshow-sidebar {
	width: 200px; flex-shrink: 0; display: flex; flex-direction: column;
	background: var(--ns-bg); border-right: 1px solid var(--ns-border); padding: 12px;
}
.noshow-sidebar .noshow-tab-btn {
	background: none !important; border: none; border-left: 3px solid transparent;
	padding: 12px 14px; cursor: pointer; color: var(--ns-text-light);
	font-weight: 600; font-size: 14px; text-align: left; border-radius: 6px; box-shadow: none;
}
.noshow-sidebar .noshow-tab-btn.active { color: var(--ns-navy); background: #fff !important; border-left-color: var(--ns-accent); }
.noshow-sidebar .noshow-tab-btn:hover:not(.active) { color: var(--ns-text); background: none !important; }

.noshow-portal-content { flex: 1; padding: 24px; min-width: 0; }
.noshow-tab-panel > p:first-child { color: var(--ns-text-light); margin-top: 0; }
.noshow-tab-panel label { display: block; margin-bottom: 16px; font-weight: 600; font-size: 14px; max-width: 360px; }
.noshow-tab-panel input, .noshow-tab-panel select { width: 100%; margin-top: 6px; box-sizing: border-box; font-weight: normal; font-size: 16px; }

.noshow-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.noshow-table td, .noshow-table th { padding: 10px 8px; border-bottom: 1px solid var(--ns-border); text-align: left; font-size: 14px; }
.noshow-table th { color: var(--ns-text-light); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.noshow-table input[type=time] { width: auto; }
.noshow-table input:disabled { background: var(--ns-bg); color: var(--ns-text-light); }
.noshow-table label { display: inline-flex !important; align-items: center; gap: 6px; font-weight: normal !important; margin: 0 !important; max-width: none !important; }
.noshow-table input[type="checkbox"] { width: auto; margin: 0; }

/* Weekly availability cards */
.noshow-week-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.noshow-week-row {
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
	padding: 14px; border: 1px solid var(--ns-border); border-radius: 8px; background: var(--ns-bg);
}
.noshow-week-day { width: 96px; flex-shrink: 0; font-weight: 600; font-size: 14px; color: var(--ns-navy); }
.noshow-week-row .noshow-toggle {
	display: flex !important; align-items: center; gap: 8px; cursor: pointer; flex-shrink: 0;
	position: relative; width: 130px; max-width: none !important; margin-bottom: 0 !important; font-weight: normal !important;
}
.noshow-toggle input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; appearance: none; -webkit-appearance: none; }
.noshow-toggle-slider {
	width: 36px; height: 20px; border-radius: 10px; background: #d1d5db; position: relative; transition: background .15s;
	flex-shrink: 0; display: block;
}
.noshow-toggle-slider::before {
	content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
	background: #fff; transition: transform .15s;
}
.noshow-toggle input:checked + .noshow-toggle-slider { background: var(--ns-navy-light); }
.noshow-toggle input:checked + .noshow-toggle-slider::before { transform: translateX(16px); }
.noshow-toggle-label { font-size: 13px; color: var(--ns-text-light); font-weight: 600; }
.noshow-week-times { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.noshow-week-times input[type=time] { width: auto; padding: 8px 10px; font-size: 16px; }
.noshow-week-times span { color: var(--ns-text-light); font-size: 13px; }

/* Today tab */
.noshow-today-slots { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; max-width: 420px; }
.noshow-slot-row { display: flex; align-items: center; gap: 10px; background: var(--ns-bg); border: 1px solid var(--ns-border); border-radius: 8px; padding: 10px 12px; }
.noshow-slot-row input[type=time] { width: auto; flex: 1; font-size: 16px; padding: 8px 10px; }
.noshow-slot-row span { color: var(--ns-text-light); font-size: 13px; flex-shrink: 0; }
.noshow-remove-slot {
	background: #fff !important; border: 1px solid var(--ns-border) !important; color: var(--ns-text-light) !important;
	font-size: 18px; line-height: 1; width: 28px; height: 28px; border-radius: 50%;
	cursor: pointer; padding: 0 !important; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.noshow-remove-slot:hover { color: #fff !important; background: var(--ns-red) !important; border-color: var(--ns-red) !important; }
.noshow-quick-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 10px; }
.noshow-hours-field { display: flex; flex-direction: column; gap: 4px; }
.noshow-hours-field label { font-size: 12px; font-weight: 600; color: var(--ns-text-light); text-transform: uppercase; letter-spacing: .03em; }
.noshow-hours-field select {
	border: 1px solid var(--ns-border); border-radius: 10px; background: var(--ns-bg); color: var(--ns-navy);
	font-weight: 700; font-size: 16px; padding: 12px 36px 12px 14px; min-width: 150px;
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%2314213d'/></svg>");
	background-repeat: no-repeat; background-position: right 14px center;
}
.noshow-hours-field select:focus { outline: none; border-color: var(--ns-navy-light); box-shadow: 0 0 0 3px rgba(29,53,87,.12); }
.noshow-status-btn {
	font-size: 15px !important; padding: 16px 22px !important; border-radius: 10px !important;
	color: #fff !important; border: 3px solid transparent !important; opacity: .92;
}
.noshow-status-btn:hover { opacity: 1; }
.noshow-status-btn.active { border-color: rgba(0,0,0,.25) !important; opacity: 1; }
.noshow-status-green { background: #2a9d3f !important; }
.noshow-status-green:hover { background: #238835 !important; }
.noshow-status-red { background: var(--ns-red) !important; }
.noshow-status-red:hover { background: #a20f1a !important; }
.noshow-status-msg { color: var(--ns-green); font-weight: 600; font-size: 13px; margin: 10px 0 6px; min-height: 18px; }
.noshow-quick-hint { color: var(--ns-text-light); font-size: 13px; margin: 4px 0 14px; }
.noshow-btn-secondary { background: #fff !important; color: var(--ns-navy) !important; border: 1px solid var(--ns-border) !important; margin-bottom: 20px; }
.noshow-btn-secondary:hover { background: var(--ns-bg) !important; }
.noshow-today-actions { display: flex; align-items: center; gap: 12px; }
.noshow-today-hint { color: var(--ns-text-light); font-size: 13px; margin-top: 16px; }
.noshow-save-today-msg { color: var(--ns-green); font-weight: 600; font-size: 13px; }

.noshow-override-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; background: var(--ns-bg); padding: 14px; border-radius: 8px; }
.noshow-override-form input[type=time], .noshow-override-form input[type=date] { width: auto; }
.noshow-overrides-list button { background: none; color: var(--ns-red); padding: 4px 8px; font-weight: 600; font-size: 13px; }
.noshow-overrides-list button:hover { background: #fdecec; }

.noshow-save-msg, .noshow-password-msg { margin-left: 10px; color: var(--ns-green); font-weight: 600; font-size: 13px; }

@media (max-width: 700px) {
	.noshow-portal { margin: 12px; border-radius: 8px; }
	.noshow-portal-body { flex-direction: column; }
	.noshow-sidebar {
		flex-direction: row; width: 100%; overflow-x: auto; border-right: none;
		border-bottom: 1px solid var(--ns-border); padding: 8px; gap: 4px;
	}
	.noshow-sidebar .noshow-tab-btn { flex-shrink: 0; white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
	.noshow-sidebar .noshow-tab-btn.active { border-left: none; border-bottom-color: var(--ns-accent); }
	.noshow-portal-content { padding: 18px 16px; }
	.noshow-week-row { flex-direction: column; align-items: flex-start; gap: 10px; }
	.noshow-week-times { width: 100%; }
	.noshow-week-times input[type=time] { flex: 1; }
	.noshow-override-form { flex-direction: column; align-items: stretch; }
	.noshow-override-form input, .noshow-override-form label { width: 100%; box-sizing: border-box; }
	.noshow-save-template, .noshow-save-profile, .noshow-change-password { width: 100%; }
	.noshow-quick-actions { flex-direction: column; align-items: stretch; }
	.noshow-hours-field select { width: 100%; }
	.noshow-quick-actions button { width: 100%; }
}

/* ---------- Directory ---------- */
.noshow-directory { max-width: 900px; margin: 24px auto; }
.noshow-directory-filters {
	display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 16px;
	background: #fff; padding: 18px; border-radius: 12px; border: 1px solid var(--ns-border);
	box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.noshow-directory-filters input[type="text"] {
	border: 1px solid var(--ns-border); border-radius: 8px; padding: 12px 14px; font-size: 15px;
	font-family: inherit; width: 100%; max-width: 320px; text-align: center;
}
.noshow-near-me-btn {
	background: var(--ns-accent); padding: 16px 32px; border-radius: 10px; font-weight: 700; font-size: 17px;
	width: 100%; max-width: 320px;
}
.noshow-near-me-btn:hover { background: var(--ns-accent-dark); }
#noshow-location-status, #noshow-cal-location-status { color: var(--ns-text-light); font-size: 13px; }
.noshow-directory-sub { color: var(--ns-text-light); margin: 6px 0 20px; font-size: 14px; }
.noshow-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.noshow-card {
	border: 1px solid var(--ns-border); border-radius: var(--ns-radius); padding: 18px;
	display: flex; flex-direction: column; justify-content: space-between; background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: box-shadow .15s ease;
}
.noshow-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.noshow-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--ns-navy); }
.noshow-card-meta { color: var(--ns-text-light); font-size: 13px; margin: 0 0 10px; }
.noshow-card-availability { font-weight: 600; color: var(--ns-green); margin: 0 0 14px; font-size: 13px; }
.noshow-card-slots { display: block; color: var(--ns-text-light); font-weight: normal; margin-top: 2px; }
.noshow-card .noshow-book-btn { width: 100%; }
.noshow-empty { color: var(--ns-text-light); grid-column: 1/-1; }

/* Category summary cards */
.noshow-cat-summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.noshow-cat-card { background: #fff; border: 1px solid var(--ns-border); border-radius: var(--ns-radius); padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.noshow-cat-card-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; gap: 8px; }
.noshow-cat-card-header h3 { margin: 0; font-size: 16px; color: var(--ns-navy); }
.noshow-cat-count { font-size: 12px; color: var(--ns-green); font-weight: 600; white-space: nowrap; }
.noshow-cat-providers { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.noshow-cat-provider {
	display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
	background: var(--ns-bg) !important; color: var(--ns-text) !important; padding: 10px 12px !important;
	border-radius: 8px; font-weight: 600 !important; font-size: 14px;
}
.noshow-cat-provider:hover { background: #eef0f3 !important; }
.noshow-cat-provider span { color: var(--ns-text-light); font-weight: normal; font-size: 12px; }
.noshow-cat-more { display: block; text-align: center; color: var(--ns-navy-light); font-weight: 600; font-size: 13px; text-decoration: none; padding-top: 4px; }
.noshow-cat-more:hover { text-decoration: underline; }

/* ---------- Availability heatmap ---------- */
.noshow-calendar-wrap { max-width: 960px; margin: 24px auto; }
.noshow-calendar { border: 1px solid var(--ns-border); border-radius: var(--ns-radius); background: #fff; padding: 16px; }
.noshow-heatmap { padding: 2px 0; }

.noshow-section-heading {
	display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ns-navy);
	margin: 0 0 10px;
}
.noshow-section-heading-later { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ns-border); }
.noshow-section-count {
	background: var(--ns-bg); color: var(--ns-text-light); font-size: 12px; font-weight: 700;
	border-radius: 999px; padding: 2px 9px;
}
.noshow-empty-inline { color: var(--ns-text-light); font-size: 13px; margin: 0 0 4px; }

.noshow-now-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.noshow-now-tile {
	display: block; background: var(--ns-bg); border: 1px solid var(--ns-border); border-radius: 10px; padding: 14px;
	text-decoration: none; color: inherit; transition: border-color .15s ease, background .15s ease;
}
a.noshow-now-tile { cursor: pointer; }
a.noshow-now-tile:hover { border-color: var(--ns-accent); background: #fff; }
.noshow-now-tile strong { display: block; font-size: 14px; color: var(--ns-navy); }
.noshow-now-tile-meta { display: block; font-size: 12px; color: var(--ns-text-light); margin: 3px 0 10px; }
.noshow-now-tile-phone { display: block; color: var(--ns-accent); font-weight: 700; font-size: 14px; }
.noshow-heat-axis { display: grid; gap: 3px; margin-bottom: 6px; }
.noshow-heat-tick { font-size: 11px; color: var(--ns-text-light); font-weight: 600; white-space: nowrap; }
.noshow-heat-grid { display: flex; flex-direction: column; gap: 3px; }
.noshow-heat-row { display: grid; gap: 3px; }
.noshow-heat-cell {
	aspect-ratio: 1; min-height: 22px; border-radius: 4px; background: var(--ns-bg);
	border: 1px solid var(--ns-border); padding: 0;
}
.noshow-heat-cell.is-avail { background: var(--ns-accent); border-color: var(--ns-accent); cursor: pointer; }
.noshow-heat-cell.is-avail:hover { background: var(--ns-accent-dark); }
.noshow-heat-hint { margin: 12px 0 0; font-size: 12px; color: var(--ns-text-light); text-align: center; }

/* ---------- Booking modal ---------- */
.noshow-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(20,33,61,.55); display: flex; align-items: center; justify-content: center; z-index: 99999; }
.noshow-modal-inner { background: #fff; padding: 28px; max-width: 380px; width: 90%; border-radius: var(--ns-radius); position: relative; box-shadow: 0 12px 32px rgba(0,0,0,.2); text-align: center; }
.noshow-modal-inner h3 { margin-top: 0; margin-bottom: 6px; color: var(--ns-navy); font-size: 19px; }
.noshow-modal-close { position: absolute; top: 12px; right: 16px; background: none !important; border: none; font-size: 22px; cursor: pointer; color: var(--ns-text-light); padding: 0 !important; }
.noshow-modal-sub { color: var(--ns-text-light); font-size: 14px; margin: 0 0 20px; }
.noshow-modal-call {
	display: block; background: var(--ns-accent) !important; color: #fff !important; text-decoration: none;
	padding: 14px 20px; border-radius: var(--ns-radius); font-weight: 700; font-size: 17px;
}
.noshow-modal-call:hover { background: var(--ns-accent-dark) !important; }

/* ---------- Admin ---------- */
.noshow-admin .form-table th { width: 160px; }
