/* WebST Pilot Booking — χρώματα/γραμματοσειρά του theme Somo (χρυσό #E0BA76). */

.webst-pb {
	--webst-pb-accent: #e0ba76;
	--webst-pb-border: rgba(128, 128, 128, .45);
	--webst-pb-muted: #9aa5a6;
	--webst-pb-error: #e74c3c;
	max-width: 980px;
	margin: 0 auto;
	color: inherit;
	font-family: inherit;
}

.webst-pb__step {
	margin: 0 0 32px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.webst-pb__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	padding: 0;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: inherit;
}

.webst-pb__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	flex: 0 0 auto;
	background: var(--webst-pb-accent);
	color: #111;
	font-size: 16px;
}

.webst-pb__program + .webst-pb__program {
	margin-top: 20px;
}

.webst-pb__program-title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
}

.webst-pb__options {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}

.webst-pb__option {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.webst-pb__option input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.webst-pb__option-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 16px 18px;
	border: 2px solid var(--webst-pb-border);
	border-radius: 6px;
	background: rgba(255, 255, 255, .04);
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.webst-pb__option:hover .webst-pb__option-body {
	border-color: var(--webst-pb-accent);
}

.webst-pb__option input:checked + .webst-pb__option-body {
	border-color: var(--webst-pb-accent);
	background: rgba(224, 186, 118, .12);
	box-shadow: 0 0 0 3px rgba(224, 186, 118, .25);
}

.webst-pb__option input:focus-visible + .webst-pb__option-body {
	outline: 2px solid var(--webst-pb-accent);
	outline-offset: 2px;
}

.webst-pb__option-name {
	font-weight: 600;
	line-height: 1.35;
}

.webst-pb__option-price {
	font-size: 20px;
	font-weight: 700;
	color: var(--webst-pb-accent);
}

.webst-pb__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 18px;
}

.webst-pb__field {
	position: relative;
}

.webst-pb__field label {
	display: block;
	margin-bottom: 6px;
	color: inherit;
	font-weight: 600;
}

.webst-pb__field abbr {
	color: var(--webst-pb-error);
	text-decoration: none;
	border: 0;
	cursor: help;
}

.webst-pb__field input[type="text"],
.webst-pb__field input[type="tel"],
.webst-pb__field input[type="email"],
.webst-pb__field select,
.webst-pb__field textarea {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--webst-pb-border);
	border-radius: 4px;
	background: #fff;
	color: #222;
	font: inherit;
	cursor: pointer;
}

.webst-pb__title-program {
	display: block;
	margin-top: 2px;
	color: var(--webst-pb-accent);
	font-size: 15px;
	letter-spacing: .04em;
}

/* Ο αστερίσκος χωρίς την υπογράμμιση abbr[title] του theme. */
.webst-pb__field abbr[title] {
	border-bottom: 0;
	text-decoration: none;
}

.webst-pb__field input[type="text"]:focus,
.webst-pb__field input[type="tel"]:focus,
.webst-pb__field input[type="email"]:focus,
.webst-pb__field textarea:focus,
.webst-pb__field select:focus {
	border-color: var(--webst-pb-accent);
	outline: none;
}

.webst-pb__clear {
	margin-top: 4px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--webst-pb-muted);
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.webst-pb--invalid,
.webst-pb__field input.webst-pb--invalid {
	border-color: var(--webst-pb-error);
}

.webst-pb__ack {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 14px 16px;
	border-left: 4px solid var(--webst-pb-accent);
	background: rgba(224, 186, 118, .12);
	color: inherit;
	cursor: pointer;
}

.webst-pb__ack input {
	flex: 0 0 auto;
	margin-top: 4px;
}

.webst-pb__errors {
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 4px solid var(--webst-pb-error);
	background: rgba(231, 76, 60, .12);
}

/* Ενημερωτικά μηνύματα (δεν εμποδίζουν την υποβολή). */
.webst-pb__notice {
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 4px solid var(--webst-pb-accent);
	border-radius: 0 6px 6px 0;
	background: rgba(224, 186, 118, .12);
	color: inherit;
	line-height: 1.55;
}

.webst-pb__notice[hidden],
.webst-pb__date-msg[hidden] {
	display: none;
}

.webst-pb__step > .webst-pb__notice {
	margin-bottom: 18px;
}

.webst-pb__date-msg {
	margin: -6px 0 16px;
	color: var(--webst-pb-error);
	font-weight: 600;
}

.webst-pb__errors ul {
	margin: 0;
	padding-left: 18px;
}

.webst-pb__actions {
	text-align: center;
}

.webst-pb__submit,
.webst-pb button.webst-pb__submit {
	display: inline-block;
	min-width: 280px;
	padding: 15px 36px;
	border: 2px solid var(--webst-pb-accent);
	border-radius: 4px;
	background: var(--webst-pb-accent);
	color: #111;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.webst-pb__submit:hover,
.webst-pb__submit:focus-visible {
	background: transparent;
	color: var(--webst-pb-accent);
}

.webst-pb__next {
	margin-top: 10px;
	color: var(--webst-pb-muted);
	font-size: 14px;
}

/* Datepicker (jQuery UI, χωρίς το δικό του CSS). */

/*
 * Το jQuery UI βάζει το #ui-datepicker-div στο τέλος του body μόλις φορτώσει, ενώ η κλάση
 * webst-pb-datepicker μπαίνει μόνο στο πρώτο άνοιγμα· χωρίς αυτό εμφανίζεται κάτω από το footer.
 * Το .show() του jQuery UI βάζει inline display, οπότε το άνοιγμα δουλεύει κανονικά.
 */
#ui-datepicker-div {
	display: none;
}

.webst-pb-datepicker {
	z-index: 1000 !important;
	width: 300px;
	padding: 10px;
	border: 1px solid var(--webst-pb-border, #dcdcdc);
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
	font-family: inherit;
	display: none;
}

.webst-pb-datepicker .ui-datepicker-header {
	position: relative;
	padding: 6px 0 10px;
	text-align: center;
	font-weight: 700;
}

.webst-pb-datepicker .ui-datepicker-prev,
.webst-pb-datepicker .ui-datepicker-next {
	position: absolute;
	top: 4px;
	width: 32px;
	height: 28px;
	line-height: 28px;
	cursor: pointer;
	text-align: center;
	color: #e0ba76;
	font-size: 0;
}

.webst-pb-datepicker .ui-datepicker-prev { left: 0; }
.webst-pb-datepicker .ui-datepicker-next { right: 0; }

.webst-pb-datepicker .ui-datepicker-prev::before { content: "\2039"; font-size: 24px; }
.webst-pb-datepicker .ui-datepicker-next::before { content: "\203A"; font-size: 24px; }

.webst-pb-datepicker .ui-state-disabled.ui-datepicker-prev,
.webst-pb-datepicker .ui-state-disabled.ui-datepicker-next {
	opacity: .3;
	cursor: default;
}

.webst-pb-datepicker table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: 0;
}

.webst-pb-datepicker th {
	padding: 4px 0;
	border: 0;
	color: #7f8c8d;
	font-size: 12px;
	text-align: center;
}

.webst-pb-datepicker td {
	padding: 2px;
	border: 0;
	text-align: center;
}

.webst-pb-datepicker td a,
.webst-pb-datepicker td span {
	display: block;
	padding: 7px 0;
	border-radius: 4px;
	color: #222;
	text-decoration: none;
}

.webst-pb-datepicker td a:hover {
	background: #faf6ee;
}

.webst-pb-datepicker .ui-datepicker-current-day a,
.webst-pb-datepicker td a.ui-state-active {
	background: #e0ba76;
	color: #fff;
}

.webst-pb-datepicker .ui-state-disabled span {
	color: #c8c8c8;
}

.webst-pb-datepicker .webst-pb-closed span {
	color: #e74c3c;
	text-decoration: line-through;
	opacity: .6;
}

/* Δωροκουπόνι */
.webst-pb .webst-pb__hint {
	margin: -8px 0 16px;
	color: var(--webst-pb-muted);
}

.webst-pb__optional {
	color: var(--webst-pb-muted);
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
}

.webst-pb__field textarea {
	height: auto;
	padding: 12px 14px;
	cursor: text;
	resize: vertical;
}

.webst-pb__gift-item {
	cursor: default;
}

.webst-pb__gift-item.is-selected .webst-pb__option-body {
	border-color: var(--webst-pb-accent);
	background: rgba(224, 186, 118, .12);
	box-shadow: 0 0 0 3px rgba(224, 186, 118, .25);
}

.webst-pb__qty {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-top: 4px;
	border: 1px solid var(--webst-pb-border);
	border-radius: 4px;
	overflow: hidden;
}

.webst-pb__qty-btn {
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, .06);
	color: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.webst-pb__qty-btn:hover,
.webst-pb__qty-btn:focus-visible {
	background: var(--webst-pb-accent);
	color: #111;
}

.webst-pb__qty-input {
	width: 48px;
	height: 38px;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--webst-pb-border);
	border-right: 1px solid var(--webst-pb-border);
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}

.webst-pb__qty-input::-webkit-outer-spin-button,
.webst-pb__qty-input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.webst-pb__total {
	margin: 18px 0 0;
	font-size: 18px;
	text-align: right;
}

.webst-pb__total strong {
	color: var(--webst-pb-accent);
	font-size: 24px;
}

.webst-pb__gift-error {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-left: 4px solid var(--webst-pb-error);
	background: rgba(231, 76, 60, .12);
}

.webst-pb__gift-error[hidden] {
	display: none;
}

/* Κάρτες συνεδριών */
.webst-pb--sessions .webst-pb__title {
	margin-bottom: 14px;
}

.webst-pb__session {
	margin: 0 0 18px;
	padding: 18px 20px 6px;
	border: 1px solid var(--webst-pb-border);
	border-radius: 8px;
	min-width: 0;
	background: rgba(255, 255, 255, .03);
}

.webst-pb__session-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
}

.webst-pb__session-title {
	flex: 1 1 auto;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.webst-pb button.webst-pb__session-remove {
	padding: 4px 8px;
	border: 0;
	background: transparent;
	color: var(--webst-pb-error);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.webst-pb button.webst-pb__session-remove[hidden] {
	display: none;
}

.webst-pb__field--program {
	max-width: 420px;
	margin-bottom: 16px;
}

.webst-pb__field--options {
	margin-bottom: 18px;
}

.webst-pb__label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.webst-pb__options.webst-pb--invalid .webst-pb__option-body,
.webst-pb__field select.webst-pb--invalid {
	border-color: var(--webst-pb-error);
	box-shadow: 0 0 0 1px var(--webst-pb-error);
}

.webst-pb__session .webst-pb__notice {
	margin-bottom: 16px;
}

.webst-pb__qty-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 14px;
}

.webst-pb__qty-row[hidden] {
	display: none;
}

.webst-pb__qty-row > label {
	font-weight: 600;
}

.webst-pb .webst-pb__qty-row .webst-pb__hint {
	margin: 0;
	font-size: 14px;
}

.webst-pb button.webst-pb__add-session {
	display: block;
	width: 100%;
	padding: 16px;
	border: 2px dashed var(--webst-pb-accent);
	border-radius: 8px;
	background: transparent;
	color: var(--webst-pb-accent);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
}

.webst-pb button.webst-pb__add-session:hover,
.webst-pb button.webst-pb__add-session:focus-visible {
	background: rgba(224, 186, 118, .1);
}

.webst-pb button.webst-pb__add-session[hidden] {
	display: none;
}

.webst-pb .webst-pb__add-hint {
	margin: 8px 0 24px;
	color: var(--webst-pb-muted);
	font-size: 14px;
	text-align: center;
}

.webst-pb__summary {
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 1px solid var(--webst-pb-accent);
	border-radius: 8px;
}

.webst-pb__summary[hidden],
.webst-pb__form-msg[hidden] {
	display: none;
}

.webst-pb__summary-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.webst-pb__summary-list li {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
	padding: 6px 0;
	border-bottom: 1px solid var(--webst-pb-border);
}

.webst-pb__summary-name {
	flex: 1 1 260px;
	font-weight: 600;
}

.webst-pb__summary-when {
	color: var(--webst-pb-muted);
}

.webst-pb__summary-amount {
	min-width: 80px;
	text-align: right;
}

.webst-pb__summary-total {
	display: flex;
	justify-content: space-between;
	margin: 10px 0 0;
	font-size: 18px;
	text-transform: uppercase;
}

.webst-pb__summary-total strong {
	color: var(--webst-pb-accent);
}

.webst-pb__ack.webst-pb--invalid {
	outline: 2px solid var(--webst-pb-error);
}

.webst-pb__form-msg {
	margin: 0 0 16px;
	color: var(--webst-pb-error);
	font-weight: 600;
	text-align: center;
}

/* Πακέτα: επιλογή προσομοιωτή ανά μέρος. */
.webst-pb__choices {
	margin: 0 0 18px;
	padding: 16px 18px 0;
	border-left: 4px solid var(--webst-pb-accent);
	border-radius: 0 6px 6px 0;
	background: rgba(224, 186, 118, .08);
}

.webst-pb__choices[hidden] {
	display: none;
}

.webst-pb__choices-text {
	margin: 0 0 14px;
	line-height: 1.55;
}

@media (max-width: 600px) {
	.webst-pb__title { font-size: 18px; }
	.webst-pb__submit { width: 100%; min-width: 0; }
	.webst-pb__session { padding: 14px 12px 4px; }
	.webst-pb__summary-amount { min-width: 0; }
}

/* Σύνδεσμοι μέσα στα μηνύματα */
.webst-pb__notice a,
.webst-pb__choices-text a {
	color: var(--webst-pb-accent);
	text-decoration: underline;
}

/* Δωροκουπόνια: επιλογή προσομοιωτών ανά δωροκουπόνι στα πακέτα (FP1/FP2…).
   Με ανοιχτές επιλογές το πακέτο πιάνει όλη τη γραμμή και οι επιλογές μπαίνουν μέσα στο πλαίσιό του. */
.webst-pb__gift-item.has-choices {
	grid-column: 1 / -1;
}

.webst-pb__gift-item.has-choices .webst-pb__option-body {
	height: auto;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.webst-pb__gift-choices {
	margin: 0;
	padding: 16px 18px 4px;
	border: 2px solid var(--webst-pb-accent);
	border-top: 0;
	border-left-width: 4px;
	border-radius: 0 0 6px 6px;
}

.webst-pb__gift-unit + .webst-pb__gift-unit {
	margin-top: 4px;
	padding-top: 12px;
	border-top: 1px solid rgba(224, 186, 118, .25);
}

.webst-pb__gift-unit-title {
	display: none;
	margin: 0 0 8px;
	font-weight: 600;
	color: var(--webst-pb-accent);
}

.webst-pb__gift-choices.is-multi .webst-pb__gift-unit-title {
	display: block;
}

.webst-pb__gift-max {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 400;
	opacity: .75;
}

/* Δωροκουπόνια: δικά σας μπλοκ — πεδίο πολλών γραμμών σε όλο το πλάτος. */
.webst-pb__row--extra .webst-pb__field--wide {
	grid-column: 1 / -1;
}
