/* ══════════════════════════════════════════
   Společné styly pro stránky činností
   (Kroužky, Tábory, Pro školy, Akce)
══════════════════════════════════════════ */

/* Page hero */
.page-hero {
	background: linear-gradient(135deg, var(--navy, #1a2744) 0%, #2c3e6b 100%);
	color: #fff;
	padding: 3rem 0 2.5rem;
}
.page-hero h1 { font-size: 2rem; }
.page-hero .lead { color: rgba(255,255,255,.7); font-size: 1.05rem; }

/* Group tabs (Pro školy, Akce) */
.group-tabs {
	background: #fff;
	border-bottom: 1px solid #e9ecef;
	padding: .85rem 0;
}
.group-tab {
	border: none;
	background: none;
	padding: .55rem 1.5rem;
	border-radius: 50px;
	font-weight: 800;
	font-size: .88rem;
	color: #777;
	cursor: pointer;
	transition: all .25s cubic-bezier(.4,0,.2,1);
	letter-spacing: .01em;
}
.group-tab:hover {
	color: var(--primary, #e67e22);
	background: #fff8f0;
}
.group-tab.active {
	background: linear-gradient(135deg, var(--primary, #e67e22), #f4a022);
	color: #fff;
	box-shadow: 0 3px 12px rgba(230,126,34,.25);
}

/* Filter bar – luxusní design */
.filter-bar {
	background: linear-gradient(135deg, #f8f9fc 0%, #f0f2f8 100%);
	border-bottom: 1px solid rgba(0,0,0,.06);
	padding: 1.5rem 0;
	position: relative;
}
.filter-bar::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary, #e67e22), #f4a022, #e67e22);
	opacity: .4;
}
.filter-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	align-items: flex-end;
}
.filter-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.filter-label {
	display: flex;
	align-items: center;
	gap: .35rem;
	font-size: .68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #8b8fa3;
	margin-bottom: .45rem;
	white-space: nowrap;
}
.filter-label::before {
	content: '';
	display: inline-block;
	width: 3px;
	height: 10px;
	border-radius: 2px;
	background: var(--primary, #e67e22);
	opacity: .6;
}
.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
}
.filter-chip {
	display: inline-flex;
	align-items: center;
	padding: .35rem .85rem;
	border-radius: 50px;
	font-size: .78rem;
	font-weight: 700;
	color: #555;
	background: #fff;
	border: 1.5px solid #e0e3ea;
	cursor: pointer;
	transition: all .2s cubic-bezier(.4,0,.2,1);
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.filter-chip:hover {
	border-color: var(--primary, #e67e22);
	color: var(--primary, #e67e22);
	background: #fff8f0;
	box-shadow: 0 2px 8px rgba(230,126,34,.12);
	transform: translateY(-1px);
}
.filter-chip.active {
	background: linear-gradient(135deg, var(--primary, #e67e22), #f4a022);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 3px 12px rgba(230,126,34,.25);
	transform: translateY(-1px);
}

.filter-select {
	display: inline-block;
	padding: .4rem .85rem;
	border-radius: 10px;
	font-size: .82rem;
	font-weight: 700;
	border: 1.5px solid #e0e3ea;
	background: #fff;
	color: #555;
	min-width: 150px;
	height: 36px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
	transition: all .2s;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .65rem center;
	padding-right: 2rem;
}
.filter-select:hover {
	border-color: var(--primary, #e67e22);
	box-shadow: 0 2px 8px rgba(230,126,34,.1);
}
.filter-select:focus {
	outline: none;
	border-color: var(--primary, #e67e22);
	box-shadow: 0 0 0 3px rgba(230,126,34,.12);
}
.filter-select--sm { min-width: 130px; font-size: .78rem; padding: .35rem .75rem; padding-right: 2rem; }

/* Text a date inputy ve filtru */
.filter-search {
	display: inline-block;
	padding: .4rem .85rem;
	border-radius: 10px;
	border: 1.5px solid #e0e0e0;
	background: #fff;
	font-size: .82rem;
	color: #333;
	transition: border-color .2s, box-shadow .2s;
	min-width: 130px;
	height: 36px;
}
.filter-search:hover {
	border-color: var(--primary, #e67e22);
	box-shadow: 0 2px 8px rgba(230,126,34,.1);
}
.filter-search:focus {
	outline: none;
	border-color: var(--primary, #e67e22);
	box-shadow: 0 0 0 3px rgba(230,126,34,.12);
}

/* Akce tlačítka ve filtru */
.filter-group--actions {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.filter-actions {
	display: flex;
	align-items: center;
	gap: .5rem;
	height: 36px;
}
.filter-actions .btn {
	white-space: nowrap;
	height: 36px;
	display: inline-flex;
	align-items: center;
	border-radius: 10px;
	font-size: .82rem;
	padding: 0 1rem;
}

/* Toggle button */
.filter-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	font-size: .82rem;
	font-weight: 700;
	color: #555;
	cursor: pointer;
	padding: .35rem .85rem;
	background: #fff;
	border-radius: 50px;
	border: 1.5px solid #e0e3ea;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
	transition: all .2s;
}
.filter-toggle-btn:hover {
	border-color: var(--primary, #e67e22);
	box-shadow: 0 2px 8px rgba(230,126,34,.1);
}
.filter-toggle-btn.active {
	background: linear-gradient(135deg, #fff8f0, #fff3e0);
	border-color: var(--primary, #e67e22);
	color: var(--primary, #e67e22);
}

.filter-toggle-switch {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 20px;
	background: #d0d3da;
	border-radius: 20px;
	transition: background .25s;
	flex-shrink: 0;
}
.filter-toggle-btn.active .filter-toggle-switch {
	background: var(--primary, #e67e22);
}
.filter-toggle-knob {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
	transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.filter-toggle-btn.active .filter-toggle-knob {
	transform: translateX(16px);
}

/* Results header */
.results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
}
.results-count {
	font-size: .9rem;
	font-weight: 700;
	color: #333;
}
.results-sort {
	display: flex;
	align-items: center;
	gap: .5rem;
}

/* Card */
.cc-card {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e9ecef;
	padding: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s, transform .2s;
	overflow: hidden;
}
.cc-card:hover {
	box-shadow: 0 12px 32px rgba(0,0,0,.1);
	transform: translateY(-3px);
}
.cc-card:hover .cc-card-image img {
	transform: scale(1.06);
}

/* Card image */
.cc-card-image {
	position: relative;
	width: 100%;
	height: 160px;
	overflow: hidden;
	flex-shrink: 0;
}
.cc-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cc-card-image-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: .5rem .75rem;
	background: linear-gradient(transparent, rgba(0,0,0,.45));
	display: flex;
	gap: .3rem;
	justify-content: flex-end;
	align-items: flex-end;
}
.cc-card-image-overlay .cc-badge {
	background: rgba(255,255,255,.9);
	backdrop-filter: blur(4px);
	color: #333;
}
.cc-card-image-overlay .cc-badge--typ {
	background: rgba(255,255,255,.92);
	color: #2e86c1;
}

/* Card body (padded area below image) */
.cc-card-header,
.cc-card-title,
.cc-card-info,
.cc-card-footer {
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.cc-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: .75rem;
	padding-top: 1rem;
}
.cc-card-icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	flex-shrink: 0;
}
.cc-card-badges {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem;
	justify-content: flex-end;
}
.cc-badge {
	display: inline-block;
	padding: .15rem .55rem;
	border-radius: 50px;
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.cc-badge--zamereni { background: #f0f0f0; color: #666; }
.cc-badge--typ { background: #e3f2fd; color: #2e86c1; }

.cc-card-title {
	font-size: .95rem;
	font-weight: 800;
	margin: 0 0 .6rem;
	line-height: 1.3;
	padding-top: .85rem;
}

.cc-card-info {
	list-style: none;
	padding: 0 1.25rem;
	margin: 0 0 auto;
	flex: 1;
}
.cc-card-info li {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	font-size: .78rem;
	color: #555;
	margin-bottom: .3rem;
	line-height: 1.4;
}
.cc-card-info li i {
	flex-shrink: 0;
	width: 14px;
	margin-top: .15rem;
	color: var(--primary, #e67e22);
	font-size: .72rem;
}
.cc-card-info li a { color: var(--primary, #e67e22); text-decoration: none; }
.cc-card-info li a:hover { text-decoration: underline; }

.cc-card-footer {
	margin-top: .75rem;
	padding-top: .75rem;
	padding-bottom: 1.25rem;
	border-top: 1px solid #f0f0f0;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: .5rem;
}

/* Capacity bar */
.cc-capacity { flex: 1; min-width: 0; }
.cc-capacity-bar {
	height: 6px;
	background: #f0f0f0;
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: .25rem;
}
.cc-capacity-fill {
	height: 100%;
	border-radius: 3px;
	transition: width .3s;
}
.cc-capacity-fill.ok { background: #27ae60; }
.cc-capacity-fill.low { background: #f4a022; }
.cc-capacity-fill.full { background: #e74c3c; }

.cc-capacity-text {
	font-size: .7rem;
	font-weight: 600;
}
.cc-capacity-text.ok { color: #27ae60; }
.cc-capacity-text.full { color: #e74c3c; }

/* Price */
.cc-price {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--primary, #e67e22);
	white-space: nowrap;
}


/* ══════════════════════════════════════════
   KALENDÁŘ – modal + stránka /akce
══════════════════════════════════════════ */

/* Tlačítko "Kalendář akcí" v hero */
.btn-cal-open {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem 1.25rem;
	border-radius: 50px;
	border: 2px solid rgba(255,255,255,.3);
	background: rgba(255,255,255,.1);
	color: #fff;
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
	transition: all .2s;
	white-space: nowrap;
}
.btn-cal-open:hover {
	background: rgba(255,255,255,.2);
	border-color: rgba(255,255,255,.5);
}
.btn-cal-open i {
	font-size: 1rem;
}

/* Modal */
.cal-modal-content {
	border: none;
	border-radius: 16px;
	overflow: hidden;
}
.cal-modal-header {
	background: linear-gradient(135deg, var(--navy, #1a2744) 0%, #2c3e6b 100%);
	color: #fff;
	border-bottom: none;
	padding: 1rem 1.5rem;
}
.cal-modal-header .modal-title {
	font-weight: 800;
	font-size: 1.05rem;
}

/* Calendar box */
.cal-box {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e9ecef;
	padding: 1.5rem;
}
.cal-box--modal {
	border: none;
	border-radius: 0;
	border-right: 1px solid #e9ecef;
}
.cal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}
.cal-month {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 0;
}
.cal-nav {
	border: none;
	background: #f0f0f0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .15s;
	color: #555;
	font-size: .85rem;
}
.cal-nav:hover {
	background: var(--primary, #e67e22);
	color: #fff;
}

.cal-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	margin-bottom: .5rem;
}
.cal-weekdays span {
	text-align: center;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #999;
	padding: .25rem 0;
}

.cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
}

.cal-day {
	position: relative;
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	cursor: default;
	transition: all .15s;
}
.cal-day--empty { visibility: hidden; }
.cal-day-num {
	font-size: .85rem;
	font-weight: 600;
	color: #555;
}

.cal-day--today {
	background: #f0f0f0;
}
.cal-day--today .cal-day-num {
	color: var(--primary, #e67e22);
	font-weight: 800;
}

.cal-day--has-event {
	cursor: pointer;
}
.cal-day--has-event:hover {
	background: #fff3e0;
}
.cal-day--has-event .cal-day-num {
	font-weight: 800;
	color: #333;
}

.cal-day--selected {
	background: var(--primary, #e67e22) !important;
}
.cal-day--selected .cal-day-num {
	color: #fff !important;
}
.cal-day--selected .cal-day-dot {
	background: #fff !important;
}

.cal-day-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--primary, #e67e22);
	margin-top: 2px;
}

/* Detail sidebar */
.cal-detail {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e9ecef;
	padding: 1.5rem;
	height: 100%;
	min-height: 300px;
}
.cal-detail--modal {
	border: none;
	border-radius: 0;
	max-height: 500px;
	overflow-y: auto;
}
.cal-detail-title {
	font-size: 1rem;
	font-weight: 800;
	margin-bottom: 1rem;
	padding-bottom: .75rem;
	border-bottom: 2px solid #f0f0f0;
}
.cal-detail-list {}
.cal-detail-empty {
	text-align: center;
	color: #999;
	padding: 2rem 0;
	font-size: .9rem;
}

/* Event card inside detail */
.cal-event-card {
	display: flex;
	gap: .75rem;
	padding: .75rem 0;
	border-bottom: 1px solid #f5f5f5;
}
.cal-event-card:last-child { border-bottom: none; }
.cal-event-card > .cal-event-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: .35rem;
}
.cal-event-body { flex: 1; min-width: 0; }
.cal-event-title {
	font-size: .85rem;
	font-weight: 800;
	margin-bottom: .25rem;
}
.cal-event-meta {
	font-size: .72rem;
	color: #888;
	margin-bottom: .15rem;
}
.cal-event-meta i {
	width: 12px;
	color: var(--primary, #e67e22);
	font-size: .65rem;
	margin-right: .25rem;
}
.cal-event-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: .35rem;
}
.cal-event-price {
	font-size: .85rem;
	font-weight: 800;
	color: var(--primary, #e67e22);
}


/* ══════════════════════════════════════════
   WIDGET – Nejbližší akce (homepage)
══════════════════════════════════════════ */
.upcoming-section {
	padding: 4rem 0;
	background: #fff;
}
.upcoming-section .btn-cal-open {
	border-color: var(--primary, #e67e22);
	background: transparent;
	color: var(--primary, #e67e22);
}
.upcoming-section .btn-cal-open:hover {
	background: var(--primary, #e67e22);
	color: #fff;
}

.upcoming-timeline {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.upcoming-item {
	display: flex;
	gap: 1rem;
	align-items: stretch;
}

.upcoming-date {
	width: 60px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--navy, #1a2744) 0%, #2c3e6b 100%);
	color: #fff;
	border-radius: 12px;
	padding: .5rem .25rem;
	position: relative;
}
.upcoming-date-day {
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1;
}
.upcoming-date-month {
	font-size: .65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	opacity: .7;
	margin-top: .15rem;
}

.upcoming-card {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 1rem;
	background: #f8f9fa;
	border-radius: 12px;
	padding: 1rem 1.25rem;
	border: 1px solid #e9ecef;
	transition: all .2s;
}
.upcoming-card:hover {
	background: #fff;
	box-shadow: 0 4px 15px rgba(0,0,0,.06);
	border-color: #ddd;
}

.upcoming-card-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
}

.upcoming-card-body {
	flex: 1;
	min-width: 0;
}
.upcoming-card-body h5 {
	font-size: .9rem;
	font-weight: 800;
	margin: 0 0 .2rem;
}
.upcoming-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}
.upcoming-card-meta span {
	font-size: .75rem;
	color: #888;
}
.upcoming-card-meta i {
	color: var(--primary, #e67e22);
	font-size: .65rem;
	margin-right: .2rem;
}

.upcoming-card-price {
	font-size: 1rem;
	font-weight: 800;
	color: var(--primary, #e67e22);
	white-space: nowrap;
}

/* ══════════════════════════════════════════
   TÝDENNÍ KALENDÁŘ – sidebar na /akce (vertikální)
══════════════════════════════════════════ */
.week-cal {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e9ecef;
	padding: 1.25rem;
	position: sticky;
	top: 1rem;
}
.week-cal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: .5rem;
}
.week-cal-title {
	font-size: .95rem;
	font-weight: 800;
	margin: 0;
	text-align: center;
}
.cal-nav--sm {
	width: 30px;
	height: 30px;
	font-size: .75rem;
}
.week-cal-today {
	display: flex;
	justify-content: center;
	gap: .5rem;
	margin-bottom: .75rem;
}
.week-cal-today-btn,
.week-cal-reset-btn {
	border: none;
	background: none;
	font-size: .72rem;
	font-weight: 700;
	cursor: pointer;
	padding: .2rem .6rem;
	border-radius: 50px;
	transition: all .15s;
}
.week-cal-today-btn {
	color: var(--primary, #e67e22);
}
.week-cal-today-btn:hover {
	background: #fff3e0;
}
.week-cal-reset-btn {
	color: #e74c3c;
}
.week-cal-reset-btn:hover {
	background: #fdecea;
}

/* Vertikální dny */
.week-cal-days {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.week-row {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .5rem .65rem;
	border-radius: 10px;
	cursor: pointer;
	transition: all .15s;
	min-height: 42px;
}
.week-row:hover {
	background: #f8f9fa;
}

.week-row-day {
	width: 44px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
}
.week-row-name {
	font-size: .6rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #999;
}
.week-row-num {
	font-size: .95rem;
	font-weight: 700;
	color: #555;
}

.week-row-events {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.week-row-empty {
	height: 4px;
}

.week-row-event {
	display: flex;
	align-items: center;
	gap: .4rem;
	min-width: 0;
}
.week-row-event-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}
.week-row-event-title {
	font-size: .75rem;
	font-weight: 700;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
	min-width: 0;
}
.week-row-event-time {
	font-size: .65rem;
	color: #999;
	white-space: nowrap;
	flex-shrink: 0;
}

/* States */
.week-row--today {
	background: #fdf6ef;
}
.week-row--today .week-row-num {
	color: var(--primary, #e67e22);
	font-weight: 800;
}

.week-row--has-event .week-row-num {
	color: #333;
	font-weight: 800;
}

.week-row--selected {
	background: var(--primary, #e67e22) !important;
}
.week-row--selected .week-row-name,
.week-row--selected .week-row-num {
	color: #fff !important;
}
.week-row--selected .week-row-event-title {
	color: #fff;
}
.week-row--selected .week-row-event-time {
	color: rgba(255,255,255,.7);
}
.week-row--selected .week-row-event-dot {
	background: #fff !important;
}

/* ══════════════════════════════════════════
   PŘIHLÁŠENÍ – tlačítko + modal
══════════════════════════════════════════ */

/* Tlačítko na kartě */
.btn-register {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .4rem .9rem;
	border-radius: 50px;
	border: none;
	background: #27ae60;
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	cursor: pointer;
	transition: all .2s;
	white-space: nowrap;
}
.btn-register:hover {
	background: #219a52;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(39,174,96,.3);
}

/* Modal */
.reg-modal-content {
	border: none;
	border-radius: 16px;
	overflow: hidden;
}
.reg-modal-header {
	background: linear-gradient(135deg, var(--navy, #1a2744) 0%, #2c3e6b 100%);
	color: #fff;
	border-bottom: none;
	padding: 1.25rem 1.5rem;
}
.reg-modal-header--success {
	background: linear-gradient(135deg, #1e8449 0%, #27ae60 100%);
}
.reg-modal-header .modal-title {
	font-weight: 800;
	font-size: 1.05rem;
}
.reg-event-name {
	font-size: .85rem;
	color: rgba(255,255,255,.7);
	margin-top: .2rem;
}
.reg-modal-footer {
	border-top: 1px solid #f0f0f0;
	padding: .75rem 1.5rem;
}

/* Event summary */
.reg-event-summary {
	background: #f8f9fa;
	border-radius: 10px;
	padding: .75rem 1rem;
	margin-bottom: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: .25rem .75rem;
}
.reg-summary-row {
	font-size: .78rem;
	color: #666;
}
.reg-summary-row i {
	color: var(--primary, #e67e22);
	width: 14px;
	font-size: .7rem;
	margin-right: .2rem;
}

/* Form */
.reg-label {
	font-size: .8rem;
	font-weight: 700;
	color: #333;
}
.reg-label-sm {
	font-size: .78rem;
	color: #555;
}
.reg-input {
	border-radius: 10px;
	border: 1.5px solid #dee2e6;
	font-size: .85rem;
	padding: .5rem .75rem;
	transition: border-color .15s, box-shadow .15s;
}
.reg-input:focus {
	border-color: var(--primary, #e67e22);
	box-shadow: 0 0 0 3px rgba(230,126,34,.1);
}

.btn-register-submit {
	border-radius: 50px;
	padding: .5rem 1.5rem;
	font-weight: 700;
}

/* Success */
.reg-success-icon {
	font-size: 3rem;
	color: #27ae60;
	margin-bottom: .75rem;
}
.reg-success-icon--big {
	font-size: 3.5rem;
	color: var(--primary, #e67e22);
}
.reg-success-info {
	background: #f0fdf4;
	border-radius: 10px;
	padding: .75rem 1rem;
	font-size: .85rem;
}

/* Extra info block */
.reg-extra-block {
	margin-top: 1rem;
	text-align: left;
}
.reg-extra-notice {
	display: flex;
	gap: .75rem;
	padding: 1rem;
	background: #fff8e1;
	border-radius: 10px;
	border-left: 4px solid #f4a022;
	margin-bottom: 1rem;
	font-size: .85rem;
	color: #333;
}
.reg-extra-notice i {
	color: #f4a022;
	font-size: 1.1rem;
	flex-shrink: 0;
	margin-top: .1rem;
}
.reg-extra-hint {
	font-size: .78rem;
	color: #888;
	text-align: center;
}
.reg-extra-alternatives {
	margin-top: 1rem;
	padding: .75rem 1rem;
	background: #f8f9fa;
	border-radius: 10px;
	font-size: .8rem;
	color: #666;
}
.reg-extra-alternatives p {
	margin-bottom: .4rem;
}
.reg-extra-alternatives p:last-child {
	margin-bottom: 0;
}
.reg-extra-alternatives i {
	color: var(--primary, #e67e22);
	width: 16px;
}

/* Step 3 alert */
.reg-alert {
	font-size: .82rem;
	border-radius: 10px;
}

/* Section text */
.reg-section-text {
	font-size: .85rem;
	color: #666;
	margin-bottom: 1rem;
}

/* OTP hint */
.reg-otp-hint {
	font-size: .72rem;
	color: #999;
	text-align: center;
	line-height: 1.5;
}

/* User bar (step 2) */
.reg-user-bar {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem 1rem;
	background: #f0fdf4;
	border-radius: 10px;
	font-size: .85rem;
	color: #1e8449;
	border: 1px solid #d5f5e3;
}
.reg-user-bar i {
	font-size: 1.1rem;
}

/* Person cards list */
.reg-persons-list {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	margin-bottom: 1rem;
}
.reg-person-card {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .75rem 1rem;
	background: #f8f9fa;
	border: 1.5px solid #e9ecef;
	border-radius: 10px;
	transition: all .15s;
}
.reg-person-card:has(input:checked) {
	background: #eaf6ff;
	border-color: #2e86c1;
}
.reg-person-check {
	flex-shrink: 0;
}
.reg-person-info {
	flex: 1;
	min-width: 0;
}
.reg-person-name {
	font-size: .88rem;
	font-weight: 700;
	color: #333;
}
.reg-person-detail {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: .15rem;
}
.reg-person-detail span {
	font-size: .72rem;
	color: #888;
}
.reg-person-detail i {
	color: var(--primary, #e67e22);
	font-size: .65rem;
}

/* Add person button */
.btn-add-person {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .4rem .8rem;
	border-radius: 50px;
	border: 1.5px dashed #ccc;
	background: none;
	color: #666;
	font-size: .78rem;
	font-weight: 600;
	cursor: pointer;
	transition: all .15s;
}
.btn-add-person:hover {
	border-color: var(--primary, #e67e22);
	color: var(--primary, #e67e22);
	background: #fff8f0;
}

/* New person form */
.reg-new-person-form {
	background: #fafafa;
	border: 1.5px solid #e9ecef;
	border-radius: 10px;
	padding: 1rem;
	margin-top: .75rem;
}

/* Success persons list */
.reg-success-persons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .25rem;
	margin-bottom: .5rem;
}
.reg-success-person {
	font-size: .88rem;
	font-weight: 600;
	color: #333;
}
.reg-success-person i {
	color: #27ae60;
}

/* Divider */
.reg-divider {
	text-align: center;
	margin: .75rem 0;
	position: relative;
}
.reg-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #e9ecef;
}
.reg-divider span {
	position: relative;
	background: #fff;
	padding: 0 .75rem;
	color: #999;
	font-size: .78rem;
}

@media (max-width: 767.98px) {
	.upcoming-date { width: 50px; }
	.upcoming-date-day { font-size: 1.2rem; }
	.upcoming-card { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .75rem 1rem; }
	.upcoming-card-price { align-self: flex-end; }

	.cal-day-num { font-size: .7rem; }
	.cal-day-dot { width: 4px; height: 4px; }

	.cc-card-image { height: 140px; }
	.filter-grid { gap: 1rem 1.5rem; }
	.filter-chip { padding: .3rem .65rem; font-size: .75rem; }
	.filter-bar { padding: 1rem 0; }
}


/* ══════════════════════════════════════════
   Můj účet – přihlášky
══════════════════════════════════════════ */
.mujucet-card {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	transition: box-shadow .2s;
}
.mujucet-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.mujucet-card--warning {
	border-left: 4px solid #f4a022;
}

.mujucet-person {
	display: inline-flex;
	align-items: center;
	background: #f0f1f3;
	border-radius: 20px;
	padding: .2rem .7rem;
	font-size: .82rem;
	color: #495057;
}

.mujucet-status {
	display: inline-flex;
	align-items: center;
	font-size: .82rem;
	font-weight: 600;
	padding: .3rem .7rem;
	border-radius: 20px;
	white-space: nowrap;
}
.mujucet-status--warning {
	background: #fff3cd;
	color: #856404;
}
.mujucet-status--ok {
	background: #d4edda;
	color: #155724;
}

/* ── Uplynulé akce ── */
.cc-card--past {
	opacity: .55;
	filter: grayscale(.3);
	transition: opacity .2s, filter .2s;
}
.cc-card--past:hover {
	opacity: .8;
	filter: grayscale(.1);
}
.cc-badge--past {
	background: rgba(0,0,0,.55);
	color: #fff;
	font-size: .7rem;
	padding: 2px 8px;
	border-radius: 4px;
}

/* Odkaz na detail v kartě */
.cc-card-link { color: inherit; text-decoration: none; }
.cc-card-link:hover { color: var(--primary, #e67e22); }
.cc-card-link .cc-card-title { transition: color .2s; }
a.cc-card-image { display: block; }

/* ══════════════════════════════════════
   DETAIL ČINNOSTI
══════════════════════════════════════ */

/* Hero */
.activity-detail-hero {
	position: relative;
	padding: 4rem 0 3rem;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	color: #fff;
	overflow: hidden;
}
.activity-detail-hero-bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: .25;
	filter: blur(2px);
}
.activity-detail-hero-content { position: relative; z-index: 1; }
.activity-detail-breadcrumb {
	margin-bottom: 1rem;
	font-size: .85rem;
	opacity: .8;
}
.activity-detail-breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.activity-detail-breadcrumb a:hover { opacity: 1; }
.activity-detail-breadcrumb-sep { margin: 0 .5rem; opacity: .5; }
.activity-detail-title { font-size: 2.2rem; font-weight: 800; margin: 0; line-height: 1.2; }
.activity-detail-lead { font-size: 1.1rem; margin-top: .75rem; opacity: .85; max-width: 700px; }

/* Info bar */
.activity-detail-infobar {
	background: #fff;
	border-bottom: 1px solid #eee;
	padding: 1.25rem 0;
	box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.activity-detail-infobar-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2.5rem;
}
.activity-detail-info-item {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
}
.activity-detail-info-item > i {
	font-size: 1.2rem;
	color: var(--primary, #e67e22);
	margin-top: 2px;
	width: 24px;
	text-align: center;
}
.activity-detail-info-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; color: #999; }
.activity-detail-info-value { font-weight: 700; color: #333; }

/* Content */
.activity-detail-content { padding: 2.5rem 0 3rem; }
.activity-detail-section { margin-bottom: 2.5rem; }
.activity-detail-section h2 {
	font-size: 1.2rem;
	font-weight: 700;
	color: #333;
	border-bottom: 2px solid #f0f0f0;
	padding-bottom: .5rem;
	margin-bottom: 1rem;
}
.activity-detail-section h2 i { color: var(--primary, #e67e22); }
.activity-detail-text { line-height: 1.8; color: #555; }
.activity-detail-text p { margin-bottom: 1rem; }

/* DL atributy */
.activity-detail-dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .5rem 1.5rem;
}
.activity-detail-dl dt {
	font-weight: 600;
	color: #666;
	white-space: nowrap;
}
.activity-detail-dl dd { margin: 0; color: #333; }

/* Tags */
.activity-detail-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.activity-detail-tag {
	background: #f0f4ff;
	color: #3b5998;
	padding: .35rem .85rem;
	border-radius: 20px;
	font-size: .82rem;
	font-weight: 600;
}

/* Ceník tabulka */
.activity-detail-pricing {
	width: 100%;
	border-collapse: collapse;
}
.activity-detail-pricing th,
.activity-detail-pricing td {
	padding: .5rem 1rem;
	border-bottom: 1px solid #eee;
	text-align: left;
}
.activity-detail-pricing thead th {
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #999;
	border-bottom: 2px solid #e0e0e0;
}

/* Sidebar */
.activity-detail-sidebar-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 2px 12px rgba(0,0,0,.06);
	margin-bottom: 1.5rem;
	position: sticky;
	top: 90px;
}
.activity-detail-sidebar-price {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--primary, #e67e22);
	text-align: center;
	margin-bottom: 1rem;
}
.activity-detail-sidebar-capacity { margin-bottom: 1rem; }

/* Staff karta */
.activity-detail-sidebar-staff {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 1.25rem;
	display: flex;
	gap: 1rem;
	align-items: center;
}
.activity-detail-sidebar-staff-avatar img {
	width: 60px; height: 60px;
	border-radius: 50%;
	object-fit: cover;
}
.activity-detail-sidebar-staff a { color: var(--primary, #e67e22); text-decoration: none; }

/* Hlavní obrázek */
.activity-detail-image { padding: 1.5rem 0 0; }
.activity-detail-image-full {
	width: 100%;
	max-height: 450px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

/* Galerie a dokumenty placeholder */
.activity-detail-placeholder-box {
	background: #f8f9fc;
	border: 2px dashed #dde1e8;
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	color: #999;
}
.activity-detail-placeholder-box i { opacity: .35; }
.activity-detail-placeholder-box p { margin: .5rem 0 0; }

/* Responsive */
@media (max-width: 768px) {
	.activity-detail-hero { padding: 2.5rem 0 2rem; }
	.activity-detail-title { font-size: 1.6rem; }
	.activity-detail-infobar-grid { gap: 1rem; }
	.activity-detail-sidebar-card { position: static; }
	.activity-detail-dl { grid-template-columns: 1fr; }
	.activity-detail-dl dt { margin-bottom: -.25rem; }
}

/* Prvky jen pro tisk – skryté na obrazovce */
.print-header,
.print-footer { display: none; }

/* ══════════════════════════════════════
   TISK
══════════════════════════════════════ */
@media print {
	/* Skrýt navigaci, footer, filtry, modaly, interaktivní prvky */
	.main-header, .main-footer, .main-sidebar, nav, footer,
	.filter-bar, .week-cal, .btn-register, .btn-cal-open,
	.activity-detail-sidebar-card .btn,
	.activity-detail-sidebar-card hr,
	.activity-detail-sidebar-card .d-flex.gap-2,
	.activity-detail-sidebar-card .progress,
	#regModal, .cookie-bar, .site-access-overlay,
	.pagination, .gallery-front-drop, .border-warning,
	.activity-detail-breadcrumb { display: none !important; }

	/* Reset barev a velikostí */
	body { background: #fff !important; color: #000 !important; font-size: 10pt; line-height: 1.4; }
	a { color: #000 !important; text-decoration: none !important; }
	.container { max-width: 100% !important; padding: 0 .5cm !important; }
	section { padding: 0 !important; margin: 0 !important; }

	/* Hero – kompaktní, bez pozadí */
	.activity-detail-hero {
		background: none !important;
		color: #000 !important;
		padding: 0 !important;
		margin-bottom: .5rem !important;
	}
	.activity-detail-hero-bg { display: none !important; }
	.activity-detail-title { font-size: 16pt !important; margin-bottom: .25rem !important; }
	.activity-detail-lead { font-size: 10pt !important; margin-bottom: .5rem !important; }

	/* Info bar – kompaktní */
	.activity-detail-infobar {
		border: 1px solid #ccc;
		padding: .3rem .5rem !important;
		margin-bottom: .5rem !important;
		page-break-inside: avoid;
	}
	.activity-detail-infobar-grid { gap: .5rem !important; }
	.activity-detail-info-item { font-size: 9pt; }
	.activity-detail-info-item i { font-size: 10pt !important; }

	/* Hlavní obrázek – plná šířka pod info barem, omezená výška */
	.activity-detail-image {
		padding: .3rem 0 0 !important;
		margin-bottom: .3rem !important;
	}
	.activity-detail-image-full {
		max-height: 140px !important;
		width: 100% !important;
		object-fit: cover !important;
		border-radius: 4px !important;
		box-shadow: none !important;
	}

	/* Hlavní obsah – plná šířka */
	.activity-detail-content { padding: 0 !important; }
	.activity-detail-content .row { display: block !important; margin: 0 !important; }
	.activity-detail-content .col-lg-8,
	.activity-detail-content .col-lg-4 { width: 100% !important; max-width: 100% !important; flex: none !important; padding: 0 !important; }

	/* Sekce – kompaktní */
	.activity-detail-section {
		page-break-inside: avoid;
		margin-bottom: .4rem !important;
		padding-bottom: .2rem !important;
	}
	.activity-detail-section h2 { font-size: 11pt !important; margin-bottom: .2rem !important; }

	/* Popis – menší font */
	.activity-detail-section .prose,
	.activity-detail-section p { font-size: 9pt !important; line-height: 1.3 !important; margin-bottom: .2rem !important; }

	/* Placeholder boxy – skrýt při tisku */
	.activity-detail-placeholder-box { display: none !important; }

	/* EAV definice – inline dt: dd na jednom řádku */
	.activity-detail-dl {
		display: block !important;
		font-size: 9pt !important;
	}
	.activity-detail-dl dt {
		display: inline !important;
		font-size: 8.5pt !important;
		margin: 0 !important;
	}
	.activity-detail-dl dt::after { content: ': '; }
	.activity-detail-dl dd {
		display: inline !important;
		margin: 0 !important;
	}
	.activity-detail-dl dd::after { content: ''; display: block; margin-bottom: .1rem; }

	/* Sidebar + vedoucí – skrýt (info je v info baru nahoře) */
	.activity-detail-sidebar-card,
	.activity-detail-sidebar-staff { display: none !important; }

	/* Pricing tabulka */
	.activity-detail-pricing {
		page-break-inside: avoid;
		font-size: 9pt !important;
	}

	/* Pro koho – kompaktní */
	.activity-detail-tags { font-size: 8pt !important; }
	.activity-detail-tag { padding: .1rem .4rem !important; font-size: 8pt !important; }

	/* Galerie – řada miniatur, stejná výška */
	.gallery-grid {
		columns: unset !important;
		display: flex !important;
		flex-wrap: wrap !important;
		gap: .2rem !important;
	}
	.gallery-grid-item {
		margin-bottom: 0 !important;
		width: auto !important;
		height: 55px !important;
		flex-shrink: 0;
		overflow: hidden;
	}
	.gallery-grid-item img {
		height: 55px !important;
		width: auto !important;
		border-radius: 2px !important;
		object-fit: cover;
	}
	/* Skrýt galerie tlačítka */
	.activity-detail-section .btn-outline-primary { display: none !important; }

	/* Dokumenty – skrýt celou sekci */
	.activity-detail-section--docs { display: none !important; }

	/* Lightbox overlay – skrýt */
	.lb-overlay { display: none !important; }

	/* Print header – logo + název */
	.print-header {
		display: flex !important;
		align-items: center;
		gap: .5rem;
		padding-bottom: .4rem;
		margin-bottom: .6rem;
		border-bottom: 2px solid #e67e22;
	}
	.print-header-logo {
		height: 36px;
		width: auto;
		border-radius: 4px;
	}
	.print-header-text {
		font-size: 9pt;
		line-height: 1.3;
	}
	.print-header-text strong { display: block; font-size: 11pt; }
	.print-header-text span { color: #666; }

	/* Print footer – kontaktní proužek */
	.print-footer {
		display: flex !important;
		justify-content: center;
		gap: 1.5rem;
		font-size: 7.5pt;
		color: #666;
		border-top: 1px solid #ccc;
		padding-top: .3rem;
		margin-top: .5rem;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
	}
	.print-footer i { color: #e67e22; margin-right: .2rem; font-size: 7pt; }
}


/* ══════════════════════════════════════════
   GALERIE – grid, lightbox, upload drop zone
   (sdílené pro /galerie i detail činnosti)
══════════════════════════════════════════ */
.gallery-grid { columns: 2; column-gap: .75rem; }
@media (min-width: 576px) { .gallery-grid { columns: 3; } }
@media (min-width: 992px) { .gallery-grid { columns: 4; } }
.gallery-grid-item { display: block; break-inside: avoid; margin-bottom: .75rem; border-radius: 6px; overflow: hidden; position: relative; }
.gallery-grid-item img { width: 100%; height: auto; display: block; transition: transform .25s, opacity .25s; cursor: zoom-in; }
.gallery-grid-item:hover img { transform: scale(1.03); opacity: .9; }

.lb-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; align-items: center; justify-content: center; }
.lb-overlay.active { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: 6px; }
.lb-close { position: fixed; top: 1rem; right: 1.5rem; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; line-height: 1; z-index: 10000; }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2.5rem; cursor: pointer; background: none; border: none; padding: .5rem 1rem; z-index: 10000; opacity: .7; transition: opacity .15s; }
.lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }

.gallery-front-drop { border: 2px dashed #ffc107; border-radius: 8px; padding: 2rem; text-align: center; transition: background .2s; }
.gallery-front-drop.drag-over { background: #fff8e1; }


/* ══════════════════════════════════════════
   DOKUMENTY KE STAŽENÍ – detail činnosti
══════════════════════════════════════════ */
.activity-detail-docs { display: flex; flex-direction: column; gap: .5rem; }
.activity-doc-item {
	display: flex; align-items: center; gap: 1rem;
	padding: .75rem 1rem; background: #f8f9fa; border-radius: 8px;
	text-decoration: none; color: inherit; transition: background .15s, box-shadow .15s;
}
.activity-doc-item:hover { background: #e9ecef; box-shadow: 0 2px 8px rgba(0,0,0,.06); text-decoration: none; color: inherit; }
.activity-doc-icon { font-size: 1.3rem; width: 32px; text-align: center; flex-shrink: 0; }
.activity-doc-info { flex: 1; min-width: 0; }
.activity-doc-name { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.activity-doc-dl { color: var(--primary, #e67e22); font-size: 1rem; opacity: .5; transition: opacity .15s; }
.activity-doc-item:hover .activity-doc-dl { opacity: 1; }
