/*
 * Venue claim.
 *
 * Values copied from the live venue single (single-mcr_venue.php inline CSS,
 * .venue-profile): card #fff on #f7f8fb, border #e5e7eb, radius 14px on panels
 * and 18px on the hero, muted text #4b5563, headings #111, the primary pill
 * #ff3b30 and the secondary pill #111, both at radius 999px, padding 12px 16px,
 * font-weight 900. Restated here rather than inherited because that CSS is
 * inline and scoped to .venue-profile, and the footer attach point sits
 * outside it.
 *
 * Every text element states its colour. Measured on the slot form rig, 8 Sep
 * 2026: the mcr content styles set strong to #fff, so a bold word inheriting
 * its colour rendered white on a near white card. That is not repeated here.
 */

.dotz-vc {
	--vc-bg: #f7f8fb;
	--vc-card: #fff;
	--vc-card2: #f9fafb;
	--vc-border: #e5e7eb;
	--vc-text: #111;
	--vc-muted: #4b5563;
	--vc-red: #ff3b30;
	--vc-dark: #111;
	max-width: 1160px;
	margin: 24px auto 0;
	padding: 0 20px;
	color: var(--vc-text);
	font-family: inherit;
}

.dotz-vc *,
.dotz-vc *::before,
.dotz-vc *::after {
	box-sizing: border-box;
}

.dotz-vc strong,
.dotz-vc b,
.dotz-vc em,
.dotz-vc span,
.dotz-vc li,
.dotz-vc label,
.dotz-vc legend {
	color: inherit;
}

/*
 * The card.
 *
 * Measured on the rig, 9 Sep 2026, shf shell, venue single at 375 and 1280:
 * the venue page ground is NOT the #f7f8fb the template's inline CSS asks for.
 * The shell paints main.CENTRE rgb(17,17,20), so every venue page is a dark
 * ground carrying white cards. A #111 pill dropped straight onto that ground
 * is invisible as a button: it reads as loose white text. That is the same
 * class of fault the slot form lane measured on 8 Sep, the other way up.
 *
 * So the block gets the card the page grammar already uses for a section under
 * the hero, .vp-content: white, 1px #e5e7eb, radius 16px. The button then sits
 * on white, where #111 is the theme's own secondary pill and reads correctly on
 * both grounds.
 */
.dotz-vc__wrap {
	margin: 0;
	background: var(--vc-card);
	border: 1px solid var(--vc-border);
	border-radius: 16px;
	padding: 20px;
}

.dotz-vc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--vc-dark);
	color: #fff;
	border-radius: 999px;
	padding: 12px 16px;
	font-weight: 900;
	font-size: .95rem;
	cursor: pointer;
	list-style: none;
	min-height: 46px;
	user-select: none;
}

.dotz-vc__btn::-webkit-details-marker {
	display: none;
}

.dotz-vc__btn::after {
	content: "+";
	font-weight: 900;
	font-size: 1.1rem;
	line-height: 1;
}

.dotz-vc__wrap[open] .dotz-vc__btn::after {
	content: "\2212";
}

.dotz-vc__btn:focus-visible {
	outline: 3px solid var(--vc-red);
	outline-offset: 2px;
}

/* The panel, inside the card. Same fill as the theme's .vp-panel. */
.dotz-vc__panel {
	background: var(--vc-card2);
	border: 1px solid var(--vc-border);
	border-radius: 14px;
	padding: 18px;
	margin-top: 14px;
}

.dotz-vc__title {
	font-size: 1.25rem;
	font-weight: 900;
	margin: 0 0 .35rem;
	color: var(--vc-text);
}

.dotz-vc__intro {
	color: var(--vc-muted);
	font-size: .9rem;
	line-height: 1.6;
	margin: 0 0 1.2rem;
}

.dotz-vc__set {
	border: 0;
	border-top: 1px solid var(--vc-border);
	padding: 1rem 0 0;
	margin: 0 0 1rem;
}

.dotz-vc__set legend {
	font-size: .78rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--vc-muted);
	padding: 0 .5rem 0 0;
}

.dotz-vc__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 1rem;
}

.dotz-vc__field {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	margin: 0 0 1rem;
}

.dotz-vc__field label {
	font-size: .8rem;
	font-weight: 800;
	color: var(--vc-text);
}

.dotz-vc__field input,
.dotz-vc__field textarea {
	background: #fff;
	border: 1px solid var(--vc-border);
	border-radius: 8px;
	padding: .65rem .9rem;
	color: var(--vc-text);
	font-size: .92rem;
	font-family: inherit;
	width: 100%;
}

.dotz-vc__field textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.6;
}

.dotz-vc__hint {
	font-size: .78rem;
	color: var(--vc-muted);
	line-height: 1.5;
}

.dotz-vc__hint--over {
	color: #9b1b25;
	font-weight: 700;
}

/* Opening hours, one row a day. */
.dotz-vc__hours {
	background: var(--vc-card2);
	border: 1px solid var(--vc-border);
	border-radius: 10px;
	padding: .9rem;
	margin: 0 0 1rem;
}

.dotz-vc__hours-title {
	display: block;
	font-size: .8rem;
	font-weight: 800;
	margin-bottom: .6rem;
	color: var(--vc-text);
}

.dotz-vc__day {
	display: grid;
	grid-template-columns: 5.5rem 1fr auto 1fr;
	align-items: center;
	gap: .4rem;
	padding: .3rem 0;
}

.dotz-vc__day-name {
	font-size: .82rem;
	font-weight: 700;
	color: var(--vc-text);
}

.dotz-vc__day input[type="time"] {
	width: 100%;
	border: 1px solid var(--vc-border);
	border-radius: 6px;
	padding: .4rem .5rem;
	font-family: inherit;
	font-size: .85rem;
	color: var(--vc-text);
	background: #fff;
}

.dotz-vc__to {
	font-size: .78rem;
	color: var(--vc-muted);
}

.dotz-vc__closed {
	grid-column: 2 / -1;
	display: flex;
	align-items: center;
	gap: .4rem;
	font-size: .8rem;
	color: var(--vc-muted);
}

.dotz-vc__consent {
	background: var(--vc-card2);
	border: 1px solid var(--vc-border);
	border-radius: 10px;
	padding: .85rem;
	margin: 0 0 1rem;
}

.dotz-vc__consent label {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
	font-size: .84rem;
	line-height: 1.55;
	color: var(--vc-text);
}

.dotz-vc__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--vc-red);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 12px 20px;
	min-height: 46px;
	font-size: .95rem;
	font-weight: 900;
	font-family: inherit;
	cursor: pointer;
	width: 100%;
}

.dotz-vc__small {
	font-size: .78rem;
	color: var(--vc-muted);
	line-height: 1.55;
	margin: .9rem 0 0;
}

.dotz-vc__notice {
	border: 1px solid var(--vc-border);
	border-radius: 10px;
	padding: .85rem 1rem;
	font-size: .88rem;
	line-height: 1.55;
	margin: 0 0 1rem;
}

.dotz-vc__notice--ok {
	background: #dff8f3;
	border-color: rgba(8, 108, 94, .25);
	color: #086c5e;
}

.dotz-vc__notice--err {
	background: #fdecee;
	border-color: rgba(230, 57, 70, .3);
	color: #9b1b25;
}

/* Honeypot: off screen, never display none, so bots still fill it. */
.dotz-vc__hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dotz-vc .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

@media (max-width: 780px) {
	.dotz-vc {
		padding: 0 10px;
		margin-top: 14px;
	}

	.dotz-vc__wrap {
		padding: 15px;
		border-radius: 14px;
	}

	.dotz-vc__panel {
		padding: 14px;
	}

	.dotz-vc__btn {
		width: 100%;
	}

	.dotz-vc__day {
		grid-template-columns: 4.6rem 1fr auto 1fr;
	}
}

@media (min-width: 781px) {
	.dotz-vc__row {
		grid-template-columns: 1fr 1fr;
	}
}
