/* Repetas booking form – designed for the black/green "repetas" theme, mobile first. */

.repetas-booking {
	--rb-green: #7BC86C; /* backgrounds, borders, lines */
	--rb-green-text: #7BC86C; /* green text */
	--rb-green-dark: #63b356;
	--rb-bg: #0E0D0C; /* page background; form fields, choices, cart rows */
	--rb-panel: #141414;
	--rb-line: #2a2a2a;
	--rb-text: #FBF9F4; /* all light text in the form */
	--rb-muted: #b5b5b5;
	--rb-error: #ff5a5a;
	--rb-head: Oswald, "Arial Narrow", sans-serif;

	color: var(--rb-text);
	max-width: 760px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.5;
	color-scheme: dark;
}

.repetas-booking *,
.repetas-booking *::before,
.repetas-booking *::after {
	box-sizing: border-box;
}

.repetas-booking [hidden] {
	display: none !important;
}

.rb-form {
	background: var(--rb-panel);
	border: 1px solid var(--rb-line);
	padding: 1.25rem;
}

.rb-step + .rb-step {
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rb-line);
}

.rb-step__title {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin: 0 0 .9rem;
	font-family: var(--rb-head);
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--rb-text);
}

.rb-step [data-role="summary"] + .rb-step__title,
.rb-radios + .rb-error + .rb-step__title,
.rb-fields + .rb-step__title {
	margin-top: 1.5rem;
}

.rb-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.8rem;
	height: 1.8rem;
	flex: 0 0 auto;
	background: var(--rb-green);
	color: #0F2A0C; /* dark green text on green */
	font-size: 1rem;
}

/* Choice buttons */

.rb-choices {
	display: grid;
	gap: .5rem;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.rb-choices + .rb-choices:not(:empty) {
	margin-top: .75rem;
}

.rb-choices--times {
	grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
}

/* Duration cards: big "2 val." (same size as the start times), small price, small "iki 16:00".
   Three lines on every card → equal height; 92px min → 3 per row on a 360px phone (2 on very narrow). */
.rb-choices--ends {
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
}

.rb-choices--ends .rb-choice {
	gap: .1rem;
	padding: .55rem .4rem;
}

.rb-choices--ends .rb-choice__sub {
	font-size: .8rem;
	line-height: 1.25;
	white-space: nowrap;
}

.rb-step__hint {
	margin: -.4rem 0 .8rem;
}

.rb-choices--studios,
.rb-choices--durations {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.repetas-booking .rb-choice {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: .15rem;
	min-height: 48px;
	padding: .6rem .8rem;
	background: var(--rb-bg);
	color: var(--rb-text);
	border: 1px solid var(--rb-line);
	border-radius: 0;
	font: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}

.rb-choices--times .rb-choice {
	align-items: center;
	text-align: center;
}

.repetas-booking .rb-choice:hover {
	border-color: var(--rb-green);
}

.repetas-booking .rb-choice:focus-visible,
.repetas-booking .rb-date-toggle:focus-visible,
.repetas-booking .rb-cal__nav:focus-visible,
.repetas-booking .rb-cal__day:focus-visible,
.repetas-booking .rb-submit:focus-visible,
.repetas-booking .rb-link:focus-visible {
	outline: 2px solid var(--rb-green);
	outline-offset: 2px;
}

/* Taken hours: same grey as the form background, struck through, not clickable */
.repetas-booking .rb-choice.is-busy,
.repetas-booking .rb-choice.is-busy:hover {
	background: var(--rb-panel);
	border-color: #1f1f1f;
	color: #4a4a4a;
	text-decoration: line-through;
	cursor: not-allowed;
}

.repetas-booking .rb-choice.is-in-cart,
.repetas-booking .rb-choice.is-in-cart:hover {
	border-color: rgba(123, 200, 108, .35);
	color: #3f6a37;
}

.repetas-booking .rb-choice.is-selected {
	background: rgba(123, 200, 108, .3); /* selected: green at 30 % opacity */
	border: 1px solid var(--rb-green); /* thin solid green outline */
	color: var(--rb-text);
}

.rb-choice__main {
	font-weight: 700;
}

.rb-choice__sub {
	font-size: .85rem;
	color: var(--rb-muted);
}

.rb-choice.is-selected .rb-choice__sub {
	color: #cfeec9;
}

/* Date: toggle button + own month calendar */

.repetas-booking .rb-date-toggle {
	display: flex;
	align-items: center;
	gap: .7rem;
	width: 100%;
	max-width: 420px;
	min-height: 52px;
	padding: .7rem .9rem;
	background: var(--rb-bg);
	color: var(--rb-text);
	border: 1px solid var(--rb-line);
	border-radius: 0;
	font: inherit;
	font-weight: 700;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.repetas-booking .rb-date-toggle:hover,
.repetas-booking .rb-date-toggle[aria-expanded="true"] {
	border-color: var(--rb-green);
}

.rb-date-toggle__icon {
	display: inline-flex;
	color: var(--rb-green-text);
}

.rb-date-toggle__label {
	flex: 1 1 auto;
}

.rb-date-toggle__caret {
	color: var(--rb-green-text);
	transition: transform .15s;
}

.rb-date-toggle[aria-expanded="true"] .rb-date-toggle__caret {
	transform: rotate(180deg);
}

.rb-cal {
	width: 100%;
	max-width: min(100%, 420px); /* never wider than the form (phones), at most 420px on desktop */
	margin-top: .5rem;
	padding: .75rem;
	background: var(--rb-bg);
	border: 1px solid var(--rb-green);
}

.rb-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	margin-bottom: .5rem;
}

.rb-cal__title {
	font-family: var(--rb-head);
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.repetas-booking .rb-cal__nav {
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	color: var(--rb-green-text);
	border: 1px solid var(--rb-line);
	border-radius: 0;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.repetas-booking .rb-cal__nav:disabled {
	color: var(--rb-line);
	cursor: default;
}

.rb-cal__weekdays,
.rb-cal__grid {
	display: grid;
	/* minmax(0, 1fr): columns may shrink below their content – 7 columns always fit (1fr alone = minmax(auto, 1fr)). */
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}

/* Day buttons and the empty cells before the 1st day share the same grid and may shrink. */
.rb-cal__weekdays > *,
.rb-cal__grid > * {
	min-width: 0;
}

.rb-cal__weekdays span {
	padding: .25rem 0;
	color: var(--rb-muted);
	font-size: .8rem;
	font-weight: 600;
	text-align: center;
}

.rb-cal__weekdays span:nth-child(n+6) {
	color: var(--rb-green-text);
}

.repetas-booking .rb-cal__day {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 0; /* no fixed size – with aspect-ratio a min-height also forced a 40px minimum WIDTH (overflow on phones) */
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: 0; /* also removes Safari's default button padding */
	-webkit-appearance: none;
	appearance: none;
	background: var(--rb-panel);
	color: var(--rb-text);
	border: 1px solid var(--rb-line);
	border-radius: 0;
	font: inherit;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}

.repetas-booking .rb-cal__day.is-free:hover,
.repetas-booking .rb-cal__day.is-loading:hover {
	border-color: var(--rb-green);
}

/* Free day: small green mark */
.repetas-booking .rb-cal__day.is-free {
	box-shadow: inset 0 -3px 0 var(--rb-green);
}

.repetas-booking .rb-cal__day.is-today {
	border-color: var(--rb-muted);
}

.repetas-booking .rb-cal__day.is-selected {
	background: rgba(123, 200, 108, .3);
	border: 1px solid var(--rb-green);
	color: var(--rb-text);
	box-shadow: none;
}

/* Fully booked: grey */
.repetas-booking .rb-cal__day.is-full {
	background: #2a2a2a;
	border-color: #2a2a2a;
	color: #777;
	text-decoration: line-through;
	cursor: not-allowed;
}

/* Past / closed: inactive */
.repetas-booking .rb-cal__day.is-past,
.repetas-booking .rb-cal__day.is-closed {
	background: transparent;
	border-color: transparent;
	color: #444;
	cursor: default;
}

.rb-cal__grid.is-loading .rb-cal__day.is-loading {
	color: var(--rb-muted);
}

/* Narrow phones (iPhone 393px, Android 360px): a bit more room for the 7 columns. */
@media (max-width: 420px) {
	.rb-cal {
		padding: .5rem;
	}

	.rb-cal__weekdays,
	.rb-cal__grid {
		gap: 3px;
	}
}

.rb-cal__legend {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1rem;
	margin-top: .6rem;
	color: var(--rb-muted);
	font-size: .8rem;
}

.rb-cal__legend span {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
}

.rb-cal__dot {
	display: inline-block;
	flex: 0 0 12px; /* never squeezed by the label next to it */
	box-sizing: border-box;
	width: 12px;
	height: 12px;
	border: 1px solid var(--rb-line);
}

/* Visible frame: on a transparent calendar (≤ 480 px "Keisti laiką") #2a2a2a on #141414 vanished and only the green bar showed – a dash. */
.rb-cal__dot--free {
	border-color: #3a3a3a;
	background: var(--rb-panel);
	box-shadow: inset 0 -3px 0 var(--rb-green);
}

.rb-cal__dot--full {
	background: #2a2a2a;
}

.rb-cal__dot--selected {
	background: rgba(123, 200, 108, .3);
	border-color: var(--rb-green);
}

/* Inputs */

.rb-fields {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

.rb-field label {
	display: block;
	margin-bottom: .3rem;
	font-weight: 600;
}

.rb-req {
	color: var(--rb-green-text);
}

.repetas-booking .rb-input {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: .65rem .8rem;
	background: var(--rb-bg);
	color: var(--rb-text);
	border: 1px solid var(--rb-line);
	border-radius: 0;
	font: inherit;
	font-size: 16px; /* prevents iOS zoom on focus */
}

.repetas-booking textarea.rb-input {
	resize: vertical;
	min-height: 90px;
}

.repetas-booking .rb-input::placeholder {
	color: #6f6f6f;
}

.repetas-booking .rb-input:focus {
	outline: none;
	border-color: var(--rb-green);
	box-shadow: 0 0 0 1px var(--rb-green);
}

.repetas-booking .rb-input.is-invalid {
	border-color: var(--rb-error);
}

.rb-error {
	margin: .3rem 0 0;
	color: var(--rb-error);
	font-size: .9rem;
}

.rb-error:empty {
	display: none;
}

/* Checkbox / radio */

.rb-check,
.rb-radio {
	display: flex;
	align-items: center;
	gap: .7rem;
	min-height: 44px;
	cursor: pointer;
}

.rb-check span,
.rb-radio span {
	line-height: 1.25;
}

.rb-remembered {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .3rem 1rem;
	margin: -.3rem 0 1rem;
	padding: .55rem .8rem;
	background: rgba(123, 200, 108, .08);
	border-left: 3px solid var(--rb-green);
	font-size: .9rem;
}

.rb-remembered .rb-link {
	margin-top: 0;
	font-size: .9rem;
}

.rb-consents {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--rb-line);
}

.rb-check--consent {
	align-items: flex-start;
	min-height: 0;
	padding: .35rem 0;
}

.repetas-booking .rb-check--consent input {
	margin-top: .1rem;
}

.repetas-booking .rb-check--consent input.is-invalid {
	outline: 2px solid var(--rb-error);
	outline-offset: 2px;
}

.rb-check--consent span {
	line-height: 1.4;
}

.rb-check--consent a {
	color: var(--rb-green-text);
}

.rb-consents .rb-error {
	margin: 0 0 .4rem 1.95rem;
}

.rb-radios {
	display: grid;
	gap: .25rem;
}

.repetas-booking .rb-check input,
.repetas-booking .rb-radio input {
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	flex: 0 0 auto;
	accent-color: var(--rb-green);
}

/* Payment options: large tap targets with a short hint. */
.rb-radios--pay {
	gap: .6rem;
}

.rb-radio--pay {
	align-items: flex-start;
	padding: .8rem .9rem;
	border: 1px solid var(--rb-line);
	border-radius: 4px;
}

.repetas-booking .rb-radio--pay input {
	margin-top: .15rem;
}

.rb-radio--pay:has(input:checked) {
	border-color: var(--rb-green);
	background: rgba(123, 200, 108, .3);
}

.rb-radio__text {
	display: grid;
	gap: .2rem;
}

.rb-radio__hint {
	font-size: .9rem;
	opacity: .85;
}

.rb-reason {
	margin-top: .8rem;
}

/* Client cancellation (result screen) – in the flow, big tap targets. */
.rb-cancel {
	margin: 1.25rem 0 .5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--rb-line);
}

.rb-cancel__actions {
	display: grid;
	gap: .6rem;
}

.repetas-booking .rb-cancel__btn {
	min-height: 48px;
	padding: .6rem 1rem;
	background: transparent;
	border: 1px solid rgba(251, 249, 244, .45);
	border-radius: 4px;
	color: inherit;
	font: inherit;
	text-align: center;
	cursor: pointer;
}

.repetas-booking .rb-cancel__btn--yes {
	background: #c62828;
	border-color: #c62828;
	color: #FBF9F4;
	font-weight: 600;
}

.repetas-booking .rb-cancel__btn:disabled {
	opacity: .6;
	cursor: wait;
}

.rb-cancel__confirm {
	margin-top: .8rem;
	padding: 1rem;
	border: 1px solid #c62828;
	border-radius: 4px;
	background: rgba(198, 40, 40, .08);
}

.rb-cancel__title {
	margin: 0 0 .5rem;
	font-size: 1.05rem;
}

.rb-cancel__list {
	margin: 0 0 .8rem;
	padding-left: 1.2rem;
}

.rb-cancel__late {
	margin: 0 0 .6rem;
}

/* "Atšaukta" / "Laikas pakeistas" – success, not an error (green, not the red .rb-alert frame). */
.rb-alert.rb-cancel__done {
	border-color: var(--rb-green);
	border-left: 3px solid var(--rb-green);
	background: rgba(123, 200, 108, .1);
}

.repetas-booking a.rb-tel {
	color: var(--rb-green-text);
}

@media (min-width: 640px) {
	.rb-cancel__actions {
		grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
	}
}

/* Google review request (result screen) – in the flow, big tap targets. */
.rb-review {
	margin: 1.25rem 0 .5rem;
	padding: 1rem;
	border: 1px solid var(--rb-green);
	border-radius: 4px;
	background: rgba(123, 200, 108, .08);
}

.rb-review__title {
	margin: 0 0 .5rem;
	color: var(--rb-green-text);
	font-size: 1.05rem;
}

.rb-review__actions {
	display: grid;
	gap: .6rem;
	margin-top: .8rem;
}

.repetas-booking .rb-review__rate {
	display: block;
	margin: 0;
	text-align: center;
	text-decoration: none;
}

.repetas-booking .rb-review__no {
	min-height: 48px;
	padding: .6rem 1rem;
	background: transparent;
	border: 1px solid rgba(251, 249, 244, .45);
	border-radius: 4px;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

@media (min-width: 640px) {
	.rb-review__actions {
		grid-template-columns: auto auto;
		justify-content: start;
	}
}

.rb-review__thanks {
	margin: 0;
	font-weight: 600;
}

/* Honeypot – visually hidden, not display:none (some bots skip those). */
.rb-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Cart */

.rb-picker > .rb-step:first-child,
.rb-cart[hidden] + .rb-picker > .rb-step:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.rb-cart:not([hidden]) + .rb-picker:not([hidden]) {
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rb-line);
}

.rb-picker[hidden] + .rb-step,
.rb-picker + .rb-step {
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rb-line);
}

.rb-cart__list {
	margin: 0 0 .75rem;
	padding: 0;
	list-style: none;
}

.rb-cart__item {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0 0 .5rem;
	padding: .7rem .8rem;
	background: var(--rb-bg);
	border-left: 4px solid var(--rb-green);
}

.rb-cart__item.is-unavailable {
	border-left-color: var(--rb-error);
	background: rgba(255, 90, 90, .08);
}

.rb-cart__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: .1rem;
	min-width: 0;
}

.rb-cart__studio {
	font-weight: 700;
}

.rb-cart__when {
	font-size: .92rem;
}

.rb-cart__error {
	color: var(--rb-error);
	font-size: .88rem;
	font-weight: 600;
}

.rb-cart__price {
	flex: 0 0 auto;
	color: var(--rb-green-text);
	font-family: var(--rb-head);
	font-size: 1.15rem;
	white-space: nowrap;
}

.repetas-booking .rb-cart__remove {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	color: var(--rb-muted);
	border: 1px solid var(--rb-line);
	border-radius: 0;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.repetas-booking .rb-cart__remove:hover,
.repetas-booking .rb-cart__remove:focus-visible {
	color: var(--rb-error);
	border-color: var(--rb-error);
	outline: none;
}

.rb-cart__total {
	margin: .25rem 0;
	font-size: 1.2rem;
}

.rb-cart__total strong {
	color: var(--rb-green-text);
	font-family: var(--rb-head);
	font-size: 1.6rem;
}

.repetas-booking .rb-add-more {
	display: block;
	width: 100%;
	min-height: 48px;
	margin-top: 1rem;
	padding: .7rem 1rem;
	background: transparent;
	color: var(--rb-green-text);
	border: 1px dashed var(--rb-green);
	border-radius: 0;
	font: inherit;
	font-weight: 700;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.repetas-booking .rb-add-more:hover {
	background: rgba(123, 200, 108, .08);
}

.rb-add-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.rb-add-actions .rb-submit,
.rb-add-actions .rb-link {
	margin-top: 0;
}

.rb-success__order {
	font-family: var(--rb-head);
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.rb-cart__list--done .rb-cart__item {
	background: var(--rb-bg);
}

/* Summary */

.rb-summary {
	padding: 1rem;
	margin-bottom: 1.5rem;
	background: var(--rb-bg);
	border-left: 4px solid var(--rb-green);
}

.rb-summary__list {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .3rem 1rem;
	margin: 0;
}

.rb-summary__list dt {
	color: var(--rb-muted);
}

.rb-summary__list dd {
	margin: 0;
	font-weight: 600;
}

.rb-summary__price {
	margin: .8rem 0 .2rem;
	font-size: 1.25rem;
}

.rb-summary__price strong {
	color: var(--rb-green-text);
	font-family: var(--rb-head);
	font-size: 1.6rem;
}

.rb-summary__note {
	margin: .6rem 0 0;
	padding: .5rem .7rem;
	border: 1px dashed var(--rb-green);
	font-size: .95rem;
}

/* Messages */

.rb-muted {
	color: var(--rb-muted);
}

.rb-small {
	font-size: .875rem;
}

.rb-alert {
	margin: 1rem 0;
	padding: .75rem 1rem;
	border: 1px solid var(--rb-error);
	background: rgba(255, 90, 90, .1);
	color: var(--rb-text);
}

.rb-step__title + .rb-alert {
	margin-top: 0;
}

/* Submit */

.repetas-booking .rb-submit {
	display: block;
	width: 100%;
	min-height: 54px;
	margin-top: 1.5rem;
	padding: .8rem 1.5rem;
	background: var(--rb-green);
	color: #0F2A0C;
	border: 0;
	border-radius: 0;
	font-family: var(--rb-head);
	font-size: 1.15rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	cursor: pointer;
	transition: background-color .15s;
}

.repetas-booking .rb-submit:hover {
	background: var(--rb-green-dark);
}

.repetas-booking .rb-submit:disabled {
	opacity: .6;
	cursor: wait;
}

.repetas-booking .rb-link {
	margin-top: 1.25rem;
	padding: 0;
	background: none;
	border: 0;
	color: var(--rb-green-text);
	font: inherit;
	text-decoration: underline;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

/* Success */

.rb-success {
	padding: 1.5rem 1.25rem;
	background: var(--rb-panel);
	border: 1px solid var(--rb-green);
}

.rb-success:focus {
	outline: none;
}

.rb-success__title {
	margin: 0 0 .5rem;
	font-family: var(--rb-head);
	text-transform: uppercase;
	color: var(--rb-green-text);
}

.rb-success .rb-summary__list {
	margin: 1rem 0;
}

@media (min-width: 640px) {
	.rb-form {
		padding: 2rem;
	}

	.rb-fields {
		grid-template-columns: 1fr 1fr;
	}

	.rb-field--wide {
		grid-column: 1 / -1;
	}

	.repetas-booking .rb-submit {
		width: auto;
	}
}

/* Client reschedule ("Keisti laiką", result screen): same calendar / hour grid as the form, studio and duration locked. */
.rb-move {
	border-top: 1px solid var(--rb-line);
}

.rb-cancel.rb-move + .rb-cancel {
	margin-top: .5rem;
	padding-top: .5rem;
	border-top: 0;
}

.repetas-booking .rb-move__btn,
.repetas-booking .rb-move__go {
	border-color: var(--rb-green);
	color: var(--rb-green-text);
	font-weight: 600;
}

.repetas-booking .rb-move__go:disabled {
	border-color: var(--rb-line);
	color: var(--rb-muted);
	cursor: not-allowed;
}

.repetas-booking .rb-move__yes {
	background: var(--rb-green);
	border-color: var(--rb-green);
	color: #0F2A0C;
	font-weight: 600;
}

.rb-move__panel {
	margin-top: .8rem;
	padding: 1rem;
	border: 1px solid var(--rb-green);
	border-radius: 4px;
	background: rgba(123, 200, 108, .06);
}

.rb-move__locked {
	margin: 0 0 .3rem;
	color: var(--rb-green-text);
	font-weight: 700;
}

.rb-move__cal {
	margin: .6rem 0 .8rem;
}

.rb-move .rb-choices--times {
	margin-bottom: .8rem;
}

.rb-move__confirm {
	border-color: var(--rb-green);
	background: rgba(123, 200, 108, .08);
}

/* Another price: inactive, not struck through, "Kita kaina" underneath. */
.repetas-booking .rb-cal__day.is-other_price {
	background: transparent;
	border: 1px dashed #3a3a3a;
	color: #6a6a6a;
	cursor: not-allowed;
}

.repetas-booking .rb-choice.is-other_price,
.repetas-booking .rb-choice.is-other_price:hover,
.repetas-booking .rb-choice.is-current,
.repetas-booking .rb-choice.is-current:hover {
	text-decoration: none;
	color: #6a6a6a;
}

.repetas-booking .rb-choice.is-current {
	border-color: rgba(123, 200, 108, .35);
}

.rb-cal__dot--other {
	border-style: dashed;
	border-color: #3a3a3a;
	background: transparent;
}

/* Result screen: one notice at a slot that can no longer be changed / cancelled online (reason + contacts). */
.rb-cart__item.has-note {
	flex-wrap: wrap;
}

.rb-slot-note {
	flex-basis: 100%;
	margin: .4rem 0 0;
	padding: .55rem .75rem;
	border: 1px solid var(--rb-green);
	border-radius: 4px;
	background: rgba(123, 200, 108, .08);
	font-size: .9rem;
	line-height: 1.45;
}

.rb-move__why {
	margin: 0 0 .6rem;
}

.rb-cart__item.has-note .rb-cart__info {
	flex: 1 1 0;
	min-width: 0; /* the price stays on the first row, only the notice wraps */
}

/* Reschedule grid: "Netelpa" like "Kita kaina" – labelled, not struck through (only taken hours are). */
.repetas-booking .rb-choice.is-nofit,
.repetas-booking .rb-choice.is-nofit:hover {
	text-decoration: none;
	color: #6a6a6a;
}

.rb-move__new {
	margin: 0 0 .4rem;
	color: var(--rb-green-text);
	font-weight: 700;
}

/* "Pasirinkite naują laiką": clearly disabled until a start is chosen. */
.repetas-booking .rb-move__go:disabled {
	opacity: .5;
	cursor: not-allowed;
}

/* Phones (≤ 480 px): fewer nested paddings in "Keisti laiką" – 360 px phone: 3 start cards per row, wide calendar. */
@media (max-width: 480px) {
	.rb-success.rb-result {
		padding: 1.25rem .75rem;
	}

	.rb-move__panel {
		padding: .75rem .5rem;
	}

	.rb-move .rb-move__cal {
		padding: .5rem 0;
		border: 0;
		background: transparent;
	}
}

/* One city per order: notice with "Išvalyti krepšelį" (cart and studio step); fits a 360 px phone. */
.rb-citynote__text,
.rb-citynote__ask {
	margin: 0 0 .75rem;
}

.rb-citynote__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}

.rb-citynote__actions .rb-citynote__ask {
	flex: 1 0 100%;
	margin-bottom: 0;
	font-weight: 600;
}

.repetas-booking .rb-citynote__btn {
	flex: 1 1 140px;
	min-height: 48px;
	padding: .6rem 1rem;
	background: transparent;
	border: 1px solid rgba(251, 249, 244, .45);
	border-radius: 4px;
	color: inherit;
	font: inherit;
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.repetas-booking .rb-citynote__btn--yes {
	background: #c62828;
	border-color: #c62828;
	color: #FBF9F4;
	font-weight: 600;
}

/* Online payment only (Kaunas): how to reach us – under the payment block. */
.rb-pay-contact {
	margin: .9rem 0 0;
	color: var(--rb-muted);
	font-size: .95rem;
	line-height: 1.5;
}

.rb-pay-contact .rb-tel {
	white-space: nowrap;
	font-weight: 600;
}

/* The [hidden] attribute must win over display rules of labels / fields (payment options, sound engineer). */
.repetas-booking .rb-radio[hidden],
.repetas-booking .rb-field[hidden],
.repetas-booking .rb-alert[hidden] {
	display: none;
}

/* Unpaid Montonio order banner ("Tęsti mokėjimą / Atšaukti") – top of the form, in the normal page flow
   (never fixed / sticky: it must not cover the cart, the submit button or the cookie bar on a phone). */
.rb-paybar {
	/* Space from the text above the form (e.g. "Pasirinkite norimą miestą…") – like the gap between form steps. */
	margin: 1.5rem 0 1rem;
	padding: 1rem 1.25rem;
	background: var(--rb-panel);
	border: 1px solid var(--rb-green);
	border-left-width: 4px;
}

.rb-paybar:focus {
	outline: 2px solid var(--rb-green);
	outline-offset: 2px;
}

.rb-paybar:focus:not(:focus-visible) {
	outline: none;
}

.rb-paybar__title {
	margin: 0 0 .4rem;
	font-family: var(--rb-head);
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--rb-green-text);
}

/* After a blocked submit: why "Pateikti" waits – inside the banner, where the client is scrolled to. */
.rb-paybar__hint {
	margin: 0 0 .6rem;
	padding: .5rem .75rem;
	border-left: 3px solid var(--rb-green);
	background: rgba(123, 200, 108, .12);
	font-weight: 700;
}

/* Brief highlight when the client is sent to the banner. */
.rb-paybar--flash {
	animation: rb-paybar-flash 1.5s ease-out;
}

@keyframes rb-paybar-flash {
	0%,
	35% {
		box-shadow: 0 0 0 4px rgba(123, 200, 108, .55);
		background: rgba(123, 200, 108, .18);
	}
	100% {
		box-shadow: 0 0 0 4px rgba(123, 200, 108, 0);
		background: var(--rb-panel);
	}
}

@media (prefers-reduced-motion: reduce) {
	/* No animation: a steady frame while the class is on (removed after ~1.6 s). */
	.rb-paybar--flash {
		animation: none;
		box-shadow: 0 0 0 4px rgba(123, 200, 108, .55);
	}
}

.rb-paybar__lead {
	margin: 0 0 .6rem;
	color: var(--rb-muted);
	font-size: .9rem;
}

.rb-paybar__list {
	margin: 0 0 .6rem;
	padding-left: 1.2em;
}

.rb-paybar__list li + li {
	margin-top: .2rem;
}

.rb-paybar__sum,
.rb-paybar__timer {
	margin: 0 0 .3rem;
}

.rb-paybar__timer [role="timer"] {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--rb-green-text);
}

.rb-paybar__actions {
	display: grid;
	gap: .6rem;
	margin-top: .8rem;
}

.repetas-booking .rb-paybar__go {
	margin-top: 0;
	min-height: 48px;
}

.rb-paybar--done {
	padding: 0;
	border: 0;
	background: none;
}

.rb-paybar--done .rb-alert {
	margin: 0;
}

/* Next to "Pateikti": why submitting waits (green frame, not an error). */
.rb-alert.rb-paynote {
	border-color: var(--rb-green);
	border-left: 3px solid var(--rb-green);
	background: rgba(123, 200, 108, .1);
}

.repetas-booking .rb-paynote__jump {
	margin: 0;
}

@media (min-width: 640px) {
	.rb-paybar__actions {
		grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
		align-items: center;
	}
}

@media (max-width: 480px) {
	.rb-paybar {
		padding: .9rem 1rem;
	}
}
