/* Google Calendar Appointments — booking widget styles.
   Neutral defaults that inherit theme fonts/colors where possible. */

.gca-widget {
	max-width: 520px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.4;
}

.gca-widget .gca-label {
	display: block;
	font-weight: 600;
	margin: 16px 0 6px;
}

.gca-widget input[type="date"],
.gca-widget input[type="text"],
.gca-widget input[type="email"],
.gca-widget input[type="tel"],
.gca-widget textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #cbd2d9;
	border-radius: 8px;
	font: inherit;
	color: inherit;
	background: #fff;
}

.gca-widget input:focus,
.gca-widget textarea:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba( 37, 99, 235, 0.15 );
}

/* Hidden honeypot */
.gca-widget .gca-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0;
	width: 0;
	opacity: 0;
}

.gca-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.gca-slot {
	flex: 0 0 auto;
	padding: 8px 14px;
	border: 1px solid #cbd2d9;
	border-radius: 999px;
	background: #f7f9fc;
	color: inherit;
	font: inherit;
	cursor: pointer;
	transition: all 0.12s ease;
}

.gca-slot:hover {
	border-color: #2563eb;
	background: #eef4ff;
}

.gca-slot.is-selected {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
}

.gca-selected {
	font-weight: 600;
	margin-bottom: 4px;
}

.gca-submit {
	margin-top: 18px;
	width: 100%;
	padding: 12px 16px;
	border: none;
	border-radius: 8px;
	background: #2563eb;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.gca-submit:hover {
	background: #1d4ed8;
}

.gca-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.gca-back {
	display: block;
	margin: 10px auto 0;
	background: none;
	border: none;
	color: #2563eb;
	font: inherit;
	cursor: pointer;
}

.gca-loading,
.gca-empty {
	color: #6b7280;
	font-style: italic;
}

.gca-message {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 8px;
}

.gca-message.gca-success {
	background: #e7f6ec;
	border: 1px solid #1a7f37;
	color: #135327;
}

.gca-message.gca-error {
	background: #fdecec;
	border: 1px solid #b32d2e;
	color: #7a1c1c;
}

.gca-notice {
	padding: 14px 16px;
	border: 1px dashed #cbd2d9;
	border-radius: 8px;
	color: #6b7280;
}

/* Service type selector */
.gca-types {
	display: grid;
	gap: 10px;
	margin-top: 4px;
}

.gca-type {
	display: block;
	width: 100%;
	text-align: left;
	padding: 14px 16px;
	border: 1px solid #cbd2d9;
	border-radius: 10px;
	background: #fff;
	color: inherit;
	font: inherit;
	cursor: pointer;
	transition: all 0.12s ease;
}

.gca-type:hover {
	border-color: #2563eb;
	background: #f5f8ff;
}

.gca-type.is-selected {
	border-color: #2563eb;
	box-shadow: 0 0 0 2px rgba( 37, 99, 235, 0.25 );
	background: #f5f8ff;
}

.gca-type-name {
	display: block;
	font-weight: 600;
	font-size: 1.05em;
}

.gca-type-meta {
	display: block;
	color: #6b7280;
	font-size: 0.9em;
	margin-top: 2px;
}

.gca-type-desc {
	display: block;
	color: #4b5563;
	font-size: 0.92em;
	margin-top: 6px;
}

/* Manage view */
.gca-manage-actions {
	display: flex;
	gap: 10px;
	margin: 14px 0;
	flex-wrap: wrap;
}

.gca-resched-toggle,
.gca-cancel {
	padding: 10px 16px;
	border-radius: 8px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid #cbd2d9;
	background: #fff;
	color: inherit;
}

.gca-resched-toggle:hover {
	border-color: #2563eb;
	color: #1d4ed8;
}

.gca-cancel {
	border-color: #d99;
	color: #b32d2e;
}

.gca-cancel:hover {
	background: #fdecec;
}

.gca-reschedule {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #eef0f3;
}

/* Time zone bar */
.gca-tzbar {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #eef0f3;
}

.gca-tz-label {
	font-weight: 600;
	margin-right: 8px;
}

.gca-tz {
	padding: 6px 10px;
	border: 1px solid #cbd2d9;
	border-radius: 8px;
	font: inherit;
	max-width: 100%;
}

.gca-tz-note {
	margin-top: 6px;
	font-size: 0.88em;
	color: #6b7280;
}
