/* Contact page — layout, divider, captcha (Tailwind arbitrary utilities not in global bundle) */

.contact-page .contact-panel {
	display: flex;
	flex-direction: column;
	border-radius: 5px;
	overflow: hidden;
	background: #241c3d;
	border: 0.5px solid #3a2d63;
	min-height: 32rem;
	max-height: 44rem;
	height: min(88vh, 44rem);
}

.contact-page .contact-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 0;
}

@media (min-width: 768px) {
	.contact-page .contact-layout {
		flex-direction: row;
		align-items: stretch;
	}
}

.contact-page .contact-col-visual {
	display: none;
	flex: 0 0 auto;
	min-width: 0;
	background: linear-gradient(180deg, rgba(38, 25, 74, 0.55) 0%, rgba(36, 28, 61, 0.2) 100%);
}

@media (min-width: 768px) {
	.contact-page .contact-col-visual {
		display: flex;
		flex: 0 0 36%;
		max-width: 36%;
	}
}

.contact-page .contact-col-visual-inner {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	min-height: 0;
}

@media (min-width: 768px) {
	.contact-page .contact-col-visual-inner {
		padding: 1.5rem;
	}
}

.contact-page .contact-col-visual-head {
	flex-shrink: 0;
}

.contact-page .contact-col-visual-kicker {
	font-size: 0.875rem;
	color: var(--theme9, rgba(171, 182, 194, 1));
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.25rem;
}

.contact-page .contact-col-visual-title {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
}

.contact-page .contact-col-visual-desc {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	color: var(--theme9, rgba(171, 182, 194, 1));
	line-height: 1.5;
	max-width: 18rem;
}

.contact-page .contact-col-visual-art {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 1rem 0;
}

.contact-page .contact-col-visual-art img {
	width: min(100%, 10rem);
	max-height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}

.contact-page .contact-col-visual-foot {
	flex-shrink: 0;
	margin-top: auto;
	font-size: 0.875rem;
	color: var(--theme9, rgba(171, 182, 194, 1));
	line-height: 1.5;
}

.contact-page .contact-col-visual-foot-title {
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: 0.25rem;
}

.contact-page .contact-divider {
	display: none;
	flex-shrink: 0;
	align-self: stretch;
	width: 2px;
	margin: 0 0.5rem 0 0.75rem;
	object-fit: contain;
}

@media (min-width: 768px) {
	.contact-page .contact-divider {
		display: block;
	}
}

.contact-page .contact-col-form {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	padding: 1.25rem 1.25rem 1.75rem;
	overflow-x: hidden;
	overflow-y: auto;
}

@media (min-width: 768px) {
	.contact-page .contact-col-form {
		flex: 1 1 0;
		width: auto;
		max-width: none;
		min-width: 0;
		padding: 1.5rem 1.5rem 2rem;
	}
}

.contact-page .contact-form-head {
	margin-bottom: 1.25rem;
}

.contact-page .contact-form-head-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.contact-page .contact-form-head-main {
	flex: 1 1 auto;
	min-width: 0;
}

.contact-page .contact-form-head-title {
	font-size: 1rem;
	font-weight: 600;
}

.contact-page .contact-form-head-desc {
	font-size: 0.875rem;
	color: var(--theme9, rgba(171, 182, 194, 1));
	margin-top: 0.25rem;
	line-height: 1.45;
}

.contact-page .contact-form {
	font-size: 0.875rem;
}

.contact-page .contact-field {
	margin-bottom: 0.875rem;
}

.contact-page .contact-field-label {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
}

.contact-page .contact-field-label .req {
	color: #ce130d;
}

.contact-page .contact-field textarea {
	min-height: 5rem;
	resize: vertical;
}

.contact-page .contact-char-count {
	margin-top: 0.25rem;
	font-size: 0.6875rem;
	color: var(--theme9, rgba(171, 182, 194, 1));
}

.contact-page .contact-attach-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.contact-page .contact-attach-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.25rem;
	padding: 0 1rem;
	border-radius: 999px;
	border: 1px solid var(--theme13, #5b35d5);
	background: #5b35d5;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
}

.contact-page .contact-attach-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.contact-page .contact-upload-progress {
	font-size: 0.875rem;
	color: var(--theme9, rgba(171, 182, 194, 1));
}

.contact-page .contact-upload-progress.is-hidden {
	display: none;
}

.contact-page .contact-upload-previews {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.contact-page .contact-upload-previews.is-hidden {
	display: none;
}

.contact-page .upload-preview-sample {
	position: relative;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 0.5rem;
	overflow: hidden;
	border: 1px solid #3a2d63;
}

.contact-page .upload-preview-sample img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.contact-page .upload-preview-sample .upload-remove {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 1.25rem;
	height: 1.25rem;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 0.875rem;
	line-height: 1;
	cursor: pointer;
}

.contact-page .contact-tips-wrap {
	position: relative;
	flex-shrink: 0;
	margin-top: 0.125rem;
}

.contact-page .contact-tips-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--theme9, rgba(171, 182, 194, 1));
	font-size: 0.75rem;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}

.contact-page .contact-tips-toggle:hover {
	color: #fff;
}

.contact-page .contact-tips-q {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.125rem;
	height: 1.125rem;
	border-radius: 999px;
	border: 1px solid rgba(177, 152, 248, 0.45);
	color: #b198f8;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
}

.contact-page .contact-tips {
	position: absolute;
	top: calc(100% + 0.375rem);
	right: 0;
	z-index: 20;
	width: min(16rem, calc(100vw - 2rem));
	margin: 0;
	padding: 0.5rem 0.625rem;
	border-radius: 0.75rem;
	background: #1f1835;
	border: 1px solid rgba(177, 152, 248, 0.35);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	color: var(--theme9, rgba(171, 182, 194, 1));
	font-size: 0.75rem;
	line-height: 1.45;
}

.contact-page .contact-tips.is-collapsed {
	display: none;
}

.contact-page .contact-tips ul {
	margin: 0;
	padding-left: 1rem;
}

.contact-page .contact-tips li + li {
	margin-top: 0.2rem;
}

.contact-page .contact-captcha-section {
	margin-top: 0.125rem;
	margin-bottom: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-page .contact-captcha-section .captcha-switcher,
.contact-page .contact-captcha-section .contact-captcha-switcher {
	display: flex;
	flex-direction: column;
	align-items: flex-start !important;
	gap: 0.625rem;
	width: 100%;
	max-width: none;
	margin: 0 !important;
}

.contact-page .contact-captcha-section .captcha-provider {
	display: block;
	width: auto;
	max-width: 100%;
	align-self: flex-start;
	min-height: 4.25rem;
}

.contact-page .contact-captcha-section [data-captcha-widget] {
	display: flex !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
	margin-top: 0 !important;
	margin-left: 0 !important;
	margin-right: auto !important;
	width: auto !important;
	max-width: 100%;
}

.contact-page .contact-captcha-section .captcha-type-select {
	width: auto;
	min-width: 14rem;
	max-width: 14rem;
	height: 2rem;
	font-size: 0.8125rem;
	align-self: flex-start;
}

.contact-page .contact-form-actions {
	margin-top: 0.25rem;
	padding-bottom: 0.75rem;
}

.contact-page .contact-submit-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 11rem;
	height: 2.5rem;
	padding: 0 1.5rem !important;
	border: none;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #fff !important;
	cursor: pointer;
}

.contact-page .contact-submit-btn:disabled {
	opacity: 0.75;
	cursor: not-allowed;
}

.contact-page .contact-submit-btn .contact-submit-label {
	color: #fff !important;
}

.contact-page .contact-submit-btn .contact-submit-loading {
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 0.75rem;
	color: #fff;
	white-space: nowrap;
}

.contact-page .contact-submit-btn.is-loading .contact-submit-label {
	visibility: hidden;
}

.contact-page .contact-submit-btn.is-loading .contact-submit-loading {
	display: block;
}

@media (max-width: 767px) {
	.contact-page .contact-panel {
		height: auto;
		max-height: none;
		min-height: 0;
	}
}
