/* Bond Mentorship Plugin — Design System */

:root {
	--bm-primary:        #1a56db;
	--bm-primary-dark:   #1e40af;
	--bm-primary-light:  #eff6ff;
	--bm-success:        #057a55;
	--bm-success-light:  #f0fdf4;
	--bm-warning:        #c27803;
	--bm-warning-light:  #fffbeb;
	--bm-danger:         #c81e1e;
	--bm-danger-light:   #fef2f2;
	--bm-neutral:        #4b5563;
	--bm-neutral-light:  #f3f4f6;
	--bm-gray-50:        #f9fafb;
	--bm-gray-100:       #f3f4f6;
	--bm-gray-200:       #e5e7eb;
	--bm-gray-300:       #d1d5db;
	--bm-gray-400:       #9ca3af;
	--bm-gray-500:       #6b7280;
	--bm-gray-700:       #374151;
	--bm-gray-900:       #111827;
	--bm-white:          #ffffff;
	--bm-radius:         10px;
	--bm-radius-sm:      6px;
	--bm-radius-xs:      4px;
	--bm-shadow:         0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
	--bm-shadow-md:      0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
	--bm-shadow-lg:      0 10px 25px -5px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.04);
	--bm-transition:     0.18s ease;
	--bm-font:           -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Shared Reset ─────────────────────────────────────────── */
.bm-mentor-gallery *,
.bm-dashboard *,
.bm-mentor-profile * {
	box-sizing: border-box;
}

/* ── Buttons ──────────────────────────────────────────────── */
.bm-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: var(--bm-radius-sm);
	border: 1px solid transparent;
	font-family: var(--bm-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	transition: background var(--bm-transition), border-color var(--bm-transition), box-shadow var(--bm-transition);
	text-decoration: none;
}
.bm-btn:focus-visible {
	outline: 2px solid var(--bm-primary);
	outline-offset: 2px;
}
.bm-btn-primary {
	background: var(--bm-primary);
	color: var(--bm-white);
	border-color: var(--bm-primary);
}
.bm-btn-primary:hover { background: var(--bm-primary-dark); border-color: var(--bm-primary-dark); }
.bm-btn-primary:disabled { opacity: .55; cursor: not-allowed; }

.bm-btn-secondary {
	background: var(--bm-white);
	color: var(--bm-gray-700);
	border-color: var(--bm-gray-300);
}
.bm-btn-secondary:hover { background: var(--bm-gray-50); border-color: var(--bm-gray-400); }

.bm-btn-success {
	background: var(--bm-success);
	color: var(--bm-white);
	border-color: var(--bm-success);
}
.bm-btn-success:hover { filter: brightness(0.92); }

.bm-btn-danger {
	background: var(--bm-white);
	color: var(--bm-danger);
	border-color: var(--bm-danger);
}
.bm-btn-danger:hover { background: var(--bm-danger-light); }

.bm-btn-ghost {
	background: transparent;
	color: var(--bm-gray-500);
	border-color: transparent;
}
.bm-btn-ghost:hover { background: var(--bm-gray-100); }

.bm-btn-sm { padding: 5px 11px; font-size: 13px; }
.bm-btn-lg { padding: 11px 22px; font-size: 15px; }

/* ── Status Badges ────────────────────────────────────────── */
.bm-badge {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: .02em;
	text-transform: capitalize;
}
.bm-badge-pending  { background: var(--bm-warning-light); color: var(--bm-warning); }
.bm-badge-confirmed { background: var(--bm-success-light); color: var(--bm-success); }
.bm-badge-declined  { background: var(--bm-danger-light);  color: var(--bm-danger); }
.bm-badge-cancelled { background: var(--bm-neutral-light); color: var(--bm-neutral); }
.bm-badge-completed { background: var(--bm-primary-light); color: var(--bm-primary); }

/* ── Tags ─────────────────────────────────────────────────── */
.bm-tag {
	display: inline-block;
	padding: 2px 8px;
	background: var(--bm-primary-light);
	color: var(--bm-primary);
	border-radius: 99px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .02em;
}

/* ── Inline Alert Messages ────────────────────────────────── */
.bm-message {
	padding: 10px 14px;
	border-radius: var(--bm-radius-sm);
	font-size: 14px;
	margin-top: 10px;
	display: none;
}
.bm-message.is-visible { display: block; }
.bm-message-success { background: var(--bm-success-light); color: var(--bm-success); border: 1px solid #bbf7d0; }
.bm-message-error   { background: var(--bm-danger-light);  color: var(--bm-danger);  border: 1px solid #fecaca; }
.bm-message-info    { background: var(--bm-primary-light); color: var(--bm-primary); border: 1px solid #bfdbfe; }

/* ── Spinner ──────────────────────────────────────────────── */
.bm-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: bm-spin .6s linear infinite;
	vertical-align: middle;
	opacity: .7;
}
@keyframes bm-spin { to { transform: rotate(360deg); } }

/* ── Form Inputs ──────────────────────────────────────────── */
.bm-input,
.bm-select,
.bm-textarea {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--bm-gray-300);
	border-radius: var(--bm-radius-sm);
	font-family: var(--bm-font);
	font-size: 14px;
	color: var(--bm-gray-900);
	background: var(--bm-white);
	transition: border-color var(--bm-transition), box-shadow var(--bm-transition);
}
.bm-input:focus,
.bm-select:focus,
.bm-textarea:focus {
	outline: none;
	border-color: var(--bm-primary);
	box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}
.bm-textarea { resize: vertical; min-height: 90px; }
.bm-label { display: block; font-size: 13px; font-weight: 600; color: var(--bm-gray-700); margin-bottom: 5px; }
.bm-field { margin-bottom: 16px; }
.bm-field-row { display: flex; gap: 12px; }
.bm-field-row .bm-field { flex: 1; }

/* ── Section / Panel ──────────────────────────────────────── */
.bm-panel {
	background: var(--bm-white);
	border: 1px solid var(--bm-gray-200);
	border-radius: var(--bm-radius);
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: var(--bm-shadow);
}
.bm-panel-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--bm-gray-900);
	margin: 0 0 16px;
}

/* ═══════════════════════════════════════════════════════════
   MENTOR GALLERY BLOCK
══════════════════════════════════════════════════════════════ */
.bm-mentor-gallery {
	font-family: var(--bm-font);
}

/* Filter Bar */
.bm-gallery-header {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.bm-filter-bar {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.bm-filter-btn {
	padding: 6px 14px;
	border-radius: 99px;
	border: 1px solid var(--bm-gray-200);
	background: var(--bm-white);
	color: var(--bm-gray-700);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all var(--bm-transition);
}
.bm-filter-btn:hover { border-color: var(--bm-primary); color: var(--bm-primary); }
.bm-filter-btn.is-active {
	background: var(--bm-primary);
	color: var(--bm-white);
	border-color: var(--bm-primary);
}
.bm-search-input {
	flex: 1;
	min-width: 160px;
	max-width: 280px;
	padding: 6px 12px;
	border: 1px solid var(--bm-gray-200);
	border-radius: 99px;
	font-size: 13px;
	color: var(--bm-gray-700);
}
.bm-search-input:focus {
	outline: none;
	border-color: var(--bm-primary);
	box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}

/* Recommendations Strip */
.bm-recommendations-section { margin-bottom: 32px; }
.bm-recommendations-section h3 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--bm-primary);
	margin: 0 0 12px;
}

/* Gallery Grid */
.bm-gallery-grid {
	display: grid;
	grid-template-columns: repeat(var(--bm-gallery-columns, 3), 1fr);
	gap: 20px;
}
@media (max-width: 900px) { .bm-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .bm-gallery-grid { grid-template-columns: 1fr; } }

/* Filter Bar */
.bm-filter-groups { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bm-filter-group { position: relative; }
.bm-filter-group > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid #d1d5db; border-radius: 999px; background: #fff; font-size: 14px; line-height: 1.4; user-select: none; transition: background 0.15s, border-color 0.15s; }
.bm-filter-group > summary::-webkit-details-marker, .bm-filter-group > summary::marker { display: none; }
.bm-filter-group:hover > summary { border-color: #9ca3af; }
.bm-filter-group[open] > summary { background: #eef2ff; border-color: #6366f1; }
.bm-filter-group.has-selected > summary { background: #eef2ff; border-color: #6366f1; }
.bm-filter-caret { font-size: 11px; opacity: 0.6; transition: transform 0.15s; }
.bm-filter-group[open] .bm-filter-caret { transform: rotate(180deg); }
.bm-filter-group-count:empty { display: none; }
.bm-filter-group-count { background: #6366f1; color: #fff; border-radius: 999px; padding: 1px 7px; font-size: 11px; font-weight: 600; }
.bm-filter-panel { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; width: 280px; background: #fff; border: 1px solid #d1d5db; border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,0.10); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.bm-filter-search { width: 100%; padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 13px; box-sizing: border-box; }
.bm-filter-options { overflow-y: auto; max-height: 220px; display: flex; flex-direction: column; gap: 2px; }
.bm-filter-option { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; cursor: pointer; font-size: 14px; }
.bm-filter-option:hover { background: #f3f4f6; }
.bm-filter-option input { margin: 0; }
.bm-filter-panel-footer { display: flex; justify-content: flex-end; padding-top: 4px; border-top: 1px solid #f3f4f6; }
.bm-filter-clear { background: transparent; border: none; color: #6b7280; cursor: pointer; font-size: 13px; padding: 4px 8px; }
.bm-filter-clear:hover { color: #111827; text-decoration: underline; }
.bm-active-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 4px; }
.bm-active-filters:empty { display: none; }
.bm-active-filter-chip { background: #eef2ff; border: 1px solid #c7d2fe; color: #3730a3; border-radius: 999px; padding: 3px 10px 3px 10px; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.bm-active-filter-chip:hover { background: #c7d2fe; }
.bm-active-filter-chip .bm-active-filter-label { font-weight: 600; opacity: 0.7; }
.bm-active-filter-chip .bm-chip-x { font-size: 14px; line-height: 1; }
.bm-filter-clear-all { background: transparent; border: none; color: #6b7280; text-decoration: underline; cursor: pointer; font-size: 12px; padding: 4px 6px; }

.bm-no-mentors {
	grid-column: 1 / -1;
	text-align: center;
	padding: 48px;
	color: var(--bm-gray-500);
	font-size: 15px;
}

/* Mentor Card */
.bm-mentor-card {
	background: var(--bm-white);
	border: 1px solid var(--bm-gray-200);
	border-radius: var(--bm-radius);
	box-shadow: var(--bm-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 0;
	position: relative;
	transition: box-shadow var(--bm-transition), border-color var(--bm-transition), transform var(--bm-transition);
}
.bm-mentor-card:hover {
	box-shadow: var(--bm-shadow-md);
	border-color: var(--bm-gray-300);
	transform: translateY(-2px);
}
.bm-mentor-card.is-hidden { display: none; }
.bm-mentor-card.is-recommended { border-color: var(--bm-primary); }
.bm-mentor-card.is-recommended .bm-match-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.bm-mentor-band {
	height: 96px;
	background: linear-gradient(135deg, #c7d2fe 0%, var(--bm-primary-light) 100%);
	position: relative;
}
.bm-mentor-avatar-wrap {
	position: absolute;
	left: 50%;
	bottom: -52px;
	transform: translateX(-50%);
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: var(--bm-white);
	padding: 4px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.bm-mentor-avatar-wrap .bm-mentor-photo-img,
.bm-mentor-avatar-wrap img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.bm-mentor-avatar-wrap .bm-mentor-avatar-placeholder {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--bm-primary-light);
	color: var(--bm-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 38px;
	font-weight: 700;
}

.bm-mentor-card-body {
	padding: 64px 20px 14px;
	text-align: center;
	flex: 1;
}
.bm-mentor-card .bm-mentor-card-footer .bm-btn {
	justify-content: center;
}
.bm-mentor-card .bm-mentor-name { font-size: 18px; margin: 0 0 4px; }
.bm-mentor-card .bm-mentor-role {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--bm-gray-700);
	line-height: 1.4;
}
.bm-mentor-card .bm-mentor-availability {
	margin: 0;
	font-size: 13px;
	color: var(--bm-gray-500);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.bm-mentor-card .bm-mentor-availability .bm-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	display: inline-block;
	background: #10b981;
}
.bm-mentor-card .bm-mentor-availability.is-none .bm-dot { background: var(--bm-gray-300); }

.bm-mentor-card-header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px 20px 12px;
}
.bm-mentor-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: var(--bm-gray-100);
}
.bm-mentor-avatar-placeholder {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--bm-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	color: var(--bm-primary);
	flex-shrink: 0;
}
.bm-mentor-name {
	font-size: 16px;
	font-weight: 700;
	color: var(--bm-gray-900);
	margin: 0 0 4px;
	line-height: 1.3;
}
.bm-mentor-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.bm-match-badge {
	display: inline-block;
	padding: 1px 7px;
	background: var(--bm-primary);
	color: var(--bm-white);
	border-radius: 99px;
	font-size: 11px;
	font-weight: 700;
}

.bm-mentor-bio {
	padding: 0 20px 16px;
	font-size: 14px;
	color: var(--bm-gray-500);
	line-height: 1.6;
	flex: 1;
}

.bm-mentor-card-footer {
	padding: 12px 20px 16px;
	border-top: 1px solid var(--bm-gray-100);
}

/* Booking Panel (slide-down) */
.bm-booking-panel {
	display: none;
	border-top: 1px solid var(--bm-gray-200);
	padding: 16px 20px;
	background: var(--bm-gray-50);
}
.bm-booking-panel.is-open { display: block; }
.bm-booking-panel h4 {
	font-size: 13px;
	font-weight: 700;
	color: var(--bm-gray-700);
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.bm-sessions-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 220px;
	overflow-y: auto;
}
.bm-session-slot {
	padding: 8px 12px;
	border: 1px solid var(--bm-gray-200);
	border-radius: var(--bm-radius-sm);
	background: var(--bm-white);
	text-align: left;
	font-size: 13px;
	color: var(--bm-gray-700);
	cursor: pointer;
	transition: all var(--bm-transition);
	width: 100%;
}
.bm-session-slot:hover { border-color: var(--bm-primary); color: var(--bm-primary); background: var(--bm-primary-light); }
.bm-session-slot.is-selected {
	background: var(--bm-primary);
	color: var(--bm-white);
	border-color: var(--bm-primary);
}
.bm-booking-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.bm-loading-sessions {
	color: var(--bm-gray-400);
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD BLOCK
══════════════════════════════════════════════════════════════ */
.bm-dashboard {
	font-family: var(--bm-font);
}
.bm-dashboard-heading {
	font-size: 22px;
	font-weight: 800;
	color: var(--bm-gray-900);
	margin: 0 0 4px;
}
.bm-dashboard-sub {
	font-size: 14px;
	color: var(--bm-gray-500);
	margin: 0 0 24px;
}

/* Tabs */
.bm-tabs {
	display: flex;
	border-bottom: 2px solid var(--bm-gray-200);
	margin-bottom: 24px;
	gap: 0;
}
.bm-tab-btn {
	padding: 10px 18px;
	border: none;
	background: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--bm-gray-500);
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color var(--bm-transition), border-color var(--bm-transition);
}
.bm-tab-btn:hover { color: var(--bm-gray-900); }
.bm-tab-btn.is-active { color: var(--bm-primary); border-bottom-color: var(--bm-primary); }

.bm-tab-panel { display: none; }
.bm-tab-panel.is-active { display: block; }

/* Bookings Table */
.bm-bookings-table {
	width: 100%;
	border-collapse: collapse;
}
.bm-bookings-table th {
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--bm-gray-500);
	padding: 0 12px 10px;
	border-bottom: 1px solid var(--bm-gray-200);
}
.bm-bookings-table td {
	padding: 14px 12px;
	font-size: 14px;
	color: var(--bm-gray-700);
	border-bottom: 1px solid var(--bm-gray-100);
	vertical-align: middle;
}
.bm-bookings-table tr:last-child td { border-bottom: none; }
.bm-bookings-table tr:hover td { background: var(--bm-gray-50); }
.bm-booking-actions-cell { display: flex; gap: 6px; flex-wrap: wrap; }

.bm-empty-state {
	text-align: center;
	padding: 48px 24px;
	color: var(--bm-gray-400);
}
.bm-empty-state-icon { font-size: 36px; margin-bottom: 10px; }
.bm-empty-state p { font-size: 15px; margin: 0; }

/* Availability Manager */
.bm-availability-manager { }
.bm-sessions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}
.bm-session-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: var(--bm-white);
	border: 1px solid var(--bm-gray-200);
	border-radius: var(--bm-radius-sm);
	font-size: 13px;
	color: var(--bm-gray-700);
}
.bm-session-item .bm-remove-session {
	background: none;
	border: none;
	color: var(--bm-gray-400);
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	padding: 0 2px;
	transition: color var(--bm-transition);
}
.bm-session-item .bm-remove-session:hover { color: var(--bm-danger); }
.bm-add-session-form {
	display: flex;
	gap: 10px;
	align-items: flex-end;
	flex-wrap: wrap;
}
.bm-add-session-form .bm-field { margin-bottom: 0; }

/* Profile Form */
.bm-profile-form { max-width: 560px; }

/* Interest Profile (Mentee) */
.bm-interests-form { }
.bm-interest-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 8px;
	margin-bottom: 16px;
}
.bm-interest-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--bm-gray-200);
	border-radius: var(--bm-radius-sm);
	cursor: pointer;
	transition: all var(--bm-transition);
}
.bm-interest-item:hover { border-color: var(--bm-primary); background: var(--bm-primary-light); }
.bm-interest-item input[type="checkbox"] { accent-color: var(--bm-primary); width: 15px; height: 15px; }
.bm-interest-item label { font-size: 13px; color: var(--bm-gray-700); cursor: pointer; }

/* ══════════════════════════════════════════════════════════════
   MENTOR PROFILE BLOCK
══════════════════════════════════════════════════════════════ */
.bm-mentor-profile {
	font-family: var(--bm-font);
	max-width: 720px;
}

.bm-profile-back-link {
	display: inline-block;
	font-size: 13px;
	color: var(--bm-gray-500);
	text-decoration: none;
	margin-bottom: 20px;
	transition: color var(--bm-transition);
}
.bm-profile-back-link:hover { color: var(--bm-primary); }

.bm-profile-header {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--bm-gray-200);
}
@media (max-width: 580px) {
	.bm-profile-header { flex-direction: column; }
}

.bm-profile-photo { flex-shrink: 0; }
.bm-profile-photo img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.bm-profile-avatar-placeholder {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: var(--bm-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 46px;
	font-weight: 700;
	color: var(--bm-primary);
}

.bm-profile-meta { flex: 1; }
.bm-profile-name {
	font-size: 26px;
	font-weight: 800;
	color: var(--bm-gray-900);
	margin: 0 0 10px;
	line-height: 1.2;
}
.bm-profile-meta .bm-mentor-tags { gap: 6px; }

.bm-profile-section { margin-bottom: 32px; }
.bm-profile-section-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--bm-gray-500);
	margin: 0 0 14px;
}

.bm-profile-bio-full {
	font-size: 15px;
	color: var(--bm-gray-700);
	line-height: 1.7;
	margin: 0;
	white-space: pre-wrap;
}

.bm-profile-booking {
	background: var(--bm-gray-50);
	border: 1px solid var(--bm-gray-200);
	border-radius: var(--bm-radius);
	padding: 20px;
}

.bm-profile-sessions-list { max-height: 320px; }

.bm-profile-booking-instruction {
	font-size: 13px;
	font-weight: 600;
	color: var(--bm-primary);
	margin: 0 0 12px;
}

.bm-profile-selected-summary {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding: 10px 14px;
	background: var(--bm-primary-light);
	border: 1px solid #bfdbfe;
	border-radius: var(--bm-radius-sm);
	font-size: 14px;
	color: var(--bm-primary);
}
.bm-profile-selected-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.bm-profile-selected-time { color: var(--bm-gray-900); font-weight: 700; }

.bm-profile-success-state {
	text-align: center;
	padding: 24px 16px;
}
.bm-profile-success-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--bm-success);
	color: var(--bm-white);
	font-size: 32px;
	font-weight: 700;
	line-height: 56px;
	margin: 0 auto 16px;
}
.bm-profile-success-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--bm-gray-900);
	margin: 0 0 8px;
}
.bm-profile-success-detail {
	font-size: 14px;
	color: var(--bm-gray-700);
	line-height: 1.6;
	margin: 0 0 18px;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}
.bm-profile-success-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   ENROLLMENT BANNER (gallery)
══════════════════════════════════════════════════════════════ */
.bm-enroll-banner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding: 16px 20px;
	margin-bottom: 24px;
	background: linear-gradient(135deg, var(--bm-primary-light) 0%, var(--bm-white) 100%);
	border: 1px solid #bfdbfe;
	border-left: 4px solid var(--bm-primary);
	border-radius: var(--bm-radius);
}
.bm-enroll-banner-text {
	flex: 1;
	min-width: 240px;
	font-family: var(--bm-font);
	font-size: 14px;
	color: var(--bm-gray-700);
	line-height: 1.5;
}
.bm-enroll-banner-text strong {
	display: block;
	color: var(--bm-gray-900);
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 2px;
}
.bm-enroll-banner .bm-enroll-message { width: 100%; margin-top: 8px; }

/* ══════════════════════════════════════════════════════════════
   NOT-ENROLLED DASHBOARD VIEW
══════════════════════════════════════════════════════════════ */
.bm-not-enrolled {
	font-family: var(--bm-font);
	text-align: center;
	padding: 48px 20px;
	max-width: 540px;
	margin: 0 auto;
}
.bm-not-enrolled-icon {
	font-size: 48px;
	margin-bottom: 12px;
}
.bm-not-enrolled-title {
	font-size: 24px;
	font-weight: 800;
	color: var(--bm-gray-900);
	margin: 0 0 12px;
}
.bm-not-enrolled-detail {
	font-size: 15px;
	color: var(--bm-gray-700);
	line-height: 1.6;
	margin: 0 0 24px;
}
.bm-not-enrolled-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

/* ══════════════════════════════════════════════════════════════
   PROFILE PAGE ENROLL PROMPT
══════════════════════════════════════════════════════════════ */
.bm-profile-enroll-prompt {
	text-align: center;
}
.bm-profile-enroll-prompt p { margin: 0 0 16px; }
.bm-profile-enroll-prompt p strong { font-size: 15px; color: var(--bm-gray-900); }

/* ══════════════════════════════════════════════════════════════
   JOIN MENTORSHIP BLOCK (standalone landing page)
══════════════════════════════════════════════════════════════ */
.bm-join-mentorship {
	font-family: var(--bm-font);
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
	padding: 56px 24px;
}
.bm-join-icon {
	font-size: 64px;
	margin-bottom: 20px;
	line-height: 1;
}
.bm-join-icon-success {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--bm-success);
	color: var(--bm-white);
	font-size: 44px;
	font-weight: 700;
	line-height: 80px;
	margin: 0 auto 20px;
}
.bm-join-title {
	font-size: 30px;
	font-weight: 800;
	color: var(--bm-gray-900);
	margin: 0 0 16px;
	line-height: 1.2;
}
.bm-join-detail {
	font-size: 16px;
	color: var(--bm-gray-700);
	line-height: 1.65;
	margin: 0 0 24px;
}
.bm-join-features {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	text-align: left;
	display: inline-block;
}
.bm-join-features li {
	font-size: 15px;
	color: var(--bm-gray-700);
	padding: 8px 0 8px 28px;
	position: relative;
}
.bm-join-features li::before {
	content: "✓";
	color: var(--bm-success);
	font-weight: 700;
	position: absolute;
	left: 4px;
	top: 8px;
}
.bm-join-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
.bm-join-mentorship .bm-enroll-message { margin-top: 16px; }

@media (max-width: 580px) {
	.bm-join-mentorship { padding: 40px 16px; }
	.bm-join-title { font-size: 24px; }
	.bm-enroll-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ── Booking Table: Video / Meeting Link Cell ────────────── */
.bm-video-cell {
	min-width: 220px;
	max-width: 320px;
}
.bm-video-form {
	display: flex;
	gap: 6px;
	align-items: center;
}
.bm-video-input {
	flex: 1;
	min-width: 0;
	padding: 6px 10px;
	border: 1px solid var(--bm-gray-300);
	border-radius: var(--bm-radius-sm);
	font-size: 12px;
	font-family: var(--bm-font);
	color: var(--bm-gray-700);
}
.bm-video-input:focus {
	outline: none;
	border-color: var(--bm-primary);
	box-shadow: 0 0 0 2px rgba(26,86,219,.12);
}
.bm-video-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	background: var(--bm-primary-light);
	color: var(--bm-primary);
	font-size: 13px;
	font-weight: 600;
	border-radius: 99px;
	text-decoration: none;
	transition: background var(--bm-transition);
}
.bm-video-link:hover { background: #dbeafe; }
.bm-video-link::before { content: "📹"; font-size: 12px; }
