@media (min-width: 80rem) {
	.t2-plaque.t2-plaque--selected {
		border-color: var(--color-transfer-teal, #4299a2) !important;
		background-color: var(--color-transfer-ice, #f0f8ff) !important;
		background-image: linear-gradient(
			var(--color-transfer-ice, #f0f8ff),
			var(--color-transfer-ice, #f0f8ff)
		);
		box-shadow: 0 8px 55px rgba(109, 109, 181, 0.17) !important;
	}

	.t2-plaque.t2-plaque--selected .t2-plaque__icon {
		background-color: #fff !important;
	}
}

.caresphere-form,
.caresphere-form *,
.caresphere-form *::before,
.caresphere-form *::after {
    box-sizing: border-box;
}

.caresphere-form {
    --caresphere-form-teal: var(--color-transfer-teal, #4299a2);
    --caresphere-form-navy: var(--color-transfer-navy, #181b31);
    --caresphere-form-body: var(--color-transfer-body, #1b1b1b);
    --caresphere-form-muted: var(--color-transfer-muted, #7a7a7a);
    --caresphere-form-border: var(--color-transfer-border, #cbd6e2);
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 24px;
    color: var(--caresphere-form-body);
    font-family: var(
        --font-transfer-body,
        "Rubik",
        ui-sans-serif,
        system-ui,
        sans-serif
    );
    font-weight: 400;
}

.caresphere-form__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.caresphere-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.caresphere-form__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.caresphere-form__field label {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    color: var(--caresphere-form-navy);
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
}

.caresphere-form__required {
    color: #f73b3b;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.caresphere-form__field input,
.caresphere-form__field select,
.caresphere-form__field textarea {
    width: 100%;
    min-width: 0;
    height: 38px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--caresphere-form-border);
    border-radius: 40px;
    outline: 0;
    background-color: #fff;
    box-shadow: none;
    color: var(--caresphere-form-body);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.caresphere-form__field select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23181B31' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 7px;
    cursor: pointer;
}

.caresphere-form__field input::placeholder,
.caresphere-form__field textarea::placeholder {
    color: var(--caresphere-form-muted);
    opacity: 1;
}

.caresphere-form__field input:focus,
.caresphere-form__field select:focus,
.caresphere-form__field textarea:focus {
    border-color: var(--caresphere-form-teal);
    box-shadow: 0 0 0 2px rgb(66 153 162 / 18%);
}

.caresphere-form__field[hidden] {
    display: none;
}

.caresphere-form__consent {
    width: 100%;
}

.caresphere-form__consent label {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.caresphere-form__consent input[type="checkbox"] {
    display: grid;
    width: 18px;
    height: 18px;
    place-content: center;
    margin: 0;
    padding: 0;
    appearance: none;
    border: 1px solid var(--caresphere-form-teal);
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.caresphere-form__consent input[type="checkbox"]::before {
    width: 9px;
    height: 5px;
    content: "";
    transform: translateY(-1px) rotate(-45deg) scale(0);
    transform-origin: center;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    transition: transform 120ms ease-in-out;
}

.caresphere-form__consent input[type="checkbox"]:checked {
    background-color: var(--caresphere-form-teal);
}

.caresphere-form__consent input[type="checkbox"]:checked::before {
    transform: translateY(-1px) rotate(-45deg) scale(1);
}

.caresphere-form__consent input[type="checkbox"]:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgb(66 153 162 / 22%);
}

.caresphere-form__consent-text {
    color: var(--caresphere-form-body);
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    line-height: 14px;
}

.caresphere-form__consent-text p {
    margin: 0;
}

.caresphere-form__consent-text a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 1px;
}

.caresphere-form__actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.caresphere-form-card [data-jotform-embed] > .caresphere-form {
    flex: 1 1 auto;
    min-height: 0;
}

.caresphere-form-card .caresphere-form__actions {
    margin-top: 0;
}

.caresphere-form__submit {
    display: inline-flex;
    width: 100%;
    min-width: 200px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 0;
    border-radius: 60px;
    background: var(--caresphere-form-teal);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    transition: box-shadow 160ms ease, transform 160ms ease,
        opacity 160ms ease;
}

.caresphere-form__submit:hover {
    box-shadow: 0 8px 20px rgb(24 27 49 / 18%);
    transform: translateY(-1px);
}

.caresphere-form__submit:focus-visible {
    outline: 3px solid rgb(66 153 162 / 28%);
    outline-offset: 3px;
}

.caresphere-form__submit:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.caresphere-form__response {
    width: 100%;
    color: var(--caresphere-form-navy);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.caresphere-form__response:empty {
    display: none;
}

.caresphere-form__phone {
    margin: 8px 0 0;
    color: var(--color-transfer-muted, #7a7a7a);
    font-family: var(
        --font-transfer-body,
        "Rubik",
        ui-sans-serif,
        system-ui,
        sans-serif
    );
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.caresphere-form__phone a {
    color: var(--color-transfer-body, #1b1b1b);
}

.caresphere-find-care-popup {
    width: min(358px, 100%);

    max-height: calc(100vh - 32px);
    box-sizing: border-box;
    font-family: var(
        --font-transfer-body,
        "Rubik",
        ui-sans-serif,
        system-ui,
        sans-serif
    );
    scrollbar-width: thin;
    scrollbar-color: rgb(66 153 162 / 45%) transparent;
}

.caresphere-find-care-popup__content,
.caresphere-find-care-popup__form {
    min-height: 0;
}

.caresphere-find-care-popup__form > .caresphere-form {
    flex: 1 1 auto;
    min-height: 0;
}

.caresphere-find-care-popup .caresphere-form__actions {
    margin-top: 0;
}

.caresphere-find-care-popup::-webkit-scrollbar {
    width: 6px;
}

.caresphere-find-care-popup::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(66 153 162 / 45%);
}

@media (max-width: 520px) {
    .caresphere-form__row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .caresphere-find-care-popup .caresphere-form__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .caresphere-form__field input,
    .caresphere-form__field select,
    .caresphere-form__field textarea,
    .caresphere-form__consent input[type="checkbox"],
    .caresphere-form__submit {
        transition: none;
    }
}
