/* ICP join-us form — ตาม mockup */
.icpjf { --jf-red: #b3151b; --jf-border: #dcdcdc; --jf-bg: #f5f5f5; --jf-text: #1f1f1f; --jf-muted: #8a8a8a; --jf-radius: 8px; font-family: inherit; color: var(--jf-text); max-width: 1100px; }
.icpjf *, .icpjf *::before, .icpjf *::after { box-sizing: border-box; }
.icpjf__row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 22px; }
.icpjf__row--2 { grid-template-columns: 1fr 1fr; }
.icpjf__field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.icpjf__req { color: #e00; }
.icpjf input[type=text], .icpjf input[type=tel], .icpjf input[type=email], .icpjf textarea, .icpjf select {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--jf-border); border-radius: var(--jf-radius); background: var(--jf-bg);
	font: inherit; font-size: 15px; color: var(--jf-text); outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.icpjf textarea { min-height: 200px; resize: vertical; }
.icpjf input::placeholder, .icpjf textarea::placeholder { color: var(--jf-muted); }
.icpjf input:focus, .icpjf textarea:focus, .icpjf select:focus { border-color: var(--jf-red); background: #fff; box-shadow: 0 0 0 3px rgba(179,21,27,.12); }
.icpjf .has-error input, .icpjf .has-error textarea, .icpjf .has-error select, .icpjf .has-error .icpjf__drop { border-color: #e00; }
.icpjf__err { display: block; min-height: 0; color: #d00; font-size: 13px; margin-top: 6px; }
.icpjf__err:empty { display: none; }
.icpjf__hint { margin: 6px 0 0; font-size: 12px; color: var(--jf-muted); }

/* dropzone */
.icpjf__drop {
	position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 100px; padding: 20px;
	border: 1px solid var(--jf-border); border-radius: var(--jf-radius); background: var(--jf-bg); color: #555; font-size: 17px; cursor: pointer;
	transition: border-color .15s, background .15s;
}
.icpjf__drop:hover, .icpjf__drop:focus-visible, .icpjf__drop.is-drag { border-color: var(--jf-red); background: #fff; outline: none; }
.icpjf__drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.icpjf__drop-idle { display: inline-flex; align-items: center; gap: 8px; }
.icpjf__drop.has-file .icpjf__drop-idle { display: none; }
.icpjf__drop-file { font-weight: 600; color: var(--jf-red); word-break: break-all; }
.icpjf__drop-clear { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #e6e6e6; color: #333; font-size: 18px; line-height: 1; cursor: pointer; }
.icpjf__drop-clear:hover { background: #d4d4d4; }

/* honeypot */
.icpjf__hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* button */
.icpjf__actions { margin-top: 8px; }
.icpjf__btn {
	display: inline-block; min-width: 140px; padding: 12px 24px; border: 0; border-radius: 8px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 700; color: #fff;
	background: linear-gradient(180deg, #d0252b 0%, #a3121a 100%); box-shadow: 0 3px 8px rgba(163,18,26,.35); transition: filter .15s, transform .15s;
}
.icpjf__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.icpjf__btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* notice */
.icpjf__notice { margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: 15px; }
.icpjf__notice.is-ok { background: #e8f6ea; color: #1a6b2a; border: 1px solid #bfe3c6; }
.icpjf__notice.is-error { background: #fdeaea; color: #a3121a; border: 1px solid #f3c3c5; }
.icpjf.is-done .icpjf__row, .icpjf.is-done .icpjf__actions { display: none; }

@media (max-width: 640px) {
	.icpjf__row--2 { grid-template-columns: 1fr; }
	.icpjf textarea { min-height: 150px; }
	.icpjf__btn { width: 100%; }
}
