/* Nantucket Events — registration + dashboard shared styles
   Colors and fonts inherit from the active theme.
   --ne-accent: resolves to Elementor's primary color when set, otherwise currentColor. */

.ne-registration {
	max-width: 540px;
	margin-inline: auto;
}

.ne-registration fieldset,
.ne-dashboard {
	max-width: 480px;
}

.ne-registration fieldset {
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 8px;
	padding: 1rem 1.25rem 1.25rem;
	margin-bottom: 1.25rem;
}

.ne-registration legend {
	font-weight: 600;
	padding: 0 0.5rem;
}

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

.ne-registration input[type="text"],
.ne-registration input[type="email"],
.ne-registration input[type="password"],
.ne-registration input[type="tel"],
.ne-registration input[type="file"] {
	width: 100%;
	padding: 0.5rem;
	margin-bottom: 1rem;
	border: 1px solid rgba(0,0,0,.18);
	border-radius: 4px;
	box-sizing: border-box;
	font-family: inherit;
}

#ne-square-card-container {
	min-height: 90px;
	border: 1px solid rgba(0,0,0,.18);
	border-radius: 4px;
	padding: 0.5rem;
	margin-bottom: 0.5rem;
}

.ne-form-errors {
	color: #a11c1c;
}

.ne-form-errors ul {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.ne-registration button[type="submit"] {
	background: var(--e-global-color-primary, #1b3a5a);
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-family: inherit;
	cursor: pointer;
}

.ne-registration button[type="submit"]:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Dashboard (legacy stub styles) */
.ne-dashboard__header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.ne-dashboard__logo img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 50%;
}

.ne-dashboard__account-type {
	display: inline-block;
	background: rgba(0,0,0,.06);
	font-size: 0.8rem;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	margin: 0;
}

.ne-dashboard__actions {
	margin-bottom: 1.5rem;
}

.ne-button {
	display: inline-block;
	background: var(--e-global-color-primary, #1b3a5a);
	color: #fff;
	padding: 0.6rem 1.2rem;
	border-radius: 4px;
	text-decoration: none;
	border: none;
	font-size: 1rem;
	font-family: inherit;
	cursor: pointer;
}

.ne-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.ne-dashboard__table {
	width: 100%;
	border-collapse: collapse;
}

.ne-dashboard__table th,
.ne-dashboard__table td {
	text-align: left;
	padding: 0.5rem;
	border-bottom: 1px solid rgba(0,0,0,.08);
}

.ne-status {
	font-size: 0.75rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: rgba(0,0,0,.06);
}

.ne-status--publish          { background: rgba(37,121,90,.12);  color: #25795a; }
.ne-status--pending          { background: rgba(138,97,0,.10);   color: #7a5500; }
.ne-status--ne_rejected      { background: rgba(161,28,28,.10);  color: #a11c1c; }
.ne-status--ne_payment_required { background: rgba(138,97,0,.10); color: #7a5500; }
.ne-status--ne_archived      { background: rgba(0,0,0,.06);      opacity: .6; }

/* Payment method / alerts */
.ne-payment-alert {
	background: rgba(138,97,0,.08);
	color: #7a5500;
	border-radius: 6px;
	padding: 0.75rem 1rem;
	margin-bottom: 1.5rem;
}

.ne-dashboard__payment-method {
	background: rgba(0,0,0,.03);
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	max-width: 480px;
}

#ne-update-card-container {
	min-height: 80px;
	border: 1px solid rgba(0,0,0,.15);
	border-radius: 4px;
	padding: 0.5rem;
	margin: 0.5rem 0;
}

#ne-update-card-status {
	font-size: 0.85rem;
	opacity: .65;
}
