.mdcn-wrapper {
	max-width: 660px;
	margin: 0 auto;
	font-family: inherit;
}

.mdcn-step {
	display: none;
}

.mdcn-step.mdcn-active {
	display: block;
}

.mdcn-heading {
	margin-bottom: 20px;
}

.mdcn-field {
	margin-bottom: 16px;
}

.mdcn-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.mdcn-field input[type="text"],
.mdcn-field input[type="email"],
.mdcn-field input[type="tel"],
.mdcn-field input[type="date"],
.mdcn-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
	box-sizing: border-box;
}

.req {
	color: #d63638;
}

.mdcn-consents {
	margin: 24px 0;
	padding: 16px;
	background: #f7f8fa;
	border-radius: 8px;
}

.mdcn-consents-title {
	font-weight: 600;
	margin-top: 0;
}

.mdcn-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 14px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.4;
}

.mdcn-checkbox input {
	margin-top: 3px;
	flex-shrink: 0;
}

.mdcn-btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	border: none;
}

.mdcn-btn-primary {
	background: #0b5fff;
	color: #fff;
}

.mdcn-btn-primary:disabled {
	background: #a9c2ef;
	cursor: not-allowed;
}

.mdcn-btn-secondary {
	background: #e5e7eb;
	color: #111;
}

.mdcn-nav-row {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

.mdcn-slots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
	margin-top: 16px;
	max-height: 360px;
	overflow-y: auto;
	padding-right: 4px;
}

.mdcn-slot-btn {
	padding: 10px 6px;
	border: 1px solid #0b5fff;
	background: #fff;
	color: #0b5fff;
	border-radius: 6px;
	cursor: pointer;
	font-size: 13px;
}

.mdcn-slot-btn:hover {
	background: #eef3ff;
}

.mdcn-slot-selected {
	background: #0b5fff !important;
	color: #fff !important;
}

.mdcn-hint {
	color: #666;
	font-size: 14px;
}

.mdcn-error {
	background: #fdecea;
	color: #a4262c;
	padding: 10px 14px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 14px;
}

.mdcn-loading {
	text-align: center;
	padding: 16px;
	font-style: italic;
	color: #666;
}

/* ---- Overrides to prevent theme from forcing uppercase / odd styling ---- */
.mdcn-wrapper,
.mdcn-wrapper * {
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* ---- Per-field inline validation ---- */
.mdcn-field-error {
	display: none;
	color: #a4262c;
	font-size: 13px;
	margin-top: 6px;
}

.mdcn-field-error.mdcn-show-error {
	display: block;
}

.mdcn-field input.mdcn-invalid,
.mdcn-field textarea.mdcn-invalid {
	border-color: #a4262c;
}

.mdcn-checkbox {
	margin-bottom: 4px;
}

.mdcn-consents .mdcn-field-error {
	margin: 0 0 14px 30px;
}

/* ---- Date field: make the picked date read clearly ---- */
.mdcn-field input[type="date"] {
	color: #16324f;
	font-weight: 600;
	background: #fff;
}

/* ---- Slot grid: premium background + clear selected state ---- */
.mdcn-slots-grid {
	background-image: url('https://www.mdcarenow.org/wp-content/uploads/2026/01/background-bright-big.webp');
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	padding: 16px;
}

.mdcn-slot-btn {
	padding: 12px 8px;
	border: 1px solid #16324f;
	background: rgba(255, 255, 255, 0.92);
	color: #16324f;
	border-radius: 8px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.mdcn-slot-btn:hover {
	background: #ffffff;
	transform: translateY(-1px);
}

.mdcn-slot-btn.mdcn-slot-selected {
	background: #16324f !important;
	border-color: #16324f !important;
	color: #ffffff !important;
}
.mdcn-help-text {
	display: block;
	color: #666;
	font-size: 12px;
	margin-top: 4px;
}

/* Some themes/plugins add a ::before pseudo-element with its own background
   on buttons, which sits on top of and hides our selected-state color.
   Force it to inherit the selected color too. */
.mdcn-slot-btn.mdcn-slot-selected:before {
	background-color: #16324f !important;
}