/* Nantucket Events — 7-step submission form */

.ne-submission {
	max-width: 640px;
}

.ne-stepper {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.ne-stepper li {
	font-size: 0.85rem;
	color: #888;
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
	background: #f2f2f2;
}

.ne-stepper li.is-active {
	background: #0a6b8a;
	color: #fff;
	font-weight: 600;
}

.ne-step h2 {
	margin-top: 0;
}

.ne-step p,
.ne-step .ne-field-group {
	margin-bottom: 1rem;
}

.ne-step label {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 0.25rem;
}

.ne-step input[type="text"],
.ne-step input[type="email"],
.ne-step input[type="date"],
.ne-step input[type="time"],
.ne-step input[type="url"],
.ne-step input[type="number"],
.ne-step textarea,
.ne-step select {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.ne-inline-check {
	display: inline-block;
	margin-right: 0.75rem;
}

.ne-conditional {
	border-left: 3px solid #eee;
	padding-left: 1rem;
	margin: 1rem 0;
}

.ne-callout {
	background: #eef6f8;
	border-radius: 6px;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
	margin: 1rem 0;
}

.ne-step-nav {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
}

.ne-step-nav button {
	padding: 0.6rem 1.2rem;
	border-radius: 4px;
	border: 1px solid #ccc;
	background: #fff;
	cursor: pointer;
}

.ne-step-nav .ne-next,
.ne-step-nav .ne-submit {
	background: #0a6b8a;
	color: #fff;
	border-color: #0a6b8a;
	margin-left: auto;
}

/* Category picker */
.ne-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
}

.ne-pill {
	background: #eef6f8;
	color: #0a6b8a;
	border-radius: 999px;
	padding: 0.25rem 0.6rem;
	font-size: 0.85rem;
}

.ne-pill-remove {
	color: #a11c1c;
	text-decoration: none;
	margin-left: 0.25rem;
}

.ne-cat-tree {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ne-cat-group {
	border: 1px solid #eee;
	border-radius: 6px;
	padding: 0.5rem;
}

.ne-cat-parent,
.ne-cat-child {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 999px;
	padding: 0.3rem 0.7rem;
	font-size: 0.85rem;
	margin: 0.2rem;
	cursor: pointer;
}

.ne-cat-parent.is-selected,
.ne-cat-child.is-selected {
	background: #0a6b8a;
	color: #fff;
	border-color: #0a6b8a;
}

.ne-cat-parent:disabled,
.ne-cat-child:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.ne-cat-children {
	margin-top: 0.4rem;
	padding-left: 1rem;
}

/* Repeaters */
.ne-repeater-row {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 0.5rem;
}

.ne-repeater-row input {
	flex: 1;
}

.ne-remove-row {
	background: none;
	border: none;
	color: #a11c1c;
	cursor: pointer;
	font-size: 1rem;
}

.ne-add-row {
	background: #fff;
	border: 1px dashed #999;
	border-radius: 4px;
	padding: 0.4rem 0.8rem;
	cursor: pointer;
	margin-bottom: 1rem;
}

/* Autocomplete */
.ne-autocomplete-results {
	border: 1px solid #eee;
	border-radius: 4px;
	margin-top: -0.5rem;
}

.ne-result {
	padding: 0.5rem;
	cursor: pointer;
	border-bottom: 1px solid #f2f2f2;
}

.ne-result:hover {
	background: #f7f7f7;
}

.ne-selected-card {
	background: #eef6f8;
	border-radius: 6px;
	padding: 0.6rem 0.8rem;
	margin-bottom: 1rem;
}

details {
	margin-bottom: 1rem;
}

details summary {
	cursor: pointer;
	color: #0a6b8a;
}

/* Image upload */
.ne-image-upload {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 1.5rem;
}

#ne-image-preview img {
	max-width: 200px;
	border-radius: 6px;
	margin-top: 0.5rem;
}

/* Review */
.ne-review-summary {
	background: #f9f9f9;
	border-radius: 6px;
	padding: 1rem;
	margin-bottom: 1.5rem;
}

.ne-review-row {
	padding: 0.3rem 0;
	border-bottom: 1px solid #eee;
	font-size: 0.9rem;
}
