/* v1.7.0 — per-agenda attendance picker for series_package courses.
   Brand-green primary (#00603b) anchors the bulk-apply chips so they read as
   secondary actions distinct from the muted mode-option rows. !important on
   `color` and `background` defends against Kadence's button reset, which
   defaults <button> text to inherit from theme tokens that match the chip
   background and turn it invisible. */
.dba-agenda-attendance-picker {
	margin-top: 14px;
}

.dba-agenda-attendance-picker__intro {
	margin: 4px 0 14px;
	font-size: 13px;
	line-height: 1.6;
	color: #4b5563;
}

.dba-agenda-attendance-picker__bulk {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0 0 14px;
	border-bottom: 1px dashed #d6d8dc;
}

.dba-agenda-attendance-picker__bulk-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border-radius: 999px;
	border: 1.5px solid #00603b !important;
	background: #00603b !important;
	color: #ffffff !important;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0, 96, 59, 0.18);
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.dba-agenda-attendance-picker__bulk-btn:hover {
	background: #004a2c !important;
	border-color: #004a2c !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(0, 96, 59, 0.28);
}

.dba-agenda-attendance-picker__bulk-btn:focus-visible {
	outline: 3px solid rgba(0, 96, 59, 0.35);
	outline-offset: 2px;
}

.dba-agenda-attendance-picker__bulk-btn:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 96, 59, 0.18);
}

.dba-agenda-attendance-picker__bulk-btn::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.dba-agenda-attendance-picker__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dba-agenda-attendance-picker__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #ffffff;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.dba-agenda-attendance-picker__row:hover {
	border-color: #c9cdd2;
	background: #f9fafb;
}

.dba-agenda-attendance-picker__row.is-missing {
	border-color: #ef4444;
	background: #fef2f2;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.dba-agenda-attendance-picker__label {
	flex: 1 1 140px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 120px;
}

.dba-agenda-attendance-picker__date {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
	color: #111827;
	letter-spacing: 0.01em;
}

.dba-agenda-attendance-picker__title {
	font-size: 12px;
	line-height: 1.4;
	color: #6b7280;
}

.dba-agenda-attendance-picker__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.dba-agenda-attendance-picker__option {
	margin: 0;
	padding: 6px 12px;
	font-size: 13px;
	line-height: 1.3;
	color: #1f2937;
	background: #ffffff;
	border: 1px solid #d1d5db;
}

.dba-mode-option.dba-agenda-attendance-picker__option:hover {
	border-color: #00603b;
	background: #ecfdf5;
}

.dba-mode-option.dba-agenda-attendance-picker__option:has(input[type="radio"]:checked) {
	border-color: #00603b;
	background: #00603b;
	color: #ffffff;
	font-weight: 600;
	box-shadow: 0 1px 2px rgba(0, 96, 59, 0.22);
}

.dba-mode-option.dba-agenda-attendance-picker__option:has(input[type="radio"]:checked) span {
	color: #ffffff;
}

.dba-mode-option.dba-agenda-attendance-picker__option:has(input[type="radio"]:focus-visible) {
	outline: 3px solid rgba(0, 96, 59, 0.35);
	outline-offset: 2px;
}

.dba-session-selector__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dba-session-card {
	padding: 1rem;
	margin-bottom: 0;
}

.dba-session-card.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.dba-session-card.is-disabled:hover {
	background: #fff;
	border-color: #e3e5e8;
}

.dba-session-selector__placeholder,
.dba-session-selector__empty {
	margin: 4px 0 8px;
	font-size: 13px;
	color: #6d7175;
}

.dba-session-selector__empty {
	color: #b45309;
}

.dba-session-option__label {
	flex: 1;
}

.dba-session-option__seats {
	margin-left: auto;
	color: #6d7175;
	font-size: 13px;
}

.dba-course-sidebar__cta {
	margin-top: 4px;
}

.dba-course-sidebar__cta {
	margin-top: 1.5rem;
}

.dba-course-sidebar__btn {
	width: 100%;
	padding: 12px 16px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #2563eb;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.dba-course-sidebar__btn:hover:not([disabled]) {
	background: #1d4ed8;
}

.dba-course-sidebar__btn[disabled] {
	background: #9ca3af;
	cursor: not-allowed;
}

.dba-course-sidebar__btn--free {
	background: #059669;
}

.dba-course-sidebar__btn--free:hover:not([disabled]) {
	background: #047857;
}

.dba-course-sidebar__btn--enrolled {
	background: #0f766e;
}

.dba-course-sidebar__btn--enrolled:hover:not([disabled]) {
	background: #115e59;
}

.dba-course-sidebar__cta-hint {
	margin-top: 8px;
	font-size: 13px;
	color: #d63638;
}

.dba-course-sidebar__live-pricing {
	padding: 12px;
	border: 1px solid #e3e5e8;
	border-radius: 8px;
	background: #f9fafb;
}

.dba-sidebar-package-summary {
	position: relative;
	padding: 14px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fafaf5;
}

.dba-sidebar-package-summary__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: #111827;
}

.dba-sidebar-package-summary__content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow: hidden;
	max-height: 11rem;
	transition: max-height 0.2s ease;
}

.dba-sidebar-package-summary__content.is-collapsed::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 72px;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(250, 250, 245, 0) 0%, #fafaf5 78%);
}

.dba-sidebar-package-summary__content.is-expanded {
	max-height: min(45vh, 420px);
	overflow-y: auto;
	padding-right: 4px;
}

.dba-sidebar-package-summary__body,
.dba-sidebar-package-summary__meta {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: #4b5563;
}

.dba-sidebar-package-summary__meta + .dba-sidebar-package-summary__meta,
.dba-sidebar-package-summary__body + .dba-sidebar-package-summary__meta {
	margin-top: 8px;
}

.dba-sidebar-package-summary__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
	min-height: 34px;
	margin: -36px auto 0;
	padding: 7px 16px;
	border: 0;
	border-radius: 999px;
	background: #f2994a;
	box-shadow: 0 10px 22px rgba(242, 153, 74, 0.22);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}

.dba-sidebar-package-summary__toggle:hover {
	background: #ea8a35;
	color: #fff;
}

.dba-sidebar-package-summary__content.is-expanded + .dba-sidebar-package-summary__toggle {
	margin-top: 12px;
	background: #f3f4f6;
	box-shadow: none;
	color: #374151;
}

.dba-sidebar-package-summary__content.is-expanded + .dba-sidebar-package-summary__toggle:hover {
	background: #e5e7eb;
	color: #111827;
}

.dba-live-pricing__row {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #374151;
}

.dba-live-pricing__row + .dba-live-pricing__row {
	margin-top: 6px;
}

.dba-live-pricing__row--subtotal {
	padding-top: 8px;
	border-top: 1px dashed #d1d5db;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
}

