/* Viber Consultation Booking — front-end styles */

.vdb-app {
	--vdb-accent: #2A88C9;      /* Site brand blue */
	--vdb-accent-dark: #1F7BA8; /* Darker blue for hover / emphasis */
	--vdb-ok: #2e7d32;
	--vdb-err: #c62828;
	--vdb-border: #e2e2ec;
	--vdb-bg: #ffffff;
	--vdb-muted: #6b7280;
	max-width: 720px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
	color: #1f2430;
	box-sizing: border-box;
}
.vdb-app *,
.vdb-app *::before,
.vdb-app *::after { box-sizing: border-box; }

.vdb-loading,
.vdb-empty {
	padding: 2rem 1rem;
	text-align: center;
	color: var(--vdb-muted);
}

/* Notices */
.vdb-notice {
	padding: .75rem 1rem;
	border-radius: 8px;
	margin-bottom: 1rem;
	font-size: .95rem;
}
.vdb-notice--warn  { background: #fff4e5; color: #8a5300; border: 1px solid #ffd699; }
.vdb-notice--error { background: #fdecec; color: var(--vdb-err); border: 1px solid #f5b5b5; }

/* Stepper */
.vdb-stepper { margin-bottom: 1.25rem; }
.vdb-stepper__label { font-size: .9rem; color: var(--vdb-muted); margin-bottom: .5rem; }
.vdb-stepper__bar { display: flex; gap: 6px; }
.vdb-stepper__dot {
	flex: 1; height: 6px; border-radius: 3px; background: var(--vdb-border);
	transition: background .2s ease;
}
.vdb-stepper__dot.is-active { background: var(--vdb-accent); }

/* Service cards */
.vdb-services { display: grid; gap: .75rem; }
.vdb-card {
	display: flex; align-items: flex-start; gap: 1rem; text-align: left;
	width: 100%; padding: .85rem 1rem; cursor: pointer; overflow: hidden;
	background: var(--vdb-bg); border: 2px solid var(--vdb-border);
	border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
	font: inherit; color: inherit;
}
.vdb-card:hover { border-color: var(--vdb-accent); }
.vdb-card.is-selected { border-color: var(--vdb-accent); box-shadow: 0 0 0 3px rgba(42,136,201,.15); }
.vdb-card__img {
	flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px;
	background-size: cover; background-position: center; background-color: #f2f2f7;
}
.vdb-card__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vdb-card__title { font-weight: 600; }
.vdb-card__meta { font-size: .82rem; font-weight: 700; color: #d1495b; }
.vdb-desc {
	font-size: .85rem; color: var(--vdb-muted);
	white-space: normal !important; overflow-wrap: anywhere;
	max-height: none !important; overflow: visible !important;
}
.vdb-desc--full p { margin: 0 0 .5em; }
.vdb-desc--full p:last-child { margin-bottom: 0; }
.vdb-desc--full ul, .vdb-desc--full ol { margin: .25em 0 .5em 1.25em; padding: 0; }
.vdb-desc--full ul { list-style: disc; }
.vdb-desc--full ol { list-style: decimal; }
.vdb-desc--full li { margin: .15em 0; }
.vdb-desc--full strong, .vdb-desc--full b { font-weight: 700; }
.vdb-desc--full em, .vdb-desc--full i { font-style: italic; }
.vdb-card__more {
	display: block; clear: both;
	align-self: flex-start; margin-top: 4px; padding: 0; border: 0; background: none;
	color: var(--vdb-accent-dark); font: inherit; font-size: .82rem; font-weight: 600;
	text-decoration: underline; cursor: pointer;
}
.vdb-card__more:hover { color: var(--vdb-accent); }
.vdb-card__price { flex: 0 0 auto; font-weight: 700; color: var(--vdb-accent-dark); white-space: nowrap; }

/* Date + time picker (week strip + time chips) */
.vdb-picker { display: block; }

/* Month navigator */
.vdb-datenav {
	display: flex; align-items: center; justify-content: space-between; gap: .5rem;
	margin-bottom: .9rem;
}
.vdb-datenav__month {
	flex: 1 1 auto; text-align: center; font-weight: 700; font-size: 1rem; color: #1f2430;
	text-transform: capitalize;
}
.vdb-datenav__arrow {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
	border: 1px solid var(--vdb-border) !important; background: #fff !important;
	color: var(--vdb-accent-dark) !important; font-size: 1.4rem; line-height: 1; font-weight: 700;
	cursor: pointer; transition: background .15s ease, border-color .15s ease;
	display: flex; align-items: center; justify-content: center; padding: 0;
}
.vdb-datenav__arrow:hover:not([disabled]),
.vdb-datenav__arrow:focus:not([disabled]) {
	background: #eaf4fb !important; border-color: var(--vdb-accent) !important; outline: none !important;
}
.vdb-datenav__arrow[disabled] { opacity: .35; cursor: default; }

/* Section labels */
.vdb-times-label {
	font-size: .82rem; font-weight: 600; color: var(--vdb-muted);
	text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .55rem;
}

/* Week strip */
.vdb-week {
	display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; margin-bottom: 1.25rem;
}
.vdb-day {
	display: flex; flex-direction: column; align-items: center; gap: 3px;
	padding: .55rem .2rem .5rem; border: 2px solid var(--vdb-border); border-radius: 12px;
	background: #fff; cursor: pointer; font: inherit; color: #1f2430;
	transition: border-color .15s ease, background .15s ease;
}
.vdb-day__wd { font-size: .72rem; font-weight: 600; color: var(--vdb-muted); text-transform: uppercase; }
.vdb-day__num { font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.vdb-day__dot { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.vdb-day.is-available .vdb-day__dot { background: var(--vdb-accent); }
.vdb-day:hover:not([disabled]),
.vdb-day:focus:not([disabled]) {
	border-color: var(--vdb-accent) !important; background: #eaf4fb !important;
	color: #1f2430 !important; outline: none !important; box-shadow: none !important;
}
.vdb-day.is-selected {
	border-color: var(--vdb-accent) !important; background: var(--vdb-accent) !important;
	color: #fff !important; box-shadow: 0 0 0 3px rgba(42,136,201,.18) !important;
}
.vdb-day.is-selected .vdb-day__wd,
.vdb-day.is-selected .vdb-day__num { color: #fff !important; }
.vdb-day.is-selected .vdb-day__dot { background: #fff !important; }
.vdb-day[disabled] { opacity: .4; cursor: default; }

/* Time chips */
.vdb-times {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem;
}
.vdb-time {
	padding: .7rem .5rem; border: 2px solid var(--vdb-border); border-radius: 10px;
	background: #fff; cursor: pointer; font: inherit; font-weight: 700; font-size: .98rem;
	color: #d1495b; text-align: center; transition: border-color .15s ease, background .15s ease;
}
.vdb-time:hover:not([disabled]),
.vdb-time:focus:not([disabled]) {
	border-color: var(--vdb-accent) !important; background: #eaf4fb !important;
	color: #d1495b !important; outline: none !important; box-shadow: none !important;
}
.vdb-time.is-selected {
	border-color: var(--vdb-accent) !important; background: var(--vdb-accent) !important;
	color: #fff !important; box-shadow: 0 0 0 3px rgba(42,136,201,.18) !important;
}
.vdb-times-empty { color: var(--vdb-muted); font-size: .92rem; padding: .3rem 0 .6rem; }

@media (max-width: 520px) {
	.vdb-week { gap: .3rem; }
	.vdb-day { padding: .5rem .1rem .45rem; border-radius: 10px; }
	.vdb-day__wd { font-size: .64rem; }
	.vdb-day__num { font-size: 1rem; }
	.vdb-times { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: .4rem; }
	.vdb-time { padding: .6rem .4rem; font-size: .92rem; }
	.vdb-datenav__month { font-size: .92rem; }
}

/* Form */
.vdb-form { display: grid; gap: 1rem; }
.vdb-field { display: flex; flex-direction: column; gap: .35rem; }
.vdb-field__label { font-weight: 600; font-size: .92rem; }
.vdb-field__hint { font-size: .82rem; color: var(--vdb-muted); }
.vdb-field input,
.vdb-field textarea {
	width: 100%; padding: .6rem .7rem; border: 1px solid var(--vdb-border);
	border-radius: 8px; font: inherit; color: inherit; background: #fff;
}
.vdb-field input:focus,
.vdb-field textarea:focus { outline: none; border-color: var(--vdb-accent); box-shadow: 0 0 0 3px rgba(42,136,201,.12); }
.vdb-terms {
	max-height: 160px; overflow-y: auto; padding: .75rem; font-size: .85rem;
	background: #fafafe; border: 1px solid var(--vdb-border); border-radius: 8px;
}
.vdb-check { display: flex; align-items: flex-start; gap: .5rem; font-size: .92rem; }
.vdb-check input { margin-top: .2rem; }

/* File upload */
.vdb-file { display: inline-flex; align-items: center; cursor: pointer; }
.vdb-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.vdb-file__btn {
	display: inline-block; padding: .5rem 1rem; border-radius: 8px;
	border: 1px dashed var(--vdb-accent); color: var(--vdb-accent-dark);
	background: #fafafe; font-weight: 600; font-size: .9rem;
}
.vdb-file:hover .vdb-file__btn { background: #eaf4fb; }
.vdb-filelist { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; }
.vdb-filelist li {
	display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
	font-size: .85rem; padding: .4rem .6rem; background: #f7f7fb;
	border: 1px solid var(--vdb-border); border-radius: 8px;
}
.vdb-file__name { font-weight: 600; overflow-wrap: anywhere; }
.vdb-file__size { color: var(--vdb-muted); }
.vdb-file__rm {
	margin-left: auto; border: 0; background: none; cursor: pointer;
	color: var(--vdb-err); font: inherit; font-size: .82rem; text-decoration: underline;
}

/* Review */
.vdb-review { border: 1px solid var(--vdb-border); border-radius: 12px; overflow: hidden; }
.vdb-review__row {
	display: flex; justify-content: space-between; gap: 1rem;
	padding: .7rem 1rem; border-bottom: 1px solid var(--vdb-border);
}
.vdb-review__row:last-child { border-bottom: 0; }
.vdb-review__row span { color: var(--vdb-muted); }
.vdb-review__total { background: #fafafe; font-size: 1.1rem; }
.vdb-review__total strong { color: var(--vdb-accent-dark); }

/* Buttons + nav */
.vdb-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.vdb-btn {
	display: inline-block; padding: .65rem 1.3rem; border-radius: 9px; border: 0;
	background: var(--vdb-accent) !important; color: #fff !important; font: inherit; font-weight: 600; cursor: pointer;
	transition: background .15s ease, opacity .15s ease; text-decoration: none;
}
.vdb-btn:hover, .vdb-btn:focus { background: var(--vdb-accent-dark) !important; color: #fff !important; outline: none; }
.vdb-btn[disabled] { opacity: .6; cursor: default; }
.vdb-btn--ghost { background: transparent !important; color: var(--vdb-accent-dark) !important; border: 1px solid var(--vdb-border); }
.vdb-btn--ghost:hover, .vdb-btn--ghost:focus { background: #eaf4fb !important; color: var(--vdb-accent-dark) !important; }
.vdb-btn--pay { min-width: 180px; text-align: center; }
.vdb-btn--viber { background: #7360f2 !important; }
.vdb-btn--viber:hover, .vdb-btn--viber:focus { background: #5b4ad0 !important; }
.vdb-btn--whatsapp { background: #25d366 !important; }
.vdb-btn--whatsapp:hover, .vdb-btn--whatsapp:focus { background: #1da851 !important; color: #fff !important; }
.vdb-contact-btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* Pay note + wallet badges */
.vdb-pay-note {
	display: flex; align-items: center; justify-content: center; gap: .6rem;
	margin-top: .9rem; font-size: .85rem; color: var(--vdb-muted); text-align: center;
	flex-wrap: wrap;
}
.vdb-wallets { display: inline-flex; align-items: center; gap: 5px; }
.vdb-wallets svg { border-radius: 3px; vertical-align: middle; }

/* Confirmation */
.vdb-confirmation { text-align: center; padding: 2rem 1rem; }
.vdb-confirmation__icon {
	width: 64px; height: 64px; line-height: 64px; margin: 0 auto 1rem;
	border-radius: 50%; font-size: 2rem; color: #fff;
}
.vdb-confirmation--ok .vdb-confirmation__icon { background: var(--vdb-ok); }
.vdb-confirmation--error .vdb-confirmation__icon { background: var(--vdb-err); }
.vdb-summary { list-style: none; padding: 0; margin: 1rem auto; max-width: 360px; text-align: left; }
.vdb-summary li { padding: .35rem 0; border-bottom: 1px dashed var(--vdb-border); }

@media (max-width: 480px) {
	.vdb-nav { flex-direction: column-reverse; }
	.vdb-nav .vdb-btn { width: 100%; text-align: center; }
	.vdb-card { flex-wrap: wrap; }
	.vdb-card__price { width: 100%; text-align: right; }
}
