/* Contact form */

.nscf-contact-form {
	background: var(--color-white, #ffffff);
	border: 1px solid var(--color-border, #e5e7eb);
	border-radius: var(--radius-lg, 20px);
	padding: 40px;
	box-shadow: var(--shadow-md, 0 4px 20px rgba(0, 0, 0, 0.08));
}

.nscf-contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.nscf-contact-form .form-group {
	margin-bottom: 20px;
}

.nscf-contact-form .form-group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-dark, #1a1a2e);
	margin-bottom: 8px;
}

.nscf-contact-form .form-group input,
.nscf-contact-form .form-group select,
.nscf-contact-form .form-group textarea {
	width: 100%;
	padding: 14px 16px;
	font-family: var(--font-family, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
	font-size: 0.9375rem;
	border: 1px solid var(--color-border, #e5e7eb);
	border-radius: var(--radius, 12px);
	background: var(--color-bg, #f8fafa);
	color: var(--color-text, #333340);
	transition: all var(--transition, 0.3s ease);
}

.nscf-contact-form .form-group input:focus,
.nscf-contact-form .form-group select:focus,
.nscf-contact-form .form-group textarea:focus {
	outline: none;
	border-color: var(--color-primary, #4ecdc4);
	background: var(--color-white, #ffffff);
	box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.nscf-contact-form .form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.nscf-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 16px 36px;
	font-family: var(--font-family, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
	font-size: 1rem;
	font-weight: 600;
	border-radius: 50px;
	border: 2px solid var(--color-primary, #4ecdc4);
	background: var(--color-primary, #4ecdc4);
	color: var(--color-dark, #1a1a2e);
	cursor: pointer;
	transition: all var(--transition, 0.3s ease);
	text-decoration: none;
	white-space: nowrap;
}

.nscf-submit:hover {
	background: var(--color-primary-dark, #3ab8b0);
	border-color: var(--color-primary-dark, #3ab8b0);
	color: var(--color-dark, #1a1a2e);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.nscf-form-notice {
	padding: 16px 24px;
	border-radius: var(--radius, 12px);
	margin-bottom: 32px;
	font-weight: 500;
	text-align: center;
}

.nscf-form-notice--success {
	background: #d1fae5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.nscf-form-notice--error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* Custom select dropdown */

.nscf-contact-form .custom-select {
	position: relative;
}

.nscf-contact-form .custom-select-native {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.nscf-contact-form .custom-select-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	font-family: var(--font-family, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
	border: 1px solid var(--color-border, #e5e7eb);
	border-radius: var(--radius, 12px);
	background: var(--color-bg, #f8fafa);
	color: var(--color-text, #333340);
	cursor: pointer;
	transition: all var(--transition, 0.3s ease);
	text-align: left;
}

.nscf-contact-form .custom-select-trigger:hover {
	border-color: var(--color-primary, #4ecdc4);
	background: var(--color-white, #ffffff);
}

.nscf-contact-form .custom-select.open .custom-select-trigger,
.nscf-contact-form .custom-select-trigger:focus-visible {
	outline: none;
	border-color: var(--color-primary, #4ecdc4);
	background: var(--color-white, #ffffff);
	box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.nscf-contact-form .custom-select-value {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nscf-contact-form .custom-select-value.is-placeholder {
	color: var(--color-text-light, #6b6b7b);
	font-weight: 400;
}

.nscf-contact-form .custom-select-arrow {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--color-text-light, #6b6b7b);
	transition: transform var(--transition, 0.3s ease);
}

.nscf-contact-form .custom-select.open .custom-select-arrow {
	transform: rotate(180deg);
	color: var(--color-primary-dark, #3ab8b0);
}

.nscf-contact-form .custom-select-options {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 30;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--color-white, #ffffff);
	border: 1px solid var(--color-border, #e5e7eb);
	border-radius: var(--radius, 12px);
	box-shadow: var(--shadow-lg, 0 10px 40px rgba(0, 0, 0, 0.12));
	max-height: 260px;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition:
		opacity var(--transition, 0.3s ease),
		transform var(--transition, 0.3s ease),
		visibility var(--transition, 0.3s ease);
}

.nscf-contact-form .custom-select.open .custom-select-options {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nscf-contact-form .custom-select-option {
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-text, #333340);
	cursor: pointer;
	transition:
		background var(--transition, 0.3s ease),
		color var(--transition, 0.3s ease);
}

.nscf-contact-form .custom-select-option:hover,
.nscf-contact-form .custom-select-option.is-focused {
	background: var(--color-primary-light, #e8faf9);
	color: var(--color-primary-dark, #3ab8b0);
}

.nscf-contact-form .custom-select-option.is-selected {
	background: var(--color-primary, #4ecdc4);
	color: var(--color-dark, #1a1a2e);
	font-weight: 600;
}

.nscf-contact-form .custom-select-option.is-selected:hover,
.nscf-contact-form .custom-select-option.is-selected.is-focused {
	background: var(--color-primary-dark, #3ab8b0);
	color: var(--color-white, #ffffff);
}

.nscf-contact-form .custom-select-option.is-placeholder {
	color: var(--color-text-light, #6b6b7b);
	font-weight: 400;
}

.nscf-contact-form .custom-select-option.is-placeholder.is-selected {
	background: transparent;
	color: var(--color-text-light, #6b6b7b);
	font-weight: 400;
}

@media (max-width: 768px) {
	.nscf-contact-form {
		width: 100%;
	}

	.nscf-contact-form .form-row {
		grid-template-columns: 1fr;
	}
}
