.form-message {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.35;
	color: #7e7e7e;
	text-align: center;
}

.modal .button,
.modal:has(input:placeholder-shown) .button {
	background: var(--blue) !important;
	color: #fff !important;
	cursor: pointer !important;
	pointer-events: auto !important;
}

.form-message[data-state="error"] {
	color: #db4c40;
}

.form-message[data-state="success"] {
	color: #1e9e62;
}

.modal .button:disabled {
	background: #f8f8f8 !important;
	color: #919191 !important;
	opacity: .75;
	cursor: wait !important;
	pointer-events: none !important;
}

.profile_page .info .gallery:has(.gallery-empty) {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.profile_page .info .gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	align-items: stretch;
}

.profile_page .info .gallery .take-photo {
	min-width: 0;
}

.profile_page .info .gallery-item {
	min-width: 0;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	overflow: hidden;
	background: #f3f3f3;
}

.profile_page .info .gallery-item img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.gallery-empty {
	grid-column: span 3;
	min-height: 160px;
	border: 1px dashed #d9d9d9;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	color: #7e7e7e;
	line-height: 1.4;
	background: #fbfbfb;
}

.generator-status {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.4;
	color: #7e7e7e;
}

.generator-status[data-state="error"] {
	color: #db4c40;
}

.generator-status[data-state="success"] {
	color: #1e9e62;
}
