.wpfb-scheduling-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1rem;
	margin-top: 0.25rem;
}

.wpfb-sublabel,
.wpfb-scheduling-sub-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wpfb-text-muted, #64748b);
}

.wpfb-scheduling-date-input,
.wpfb-scheduling-time-select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--wpfb-border, #cbd5e1);
	border-radius: var(--wpfb-radius, 8px);
	background: var(--wpfb-input-bg, #fff);
	color: var(--wpfb-input-text, #0f172a);
	font-size: 1rem;
	font-family: inherit;
}

.wpfb-scheduling-date-input {
	cursor: pointer;
}

.wpfb-scheduling-time-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
	cursor: pointer;
}

.wpfb-scheduling-time-select:disabled {
	background-color: #f8fafc;
	color: #94a3b8;
	cursor: not-allowed;
}

.wpfb-scheduling-summary {
	margin: 0.75rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: var(--wpfb-radius, 8px);
	background: var(--wpfb-accent-soft, #eff6ff);
	color: var(--wpfb-accent-text, #1e3a8a);
	font-size: 0.925rem;
	font-weight: 600;
}

.wpfb-scheduling-summary:empty {
	display: none;
}

.wpfb-field--scheduled .flatpickr-calendar {
	font-family: inherit;
}

@media (max-width: 640px) {
	.wpfb-scheduling-grid {
		grid-template-columns: 1fr;
	}
}
