/* Buttons */
.nhm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--nhm-space-2);
	padding: 0.9rem 1.6rem;
	font-family: var(--nhm-font-display);
	font-size: var(--nhm-fs-sm);
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-align: center;
	border: 1.5px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	transition:
		background var(--nhm-transition),
		color var(--nhm-transition),
		border-color var(--nhm-transition),
		box-shadow var(--nhm-transition),
		transform var(--nhm-transition);
	text-decoration: none;
}

.nhm-btn--primary {
	background: var(--nhm-secondary);
	color: var(--nhm-primary);
	border-color: var(--nhm-secondary);
	box-shadow: 0 2px 0 rgba(7, 29, 61, 0.08);
}

.nhm-btn--primary:hover,
.nhm-btn--primary:focus-visible {
	background: var(--nhm-secondary-hover);
	color: var(--nhm-primary);
	border-color: var(--nhm-secondary-hover);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(247, 197, 45, 0.35);
}

.nhm-btn--outline {
	background: transparent;
	color: var(--nhm-white);
	border-color: rgba(255, 255, 255, 0.55);
}

.nhm-btn--outline:hover {
	background: var(--nhm-white);
	color: var(--nhm-primary);
	border-color: var(--nhm-white);
}

.nhm-btn--outline-dark {
	background: transparent;
	color: var(--nhm-primary);
	border-color: rgba(7, 29, 61, 0.2);
}

.nhm-btn--outline-dark:hover {
	background: var(--nhm-primary);
	color: var(--nhm-white);
	border-color: var(--nhm-primary);
}

.nhm-btn--ghost {
	background: var(--nhm-white);
	color: var(--nhm-primary);
	border-color: var(--nhm-border);
}

.nhm-btn--ghost:hover {
	border-color: var(--nhm-primary);
	background: var(--nhm-surface);
}

.nhm-btn--sm {
	padding: 0.6rem 1.1rem;
	font-size: var(--nhm-fs-xs);
}

.nhm-btn--block {
	width: 100%;
}

.nhm-btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--nhm-space-3);
}

/* Forms */
.nhm-field {
	margin-bottom: var(--nhm-space-4);
}

.nhm-field label {
	display: block;
	font-family: var(--nhm-font-display);
	font-size: var(--nhm-fs-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: var(--nhm-space-2);
	color: var(--nhm-text-muted);
}

.nhm-field input,
.nhm-field select,
.nhm-field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	font-family: inherit;
	font-size: var(--nhm-fs-sm);
	border: 1.5px solid var(--nhm-border);
	border-radius: var(--nhm-radius);
	background: var(--nhm-white);
	color: var(--nhm-text);
	transition: border-color var(--nhm-transition), box-shadow var(--nhm-transition);
	appearance: none;
	background-image: none;
}

.nhm-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23071d3d' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

.nhm-field input:focus,
.nhm-field select:focus,
.nhm-field textarea:focus {
	border-color: var(--nhm-primary);
	box-shadow: 0 0 0 3px rgba(247, 197, 45, 0.25);
	outline: none;
}

/* Badges */
.nhm-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.75rem;
	font-family: var(--nhm-font-display);
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: var(--nhm-radius-pill);
	background: var(--nhm-secondary);
	color: var(--nhm-primary);
}

.nhm-badge--available {
	background: #dcfce7;
	color: var(--nhm-success);
}

.nhm-badge--reserved {
	background: #fef3c7;
	color: var(--nhm-warning);
}

.nhm-badge--sold {
	background: #fee2e2;
	color: var(--nhm-danger);
}

/* Modal */
.nhm-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: var(--nhm-space-5);
}

.nhm-modal.is-open {
	display: flex;
}

.nhm-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 29, 61, 0.65);
	backdrop-filter: blur(4px);
}

.nhm-modal__dialog {
	position: relative;
	background: var(--nhm-white);
	border-radius: var(--nhm-radius-xl);
	max-width: 560px;
	width: 100%;
	max-height: 90vh;
	overflow: auto;
	padding: var(--nhm-space-8) var(--nhm-space-6);
	box-shadow: var(--nhm-shadow-lg);
	z-index: 1;
}

.nhm-modal__close {
	position: absolute;
	top: var(--nhm-space-4);
	right: var(--nhm-space-4);
	background: var(--nhm-surface);
	border: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	color: var(--nhm-text-muted);
	padding: 0;
	transition: background var(--nhm-transition), color var(--nhm-transition);
}

.nhm-modal__close:hover {
	background: var(--nhm-border);
	color: var(--nhm-text);
}

/* Empty state */
.nhm-empty {
	text-align: center;
	padding: var(--nhm-space-12) var(--nhm-space-5);
	color: var(--nhm-text-muted);
	background: var(--nhm-white);
	border: 1px dashed var(--nhm-border);
	border-radius: var(--nhm-radius-lg);
}
