:root {
	--smilesafe-blue: #0068b9;
	--smilesafe-blue-dark: #004e8c;
	--smilesafe-brown: #250e00;
	--smilesafe-cream: #f6f3ef;
	--smilesafe-white: #fff;
}

body.smilesafe-public-access {
	background: var(--smilesafe-cream);
}

body.smilesafe-public-access .site-inner,
body.smilesafe-public-access .content-sidebar-wrap,
body.smilesafe-public-access main.content {
	float: none;
	max-width: none;
	padding: 0;
	width: 100%;
}

body.smilesafe-public-access .entry {
	background: transparent;
	margin: 0;
	padding: 0;
}

body.smilesafe-public-access .entry-header {
	display: none;
}

body.smilesafe-public-access .entry-content {
	margin: 0;
}

body.smilesafe-public-access--create-account .site-inner,
body.smilesafe-public-access--create-patient-account .site-inner,
body.smilesafe-public-access--create-dentist-account .site-inner {
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

body.smilesafe-public-access--create-account .site-inner::before,
body.smilesafe-public-access--create-patient-account .site-inner::before,
body.smilesafe-public-access--create-dentist-account .site-inner::before {
	aspect-ratio: 1705 / 2000;
	background: url("../images/smile-safe-fingerprint-v1.png") center / contain no-repeat;
	content: "";
	opacity: 0.075;
	pointer-events: none;
	position: absolute;
	right: -18%;
	top: 30px;
	transform: rotate(14deg);
	width: min(1080px, 145vw);
	z-index: 0;
}

body.smilesafe-public-access--create-account .content-sidebar-wrap,
body.smilesafe-public-access--create-patient-account .content-sidebar-wrap,
body.smilesafe-public-access--create-dentist-account .content-sidebar-wrap {
	position: relative;
	z-index: 1;
}

.smilesafe-entry,
.smilesafe-account-choice,
.smilesafe-registration-page {
	box-sizing: border-box;
	font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.smilesafe-entry *,
.smilesafe-account-choice *,
.smilesafe-registration-page * {
	box-sizing: border-box;
}

.smilesafe-visually-hidden {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.smilesafe-entry__eyebrow {
	font-size: 13px !important;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.3;
	margin: 0 0 14px !important;
	text-transform: uppercase;
}

.smilesafe-entry {
	background: var(--smilesafe-white);
	border: 5px solid var(--smilesafe-brown);
	border-radius: 32px;
	box-shadow: 0 24px 70px rgba(37, 14, 0, 0.18);
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
	margin: clamp(24px, 3.5vw, 48px) auto;
	max-width: 1380px;
	min-height: 500px;
	overflow: hidden;
	width: calc(100% - clamp(28px, 7vw, 110px));
}

.smilesafe-entry__story {
	align-items: center;
	background-image: linear-gradient(180deg, rgba(37, 14, 0, 0.08), rgba(37, 14, 0, 0.78)), var(--smilesafe-entry-poster);
	background-position: center;
	background-size: cover;
	color: var(--smilesafe-white);
	display: flex;
	isolation: isolate;
	min-height: 500px;
	overflow: hidden;
	padding: clamp(28px, 4vw, 56px);
	position: relative;
}

.smilesafe-entry__video,
.smilesafe-entry__overlay {
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.smilesafe-entry__video {
	object-fit: cover;
	z-index: -2;
}

.smilesafe-entry__overlay {
	background: linear-gradient(180deg, rgba(37, 14, 0, 0.08) 20%, rgba(37, 14, 0, 0.82) 100%);
	z-index: -1;
}

.smilesafe-entry__story-copy {
	max-width: 700px;
}

.smilesafe-brand-nowrap {
	white-space: nowrap;
}

.smilesafe-entry__story-copy h1 {
	color: var(--smilesafe-white);
	font-size: clamp(38px, 4.25vw, 64px) !important;
	letter-spacing: -0.045em;
	line-height: 0.96;
	margin: 0 0 20px !important;
}

.smilesafe-entry__story-copy > p:last-child {
	color: var(--smilesafe-white) !important;
	font-size: clamp(18px, 1.6vw, 23px) !important;
	line-height: 1.5;
	margin: 0 !important;
}

.smilesafe-entry__story-copy a,
.smilesafe-entry__panel a {
	color: currentColor;
	font-weight: 800;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.smilesafe-entry__panel {
	align-items: center;
	background: var(--smilesafe-blue);
	color: var(--smilesafe-white);
	display: flex;
	padding: clamp(30px, 3.5vw, 48px);
}

.smilesafe-entry__panel-inner {
	margin: auto;
	max-width: 450px;
	width: 100%;
}

.smilesafe-entry__panel h2 {
	color: var(--smilesafe-white);
	font-size: clamp(26px, 2.1vw, 32px) !important;
	letter-spacing: -0.035em;
	line-height: 1.1;
	margin: 0 0 22px !important;
}

.smilesafe-entry__forgot {
	color: var(--smilesafe-white) !important;
}

.smilesafe-entry #loginform p,
.smilesafe-entry #smilesafe-password-recovery p {
	margin: 0 0 14px;
}

.smilesafe-entry #loginform label,
.smilesafe-entry #smilesafe-password-recovery label {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.smilesafe-entry #loginform input[type="text"],
.smilesafe-entry #loginform input[type="password"],
.smilesafe-entry #smilesafe-password-recovery input[type="email"] {
	background: var(--smilesafe-white);
	border: 2px solid var(--smilesafe-brown);
	border-radius: 14px;
	color: var(--smilesafe-brown);
	font: inherit;
	font-size: 17px;
	min-height: 50px;
	padding: 10px 14px;
	width: 100%;
}

.smilesafe-entry #loginform input::placeholder,
.smilesafe-entry #smilesafe-password-recovery input::placeholder {
	color: #6a5a50;
	opacity: 1;
}

.smilesafe-entry #loginform .login-submit,
.smilesafe-entry #smilesafe-password-recovery .login-submit {
	margin: 18px 0 0;
}

.smilesafe-entry #loginform input[type="submit"],
.smilesafe-entry #smilesafe-password-recovery button[type="submit"],
.smilesafe-entry-button {
	background: var(--smilesafe-brown);
	border: 2px solid var(--smilesafe-brown);
	border-radius: 14px;
	color: var(--smilesafe-white);
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: 18px;
	font-weight: 800;
	min-height: 50px;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

.smilesafe-entry #loginform input[type="submit"]:hover,
.smilesafe-entry #loginform input[type="submit"]:focus-visible,
.smilesafe-entry #smilesafe-password-recovery button[type="submit"]:hover,
.smilesafe-entry #smilesafe-password-recovery button[type="submit"]:focus-visible,
.smilesafe-entry-button:hover,
.smilesafe-entry-button:focus-visible {
	background: var(--smilesafe-white);
	color: var(--smilesafe-brown);
}

.smilesafe-entry__forgot {
	font-size: 15px !important;
	margin: 12px 0 0 !important;
	text-align: center;
}

.smilesafe-entry-login-error {
	background: rgba(255, 255, 255, 0.96);
	border-left: 4px solid #b42318;
	border-radius: 10px;
	color: var(--smilesafe-brown) !important;
	font-size: 14px !important;
	line-height: 1.4;
	margin: 0 0 16px !important;
	padding: 10px 12px;
}

.smilesafe-entry-signed-in p {
	color: var(--smilesafe-white) !important;
	font-size: 18px !important;
}

.smilesafe-entry-recovery-intro,
.smilesafe-entry-recovery-result p {
	color: var(--smilesafe-white) !important;
	font-size: 15px !important;
	line-height: 1.5;
}

.smilesafe-entry-recovery-intro {
	margin: 0 0 18px !important;
}

.smilesafe-entry-recovery-result__title {
	font-size: 20px !important;
	font-weight: 800;
	margin: 0 0 8px !important;
}

.smilesafe-entry-recovery-result .smilesafe-entry-button {
	margin-top: 20px;
}

.smilesafe-account-choice {
	margin: 0 auto;
	max-width: 940px;
	padding: clamp(32px, 4vw, 56px) 0;
	width: calc(100% - 40px);
}

.smilesafe-registration-page {
	margin: 0 auto;
	max-width: 1220px;
	padding: clamp(32px, 4vw, 56px) clamp(22px, 5vw, 64px) clamp(42px, 6vw, 78px);
}

.smilesafe-account-progress {
	margin: 0 auto clamp(34px, 4vw, 46px);
	max-width: 620px;
	width: 100%;
}

.smilesafe-account-progress ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative;
}

.smilesafe-account-progress ol::before {
	background: #c5d5e3;
	border-radius: 999px;
	content: "";
	height: 4px;
	left: 25%;
	position: absolute;
	right: 25%;
	top: 19px;
}

.smilesafe-account-progress--step-2 ol::before {
	background: var(--smilesafe-blue);
}

.smilesafe-account-progress__item {
	list-style: none !important;
	margin: 0 !important;
	min-width: 0;
	position: relative;
	text-align: center;
	z-index: 1;
}

.smilesafe-account-progress__item::marker {
	content: "";
	font-size: 0;
}

.smilesafe-account-progress__item::before {
	content: none !important;
	display: none !important;
}

.smilesafe-account-progress__step,
.smilesafe-account-progress__link {
	align-items: center;
	color: #657684;
	display: flex;
	flex-direction: column;
	gap: 9px;
	text-decoration: none;
}

.smilesafe-account-progress__number {
	align-items: center;
	background: var(--smilesafe-white);
	border: 3px solid #9db3c4;
	border-radius: 999px;
	color: #657684;
	display: flex;
	font-size: 16px;
	font-weight: 800;
	height: 42px;
	justify-content: center;
	transition: background 180ms ease, color 180ms ease, transform 180ms ease;
	width: 42px;
}

.smilesafe-account-progress__label {
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
}

.smilesafe-account-progress__item.is-current .smilesafe-account-progress__number {
	background: var(--smilesafe-blue);
	border-color: var(--smilesafe-brown);
	box-shadow: 0 0 0 4px rgba(0, 104, 185, 0.14);
	color: var(--smilesafe-white);
}

.smilesafe-account-progress__item.is-current .smilesafe-account-progress__label {
	color: var(--smilesafe-brown);
	font-weight: 800;
}

.smilesafe-account-progress__item.is-complete .smilesafe-account-progress__number {
	border-color: var(--smilesafe-blue);
	color: var(--smilesafe-blue-dark);
}

.smilesafe-account-progress__item.is-complete .smilesafe-account-progress__label {
	color: var(--smilesafe-blue-dark);
	font-weight: 800;
}

.smilesafe-account-progress__link:hover .smilesafe-account-progress__number,
.smilesafe-account-progress__link:focus-visible .smilesafe-account-progress__number {
	background: var(--smilesafe-blue);
	color: var(--smilesafe-white);
	transform: translateY(-2px);
}

.smilesafe-account-progress__link:hover .smilesafe-account-progress__label {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.smilesafe-account-progress__link:focus-visible {
	border-radius: 10px;
	outline: 3px solid var(--smilesafe-blue);
	outline-offset: 4px;
}

.smilesafe-account-choice__header,
.smilesafe-registration-page__header {
	margin: 0 auto clamp(34px, 5vw, 58px);
	max-width: 780px;
	text-align: center;
}

.smilesafe-account-choice__header .smilesafe-entry__eyebrow,
.smilesafe-registration-page__header .smilesafe-entry__eyebrow {
	color: var(--smilesafe-blue) !important;
}

.smilesafe-account-choice__header h1,
.smilesafe-registration-page__header h1 {
	color: var(--smilesafe-brown);
	font-size: clamp(42px, 5vw, 68px) !important;
	letter-spacing: -0.045em;
	line-height: 1;
	margin: 0 0 20px !important;
}

.smilesafe-registration-page--dentist .smilesafe-registration-page__header h1,
.smilesafe-registration-page--patient .smilesafe-registration-page__header h1 {
	font-size: clamp(30px, 4vw, 54px) !important;
	margin-bottom: 0 !important;
	white-space: nowrap;
}

.smilesafe-account-choice__header > p:last-child,
.smilesafe-registration-page__header > p:last-child {
	color: #57483f !important;
	font-size: clamp(17px, 1.8vw, 21px) !important;
	line-height: 1.55;
	margin: 0 !important;
}

.smilesafe-account-choice__grid {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.smilesafe-account-choice__card {
	align-items: center;
	aspect-ratio: 9 / 5;
	background-image: var(--smilesafe-choice-image);
	background-position: center;
	background-size: cover;
	border: 2px solid var(--smilesafe-brown);
	border-radius: 28px;
	color: var(--smilesafe-white);
	display: flex;
	isolation: isolate;
	justify-content: center;
	overflow: hidden;
	padding: 30px;
	position: relative;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.smilesafe-account-choice__card:hover,
.smilesafe-account-choice__card:focus-visible {
	border-color: var(--smilesafe-blue);
	box-shadow: 0 20px 44px rgba(0, 78, 140, 0.3);
	color: var(--smilesafe-white);
	transform: translateY(-6px) scale(1.015);
}

.smilesafe-account-choice__card:focus-visible {
	outline: 4px solid var(--smilesafe-blue);
	outline-offset: 4px;
}

.smilesafe-account-choice__overlay {
	background: linear-gradient(135deg, rgba(0, 104, 185, 0.48), rgba(0, 78, 140, 0.9));
	inset: 0;
	position: absolute;
	transition: background 180ms ease;
	z-index: -1;
}

.smilesafe-account-choice__card:hover .smilesafe-account-choice__overlay,
.smilesafe-account-choice__card:focus-visible .smilesafe-account-choice__overlay {
	background: linear-gradient(135deg, rgba(0, 126, 225, 0.38), rgba(0, 78, 140, 0.76));
}

.smilesafe-account-choice__content {
	text-align: center;
	width: 100%;
}

.smilesafe-account-choice__content > strong {
	font-size: clamp(34px, 3.5vw, 46px);
	letter-spacing: -0.035em;
	line-height: 1;
}

.smilesafe-account-choice__signin {
	color: var(--smilesafe-brown) !important;
	font-size: 17px !important;
	margin: 32px 0 0 !important;
	text-align: center;
}

.smilesafe-account-choice__signin a,
.smilesafe-patient-start-signin a,
.smilesafe-registration-signin a {
	color: var(--smilesafe-blue-dark);
	font-weight: 800;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.smilesafe-registration-page {
	max-width: 1020px;
}

.smilesafe-registration-page__card {
	background: var(--smilesafe-white);
	border: 1px solid rgba(37, 14, 0, 0.16);
	border-radius: 28px;
	box-shadow: 0 18px 48px rgba(37, 14, 0, 0.1);
	padding: clamp(26px, 5vw, 58px);
}

.smilesafe-patient-registration-form,
.smilesafe-dentist-registration-form {
	margin: 0;
}

.smilesafe-patient-start-step {
	align-items: center;
	background: rgba(0, 104, 185, 0.09);
	border: 1px solid rgba(0, 104, 185, 0.32);
	border-radius: 999px;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	gap: 12px;
	justify-content: space-between;
	letter-spacing: 0.06em;
	margin-bottom: 20px;
	padding: 9px 13px;
	text-transform: uppercase;
}

.smilesafe-patient-start-step strong {
	color: var(--smilesafe-blue-dark);
}

.smilesafe-patient-registration-grid,
.smilesafe-registration-grid {
	display: grid;
	gap: 18px 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 24px;
}

.smilesafe-patient-start-section-heading {
	border-bottom: 1px solid rgba(37, 14, 0, 0.15);
	font-size: 21px !important;
	grid-column: 1 / -1;
	letter-spacing: -0.01em;
	margin: 5px 0 0 !important;
	padding-bottom: 10px;
}

.smilesafe-patient-start-section-heading--security {
	margin-top: 10px !important;
}

.smilesafe-patient-start-section-copy {
	color: #57483f !important;
	font-size: 14px !important;
	grid-column: 1 / -1;
	line-height: 1.5;
	margin: -8px 0 0 !important;
}

.smilesafe-patient-start-intro,
.smilesafe-patient-start-privacy,
.smilesafe-patient-start-field span,
.smilesafe-registration-intro,
.smilesafe-registration-privacy,
.smilesafe-registration-field span {
	color: var(--smilesafe-brown);
	line-height: 1.5;
}

.smilesafe-patient-start-intro,
.smilesafe-registration-intro {
	font-size: 17px !important;
	margin: 0 0 24px !important;
}

.smilesafe-patient-start-field,
.smilesafe-registration-field {
	margin: 0 !important;
}

.smilesafe-dentist-registration-form .smilesafe-registration-field,
.smilesafe-patient-registration-form .smilesafe-patient-start-field {
	display: flex;
	flex-direction: column;
}

.smilesafe-dentist-registration-form .smilesafe-registration-field > input,
.smilesafe-patient-registration-form .smilesafe-patient-start-field > input {
	margin-top: auto;
}

.smilesafe-patient-start-field label,
.smilesafe-registration-field label {
	display: block;
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 7px;
}

.smilesafe-patient-start-field label span,
.smilesafe-registration-field label span {
	display: inline;
	font-size: 13px;
	font-weight: 500;
}

.smilesafe-patient-start-field > span,
.smilesafe-registration-field > span {
	display: block;
	font-size: 14px;
	margin-bottom: 9px;
}

.smilesafe-patient-start-field input,
.smilesafe-patient-start-field textarea,
.smilesafe-registration-field input {
	background: var(--smilesafe-white);
	border: 2px solid #7b6b61;
	border-radius: 15px;
	color: var(--smilesafe-brown);
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	min-height: 54px;
	padding: 12px 15px;
	width: 100%;
}

.smilesafe-patient-start-field input:focus,
.smilesafe-patient-start-field textarea:focus,
.smilesafe-registration-field input:focus,
.smilesafe-entry #loginform input:focus {
	border-color: var(--smilesafe-blue);
	box-shadow: 0 0 0 4px rgba(0, 104, 185, 0.16);
	outline: none;
}

.smilesafe-patient-registration-form button,
.smilesafe-patient-registration-link,
.smilesafe-dentist-registration-form button,
.smilesafe-registration-link {
	background: var(--smilesafe-blue);
	border: 2px solid var(--smilesafe-brown);
	border-radius: 16px;
	color: var(--smilesafe-white);
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: 17px;
	font-weight: 800;
	margin-top: 4px;
	padding: 13px 22px;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

.smilesafe-patient-registration-form button:hover,
.smilesafe-patient-registration-form button:focus-visible,
.smilesafe-patient-registration-link:hover,
.smilesafe-patient-registration-link:focus-visible,
.smilesafe-dentist-registration-form button:hover,
.smilesafe-dentist-registration-form button:focus-visible,
.smilesafe-registration-link:hover,
.smilesafe-registration-link:focus-visible {
	background: var(--smilesafe-brown);
	color: var(--smilesafe-white);
}

.smilesafe-patient-start-privacy,
.smilesafe-registration-privacy {
	background: rgba(0, 104, 185, 0.07);
	border-left: 4px solid var(--smilesafe-blue);
	border-radius: 0 12px 12px 0;
	font-size: 13px !important;
	margin: 20px 0 0 !important;
	padding: 13px 15px;
}

.smilesafe-patient-start-actions {
	display: grid;
	gap: 13px;
}

.smilesafe-patient-start-actions .smilesafe-patient-start-signin {
	margin: 0 !important;
	text-align: center;
}

.smilesafe-patient-start-signin,
.smilesafe-registration-signin {
	color: var(--smilesafe-brown) !important;
	font-size: 15px !important;
	margin: 15px 0 0 !important;
	text-align: center;
}

.smilesafe-patient-start-status,
.smilesafe-registration-status {
	border: 2px solid var(--smilesafe-blue);
	border-radius: 16px;
	color: var(--smilesafe-brown) !important;
	font-size: 16px !important;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 22px !important;
	padding: 15px 18px;
}

.smilesafe-patient-start-status--success,
.smilesafe-registration-status--success {
	background: rgba(0, 104, 185, 0.1);
}

.smilesafe-patient-start-status--error,
.smilesafe-registration-status--error {
	background: var(--smilesafe-white);
	border-color: var(--smilesafe-brown);
}

.smilesafe-patient-start-trap,
.smilesafe-registration-trap {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 1px;
}

@media (max-width: 940px) {
	.smilesafe-entry {
		grid-template-columns: 1fr;
		max-width: 760px;
	}

	.smilesafe-entry__story {
		min-height: 380px;
	}

	.smilesafe-entry__panel-inner {
		max-width: 560px;
	}
}

@media (max-width: 760px) {
	.smilesafe-account-choice__grid,
	.smilesafe-patient-registration-grid,
	.smilesafe-registration-grid {
		grid-template-columns: 1fr;
	}

	.smilesafe-account-choice__card {
		margin: 0 auto;
		max-width: 450px;
	}

	.smilesafe-patient-start-step {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
	}
}

@media (max-width: 520px) {
	.smilesafe-entry {
		border-radius: 22px;
		margin: 20px auto;
		width: calc(100% - 28px);
	}

	.smilesafe-entry__story {
		min-height: 330px;
		padding: 30px 24px;
	}

	.smilesafe-entry__panel {
		padding: 38px 24px 42px;
	}

	.smilesafe-account-choice,
	.smilesafe-registration-page {
		padding-left: 16px;
		padding-right: 16px;
	}

	.smilesafe-account-choice__card,
	.smilesafe-registration-page__card {
		border-radius: 22px;
	}

	.smilesafe-registration-page__card {
		padding: 24px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.smilesafe-entry__video {
		display: none;
	}

	.smilesafe-account-choice__card {
		transition: none;
	}

	.smilesafe-account-choice__card:hover,
	.smilesafe-account-choice__card:focus-visible {
		transform: none;
	}

	.smilesafe-account-choice__overlay {
		transition: none;
	}

	.smilesafe-account-progress__number {
		transition: none;
	}
}

.smilesafe-registration-field--phone,
.smilesafe-patient-start-field--notes {
	grid-column: 1 / -1;
}

.smilesafe-patient-start-field textarea {
	min-height: 108px;
	resize: vertical;
}

.smilesafe-patient-record-id {
	border: 1px solid #9ebfe0;
	border-radius: 12px;
	margin-top: 20px;
	padding: 14px 16px;
}
.smilesafe-patient-record-id summary {
	cursor: pointer;
	font-weight: 700;
	line-height: 1.4;
}
.smilesafe-patient-record-id[open] summary {
	margin-bottom: 16px;
}
