/* 采购公告报名表单样式 */
.nyocor-proc-form-wrap {
	--u: calc(100vw / 1920); /* 弹窗内外通用：无 modal 父级时自备单位 */
	max-width: max(340px, calc(720 * var(--u)));
	margin: max(16px, calc(24 * var(--u))) 0;
}
.nyocor-proc-form .nyocor-proc-field {
	display: flex;
	flex-direction: column;
	margin-bottom: max(10px, calc(14 * var(--u)));
}
.nyocor-proc-form .label {
	font-weight: 600;
	margin-bottom: max(3px, calc(4 * var(--u)));
	font-size: max(12px, calc(14 * var(--u)));
}
.nyocor-proc-form .label em {
	color: #dc2626;
	font-style: normal;
}
.nyocor-proc-form .label small {
	font-weight: 400;
	color: #94a3b8;
	font-size: max(10px, calc(12 * var(--u)));
}
.nyocor-proc-form input[type="text"],
.nyocor-proc-form input[type="email"],
.nyocor-proc-form textarea,
.nyocor-proc-form input[type="file"] {
	padding: max(7px, calc(8 * var(--u))) max(8px, calc(10 * var(--u)));
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	font-size: max(12px, calc(14 * var(--u)));
	background: #fff;
}
.nyocor-proc-form .has-error input,
.nyocor-proc-form .has-error textarea {
	border-color: #dc2626;
}
.nyocor-proc-form .err {
	color: #dc2626;
	font-size: max(10px, calc(12 * var(--u)));
	margin-top: max(3px, calc(4 * var(--u)));
}
.nyocor-proc-grid2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: max(10px, calc(14 * var(--u)));
}
.nyocor-proc-actions {
	margin-top: 6px;
}
.nyocor-proc-submit {
	background: #0f766e;
	color: #fff;
	border: 0;
	padding: max(8px, calc(10 * var(--u))) max(18px, calc(24 * var(--u)));
	border-radius: 4px;
	font-size: max(13px, calc(15 * var(--u)));
	cursor: pointer;
}
.nyocor-proc-submit:hover {
	background: #0d655e;
}
.nyocor-proc-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
}
.nyocor-proc-notice {
	padding: 14px 18px;
	border-radius: 6px;
	margin: 20px 0;
}
.nyocor-proc-notice h3 {
	margin: 0 0 6px;
}
.nyocor-proc-notice--success {
	background: #ecfdf5;
	border: 1px solid #10b981;
	color: #065f46;
}
.nyocor-proc-notice--error {
	background: #fef2f2;
	border: 1px solid #ef4444;
	color: #991b1b;
}
.nyocor-proc-notice .muted {
	color: #047857;
	font-size: 13px;
	margin: 4px 0 0;
}
.nyocor-proc-closed {
	padding: 18px;
	background: #f1f5f9;
	border-radius: 6px;
	color: #475569;
	text-align: center;
	margin: 20px 0;
}

/* 报名状态显示样式 */
.nyocor-proc-registration-status,
.procurement-card__registration-status {
	padding: 10px 20px;
	background: #ecfdf5;
	border: 1px solid #10b981;
	border-radius: 4px;
	color: #065f46;
	text-align: center;
	font-weight: 500;
	cursor: default;
}

@media ( max-width: 640px ) {
	.nyocor-proc-grid2 {
		grid-template-columns: 1fr;
	}

	/* 输入框高度统一（部分机型 email/file 原生渲染高度与 text 不一致） */
	.nyocor-proc-form input[type="text"],
	.nyocor-proc-form input[type="email"],
	.nyocor-proc-form input[type="tel"],
	.nyocor-proc-form input[type="password"],
	.nyocor-proc-form textarea {
		min-height: 40px;
		appearance: none;
		-webkit-appearance: none;
	}
	.nyocor-proc-form input[type="file"] { min-height: 40px; padding: 8px 10px; }
}

/* 文件列表显示样式 */
.file-list-display {
	margin-top: 8px;
}
.file-list-info {
	font-size: 13px;
	color: #475569;
	margin-bottom: 6px;
	font-weight: 500;
}
.file-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.file-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	margin-bottom: 4px;
	font-size: 13px;
}
.file-item:last-child {
	margin-bottom: 0;
}
.file-name {
	color: #334155;
	font-weight: 500;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-right: 8px;
}
.file-size {
	color: #94a3b8;
	font-size: 12px;
	margin-right: 8px;
}

/* 单项 × 删除按钮（2026-09 多选累加）：淡灰圆钮，悬停转红 */
.file-item__remove {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #94a3b8;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.file-item__remove:hover {
	background: #fee2e2;
	color: #dc2626;
}

/* 提交中：置灰 + 行内转圈 + 文案弱化，明确告知已提交处理中
   （转圈用行内 ::after 跟在「提交中…」文字后，比遮罩式更直观） */
.nyocor-proc-submit.nyocor-proc-submitting,
.nyocor-proc-btn.nyocor-proc-submitting {
	background: #8ba39e !important;
	color: rgba(255, 255, 255, 0.92) !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 9px !important;
}

/* 行内转圈：13px 白色圆环 */
.nyocor-proc-submit.nyocor-proc-submitting::after,
.nyocor-proc-btn.nyocor-proc-submitting::after {
	content: '';
	width: 13px;
	height: 13px;
	flex: none;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: nyocorProcSpin 0.8s linear infinite;
}


/* 转圈动画（与 modal.css nyocorProcSpin 同款副本：本文件可能独立于 modal.css 加载） */
@keyframes nyocorProcSpin {
	to {
		transform: rotate(360deg);
	}
}
