.xy-photo-notification {
	margin-block: 24px;
	border-block: 1px solid var(--c-separator, #e8e8e8);
	color: var(--c-headings, #161616);
}

.xy-photo-notification-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding-block: 18px;
	list-style: none;
	cursor: pointer;
}

.xy-photo-notification-summary::-webkit-details-marker {
	display: none;
}

.xy-photo-notification-heading {
	display: flex;
	flex: 1 1 230px;
	align-items: center;
	gap: 12px;
}

.xy-photo-notification-mark {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	color: var(--c-contrast-600, #666);
}

.xy-photo-notification-title,
.xy-photo-notification-description {
	display: block;
}

.xy-photo-notification-title {
	font-family: var(--body-font, "Inter", sans-serif);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.02em;
}

.xy-photo-notification-description {
	margin-top: 3px;
	color: var(--c-excerpts, #474747);
	font-family: var(--body-font, "Inter", sans-serif);
	font-size: 13px;
	line-height: 1.5;
}

.xy-photo-notification-action {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: 34px;
	color: var(--c-main, #3c3fde);
	font-family: var(--ui-font, "Outfit", sans-serif);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

.xy-photo-notification-plus {
	width: 14px;
	height: 14px;
	transition: transform 150ms ease;
}

.xy-photo-notification[open] .xy-photo-notification-plus {
	transform: rotate(45deg);
}

.xy-photo-notification .xy-photo-notification-form {
	max-width: 480px;
	margin: 0;
}

.xy-photo-notification-label {
	display: block;
	margin-bottom: 6px;
	color: var(--c-contrast-700, #444);
	font-family: var(--ui-font, "Outfit", sans-serif);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
}

.xy-photo-notification-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.xy-photo-notification .xy-photo-notification-input {
	flex: 1 1 180px;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--c-contrast-200, #ccc);
	border-radius: var(--xy-radius-button, 6px);
	background-color: var(--c-contrast-0, #fff);
	color: var(--c-headings, #161616);
	font-family: var(--body-font, "Inter", sans-serif);
	font-size: 14px;
	line-height: 1.5;
}

.xy-photo-notification .xy-photo-notification-input::placeholder {
	color: var(--c-contrast-600, #666);
	opacity: 1;
}

.xy-photo-notification .xy-photo-notification-button {
	flex: 1 0 108px;
	box-sizing: border-box;
	min-height: 44px;
	padding: 10px 16px;
	border: 0;
	border-radius: var(--xy-radius-button, 6px);
	background-color: var(--c-main, #3c3fde);
	color: #fff;
	font-family: var(--ui-font, "Outfit", sans-serif);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	text-transform: none;
	cursor: pointer;
}

.xy-photo-notification .xy-photo-notification-button:hover {
	background-color: #3134c4;
}

.xy-photo-notification .xy-photo-notification-button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.xy-photo-notification :focus-visible {
	outline: 2px solid var(--c-main, #3c3fde);
	outline-offset: 3px;
}

.xy-photo-notification-message {
	margin: 8px 0 0;
	font-size: 12px;
}

.xy-photo-notification-message:empty {
	display: none;
}

.xy-photo-notification-message[data-status="error"] {
	color: #b42318;
}

.xy-photo-notification-message[data-status="success"] {
	color: #16794b;
}

.xy-photo-notification .xy-photo-notification-terms {
	max-width: 65ch;
	margin-block: 8px 20px;
	color: var(--c-contrast-600, #666);
	font-family: var(--body-font, "Inter", sans-serif);
	font-size: 11px;
	line-height: 1.7;
}

.xy-photo-notification-terms a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-s-dark .xy-photo-notification-action,
.s-dark .xy-photo-notification-action {
	color: #a3a5ff;
}

@media (prefers-reduced-motion: reduce) {
	.xy-photo-notification-plus {
		transition: none;
	}
}
