/* Rezervácie – doplnok k custom.css */

#booking-app {
	padding-bottom: 2rem;
}

.booking-step {
	opacity: 0;
	transform: translateY(12px);
	animation: bookingFadeIn 0.35s ease forwards;
}

.booking-step:nth-child(2) {
	animation-delay: 0.05s;
}

.booking-step:nth-child(3) {
	animation-delay: 0.1s;
}

@keyframes bookingFadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.booking-card {
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.booking-card:hover {
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
	transform: scale(1.02);
}

.day-picker {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 0.75rem;
}

.day-btn,
.slot-btn {
	border: 1px solid #dee2e6;
	background: #fff;
	border-radius: 0.375rem;
	padding: 0.85rem 0.75rem;
	text-align: center;
	cursor: pointer;
	transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.2s ease,
		background-color 0.2s ease;
}

.day-btn:hover,
.slot-btn:hover {
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
	transform: scale(1.03);
	border-color: #daa520;
}

.day-btn.is-selected,
.slot-btn.is-selected {
	background-color: #daa520;
	border-color: #daa520;
	color: #212529 !important;
	font-weight: 700;
}

.day-btn.is-selected small,
.day-btn.is-selected span,
.slot-btn.is-selected {
	color: #212529 !important;
}

.day-btn:disabled,
.slot-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.slot-picker {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

@media (min-width: 576px) {
	.slot-picker {
		grid-template-columns: repeat(3, 1fr);
	}
}

.booking-summary {
	border-left: 4px solid #daa520;
}

.booking-alert {
	border-radius: 0.375rem;
}

.booking-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

#booking-loading {
	min-height: 120px;
}

.admin-table td,
.admin-table th {
	vertical-align: middle;
}

.contact-lines p {
	margin-bottom: 0.25rem;
}

.contact-lines p:last-child {
	margin-bottom: 0;
}

.form-check-label {
	font-size: 0.95rem;
	line-height: 1.5;
}

.schedule-day-item summary {
	cursor: pointer;
	list-style: none;
}

.schedule-day-item summary::-webkit-details-marker {
	display: none;
}

.schedule-day-summary-row {
	padding: 0.25rem 0;
}

.admin-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1.25rem;
}

.admin-brand {
	text-decoration: none;
	font-size: 1.1rem;
	white-space: nowrap;
}

.admin-topbar-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: auto;
	flex-shrink: 0;
}

.admin-user-email {
	font-size: 0.875rem;
	color: #6c757d;
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.admin-logout-form {
	margin: 0;
}

.admin-horizon-picker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.admin-price-picker {
	max-width: 280px;
}

.admin-price-input-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.admin-price-input-wrap .form-control {
	max-width: 120px;
	font-weight: 600;
}

.admin-price-suffix {
	font-weight: 600;
	color: #333;
}

.admin-horizon-label {
	font-weight: 600;
}

.admin-week-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.admin-week-tab {
	border: 1px solid #dee2e6;
	background: #fff;
	border-radius: 0.5rem;
	padding: 0.65rem 0.9rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.admin-week-tab.is-active {
	background: #daa520;
	border-color: #daa520;
	color: #212529;
}

.admin-week-tab.is-hidden {
	display: none;
}

.admin-week-panel {
	display: none;
}

.admin-week-panel.is-active:not(.is-hidden) {
	display: block;
}

.admin-day-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.75rem;
}

.admin-day-card {
	border: 1px solid #e9ecef;
	border-radius: 0.75rem;
	padding: 0.85rem;
	background: #fafafa;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-day-card.is-enabled {
	background: #fff;
	border-color: #daa520;
	box-shadow: 0 0 0 1px rgba(218, 165, 32, 0.15);
}

.admin-day-card.is-past {
	opacity: 0.55;
}

.admin-day-card-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.admin-day-name {
	font-weight: 700;
}

.admin-day-date {
	color: #6c757d;
	font-size: 0.9rem;
}

.admin-slot-row {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 0.35rem;
	margin-bottom: 0.35rem;
}

.admin-calendar-actions {
	border-top: 1px solid #eee;
	padding-top: 1rem;
}

body.admin-modal-open {
	overflow: hidden;
}

.admin-modal {
	position: fixed;
	inset: 0;
	z-index: 1050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.admin-modal[hidden] {
	display: none;
}

.admin-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(33, 37, 41, 0.55);
}

.admin-modal-dialog {
	position: relative;
	width: min(100%, 480px);
	background: #fff;
	border-radius: 0.75rem;
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.2);
	padding: 1.25rem 1.25rem 1rem;
}

.admin-modal-title {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.admin-modal-text {
	color: #6c757d;
	margin-bottom: 1rem;
}

.admin-modal-details {
	display: grid;
	gap: 0.65rem;
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	background: #f8f9fa;
	border-radius: 0.5rem;
}

.admin-modal-details dt {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #6c757d;
	margin-bottom: 0.1rem;
}

.admin-modal-details dd {
	margin: 0;
	font-weight: 600;
}

.admin-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin: 0;
}

.admin-sections {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.admin-section {
	border: 1px solid #e9ecef;
	border-radius: 0.75rem;
	overflow: hidden;
}

.admin-section-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem 1rem;
	padding: 1rem 1.15rem;
	cursor: pointer;
	list-style: none;
	background: #fff;
}

.admin-section-summary::-webkit-details-marker {
	display: none;
}

.admin-section-title {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.admin-section-hint {
	font-size: 0.875rem;
	color: #6c757d;
}

.admin-section-body {
	padding: 0 1.15rem 1.15rem;
}

.admin-reservation-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.admin-reservation-scroll {
	max-height: 520px;
	overflow: auto;
	border: 1px solid #e9ecef;
	border-radius: 0.5rem;
}

.admin-reservation-scroll thead th {
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 1;
	box-shadow: 0 1px 0 #dee2e6;
}

.admin-reservation-pagination .page-link {
	color: #212529;
}

.admin-reservation-pagination .page-item.active .page-link {
	background-color: #daa520;
	border-color: #daa520;
	color: #212529;
}

.admin-panel-switch {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.2rem;
	border: 1px solid #dee2e6;
	border-radius: 999px;
	background: #fff;
}

.admin-panel-switch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	border-radius: 999px;
	padding: 0.35rem 0.95rem;
	color: #495057;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.admin-panel-switch-btn:hover {
	color: #212529;
	background: #f8f9fa;
}

.admin-panel-switch-btn.is-active {
	background: #daa520;
	color: #212529;
	box-shadow: 0 6px 14px rgba(218, 165, 32, 0.28);
}

.admin-panel-switch-btn.is-women.is-active {
	background: #8d4961;
	color: #fff;
	box-shadow: 0 6px 14px rgba(141, 73, 97, 0.28);
}

.admin-panel-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	border-radius: 0.85rem;
	padding: 1rem 1.15rem;
}

.admin-panel-banner strong {
	display: block;
	margin-bottom: 0.15rem;
}

.admin-panel-banner span,
.admin-panel-banner small {
	color: #6c757d;
}

.admin-panel-banner-terapie {
	border: 1px solid rgba(218, 165, 32, 0.35);
	background: linear-gradient(135deg, #fffaf0, #fff);
}

.admin-panel-banner-zeny {
	border: 1px solid rgba(141, 73, 97, 0.22);
	background: linear-gradient(135deg, #fbf4f6, #fff);
}

.text-women {
	color: #8d4961 !important;
}

.btn-women {
	background: #8d4961;
	border-color: #8d4961;
	color: #fff;
}

.btn-women:hover,
.btn-women:focus {
	background: #71364b;
	border-color: #71364b;
	color: #fff;
}

.border-women {
	border-color: rgba(141, 73, 97, 0.18) !important;
}

.admin-panel-zeny .admin-section {
	border-color: rgba(141, 73, 97, 0.16);
}

.admin-panel-zeny .admin-section-title {
	color: #71364b;
}

.admin-women-meeting-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.admin-women-filter-chip {
	display: inline-flex;
	flex-direction: column;
	gap: 0.1rem;
	border: 1px solid #e5d5da;
	border-radius: 0.85rem;
	padding: 0.55rem 0.8rem;
	background: #fff;
	color: #34282f;
	text-decoration: none;
	min-width: 120px;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.admin-women-filter-chip small {
	color: #776871;
}

.admin-women-filter-chip span {
	align-self: flex-start;
	margin-top: 0.2rem;
	border-radius: 999px;
	padding: 0.1rem 0.45rem;
	background: #f8ecee;
	color: #71364b;
	font-size: 0.75rem;
	font-weight: 700;
}

.admin-women-filter-chip:hover,
.admin-women-filter-chip.is-active {
	border-color: #8d4961;
	background: #fbf4f6;
	box-shadow: 0 8px 18px rgba(141, 73, 97, 0.1);
	color: #34282f;
}

.admin-women-filter-chip.is-active span {
	background: #8d4961;
	color: #fff;
}

.women-edit-row td {
	border-top: 0;
}

.women-edit-row[hidden] {
	display: none !important;
}

@media (max-width: 767.98px) {
	.admin-topbar-actions {
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.admin-panel-switch {
		order: -1;
		width: 100%;
		justify-content: stretch;
	}

	.admin-panel-switch-btn {
		flex: 1;
	}
}
