/* Typography (type scale, font families, utilities) */
@import 'typography.css';

:root {
	color-scheme: dark;
	accent-color: var(--accent);
	--bg: #0f0f0f;
	--surface: #1a1a1a;
	--surface-elevated: #242424;
	--border: #333333;
	--border-hover: #444444;
	--text-primary: #f5f5f5;
	--text-secondary: #a0a0a0;
	--text-muted: #666666;
	--accent: #00d4aa;
	--accent-hover: #00e6b8;
	--accent-secondary: #ff6b35;
	--success: #22c55e;
	--warning: #f59e0b;
	--danger: #ef4444;
	--over-budget: #ef4444;
	--under-budget: #22c55e;
	--near-target: #f59e0b;
	--radius-sm: 4px;
	--radius: 6px;
	--radius-lg: 8px;
	--radius-xl: 12px;
	--shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
	--transition: all 0.2s ease;

	/* Modular spacing scale */
	--space-1: 0.25em;
	--space-2: 0.5em;
	--space-3: 0.75em;
	--space-4: 1em;
	--space-5: 1.125em;
	--space-6: 1.5em;
	--space-7: 1.75em;
	--space-8: 2em;
	--space-9: 2.5em;
	--space-10: 3em;
	--space-11: 4em;
	--space-12: 4.5em;
}


*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--text-primary);
	min-height: 100vh;
}

strong {
	font-weight: 600;
}

#app {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.flex-duo {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
}

.grid {
	display: grid;
	gap: 1em;
	grid-template-columns: repeat(2, 1fr);
	width: 100%;
}

/* Header */
.header {
	font-size: var(--text-base);
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	padding: var(--space-6) var(--space-7);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-content,
.section-header,
.section-header-inline,
.modal-header,
.rate-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-content {
	flex-wrap: wrap;
	gap: 16px;
}

.header-brand,
.currency-selector {
	display: flex;
	align-items: center;
}

.header-brand {
	gap: 12px;

	h1 {
		font-size: var(--text-3xl);
		font-weight: 700;
		background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
	}
}

.header-icon {
	width: 32px;
	height: 32px;
	color: var(--accent);
}

.header-controls {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.header-timestamp {
	font-size: var(--text-xs);
	color: var(--text-muted);
	margin-top: var(--space-2);
}

.currency-selector {
	gap: 8px;

	label {
		font-size: var(--text-xs);
		color: var(--text-secondary);
		white-space: nowrap;
	}

	select {
		min-width: 100px;
	}
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: var(--space-3) var(--space-6);
	font-family: var(--font-sans);
	font-size: var(--text-base);
	font-weight: 600;
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
	transition: var(--transition);
	white-space: nowrap;

	svg {
		width: 1em;
		height: 1em;
	}
}

.btn-primary {
	background: var(--accent);
	color: var(--bg)
}

.btn-secondary {
	background: var(--surface-elevated);
	color: var(--text-primary);
	border: 1px solid var(--border)
}

.btn-ghost {
	color: var(--text-secondary);
	padding: var(--space-2);
}

.btn-danger {
	color: var(--danger)
}

.btn-small {
	padding: 0.429em var(--space-4);
	font-size: var(--text-xs);
}

.btn-ghost,
.btn-danger,
.btn-icon {
	background: transparent;
}

.btn-icon {
	padding: var(--space-2);
	border-radius: var(--radius-sm)
}

.spinner {
	width: 16px;
	height: 16px;
	border: 2px solid transparent;
	border-top-color: currentColor;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Form Elements */
input, select {
	font-family: var(--font-sans);
	font-size: var(--text-base);
	background: var(--surface);
	color: var(--text-primary);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-3) var(--space-4);
	transition: var(--transition);
	width: 100%;

	&::placeholder {
		color: var(--text-muted);
	}
}

input {
	&[type="number"] {
		font-family: var(--font-mono);
	}

	&[type="url"] {
		font-size: var(--text-sm);
	}

	&[type="range"] {
		-webkit-appearance: none;
		appearance: none;
		height: 6px;
		background: var(--border);
		border-radius: 3px;
		border: none;
		padding: 0;

		&::-webkit-slider-thumb {
			-webkit-appearance: none;
			appearance: none;
			width: 18px;
			height: 18px;
			background: var(--accent);
			border-radius: 50%;
			cursor: pointer;
			transition: var(--transition)
		}

		&::-moz-range-thumb {
			width: 18px;
			height: 18px;
			background: var(--accent);
			border-radius: 50%;
			cursor: pointer;
			border: none;
		}
	}
}

select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 2.571em;
}

.input-group {
	position: relative;
	display: flex;
	align-items: center;

	input {
		padding-left: var(--space-8);
	}
}

.input-prefix {
	position: absolute;
	left: 12px;
	color: var(--text-muted);
	font-family: var(--font-mono);
	font-size: var(--text-sm);
	pointer-events: none;
}

.input-suffix {
	position: absolute;
	right: 12px;
	color: var(--text-muted);
	font-size: var(--text-xs);
	pointer-events: none;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;

	input[type="checkbox"] {
		display: none;

		&:checked + .checkbox-custom {
			background: var(--accent);
			border-color: var(--accent);

			&::after {
				transform: rotate(45deg) scale(1);
			}
		}
	}
}

.checkbox-custom {
	width: 20px;
	height: 20px;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	transition: var(--transition);
	position: relative;

	&::after {
		content: '';
		position: absolute;
		top: 2px;
		left: 6px;
		width: 5px;
		height: 10px;
		border: solid var(--bg);
		border-width: 0 2px 2px 0;
		transform: rotate(45deg) scale(0);
		transition: var(--transition);
	}
}

/* Main Content */
.main {
	font-size: var(--text-base);
	flex: 1;
	padding: var(--space-7);
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
}

/* Budget Panel */
.budget-panel {
	font-size: var(--text-base);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-7);
	margin-bottom: var(--space-7);

	h2 {
		font-size: var(--text-xl);
		font-weight: 600;
		margin-bottom: var(--space-6);
		color: var(--text-primary);
	}
}

.budget-inputs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.field-stack {
	display: flex;
	flex-direction: column;
	gap: 6px;

	label {
		font-size: var(--text-xs);
		color: var(--text-secondary);
		font-weight: 400;
	}
}

.budget-threshold {
	input[type="range"] {
		width: 100%;
		accent-color: var(--accent);
	}
}

/* Properties Section */
.properties-section {
	margin-bottom: var(--space-8);
}

.section-header {
	margin-bottom: var(--space-6);
	flex-wrap: wrap;
	gap: 16px;

	h2 {
		font-size: var(--text-xl);
		font-weight: 600;
	}
}

.section-header-inline {
	margin-bottom: var(--space-4);

	h4 {
		font-size: var(--text-base);
		font-weight: 600;
		color: var(--text-primary);
	}
}

.section-buttons {
	display: flex;
	gap: 1em;
}

/* Empty State */
.empty-state {
	text-align: center;
	padding: var(--space-11) var(--space-7);
	background: var(--surface);
	border: 2px dashed var(--border);
	border-radius: var(--radius-lg);

	svg {
		width: 64px;
		height: 64px;
		color: var(--text-muted);
		margin-bottom: var(--space-6);
	}

	h3 {
		font-size: var(--text-xl);
		font-weight: 600;
		margin-bottom: var(--space-2);
	}

	p {
		color: var(--text-secondary);
		margin-bottom: var(--space-7);
	}
}

.empty-sub {
	color: var(--text-muted);
	font-size: var(--text-sm);
	font-style: italic;
	padding: var(--space-2) 0;
}

/* Property List */
.properties-list {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
}

.property-card {
	font-size: var(--text-base);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: var(--transition);
	display: flex;
	flex-direction: column;

	&:hover {
		border-color: var(--border-hover);
	}
}

.property-card-image {
	width: 100%;
	height: 160px;
	overflow: hidden;
	background: var(--surface-elevated);
	display: flex;
	align-items: center;
	justify-content: center;

	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	&:not(.has-image)::before {
		content: '🏠';
		font-size: 48px;
		opacity: 0.3;
	}
}

.property-card-body {
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.property-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--space-3);
}

.property-card-stats {
	display: flex;
	justify-content: space-between;
	gap: var(--space-6);
	padding: var(--space-4) 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.stat-label {
	font-size: var(--text-xs);
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.stat-value {
	font-size: var(--text-base);
	font-weight: 500;
}

.property-card-actions {
	display: flex;
	gap: 4px;
	/* justify-content: flex-end; */
}

.property-info {
	h3 {
		font-size: var(--text-lg);
		font-weight: 600;
		margin-bottom: 0.143em;
	}
}

.property-location {
	font-size: var(--text-sm);
	color: var(--text-secondary);
}

.property-currency {
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	color: var(--text-muted);
	background: var(--surface-elevated);
	padding: var(--space-1) var(--space-2);
	border-radius: var(--radius-sm);
}

/* Property Form */

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.property-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.form-field-full {
	grid-column: 1 / -1;
}

.form-section {
	h4 {
		font-size: var(--text-base);
		font-weight: 600;
		color: var(--text-primary);
		margin-bottom: var(--space-4);
		padding-bottom: var(--space-2);
		border-bottom: 1px solid var(--border);
	}
}

.costs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

/* Custom Fields */
.list-stack {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: var(--space-4);
}

.inline-row {
	display: flex;
	gap: 8px;
	align-items: center;

	input[type="text"] {
		flex: 1;
		min-width: 120px;
	}

	.input-group {
		width: 140px;
		flex-shrink: 0;
	}

	select {
		/* width: 120px; */
		/* flex-shrink: 0; */
	}
}

/* Furnishings */
.furnished-toggle {
	margin-bottom: var(--space-6);
}

.furnishings-section {
	margin-top: var(--space-4);
}

.furnishings-total {
	margin-top: var(--space-4);
	padding: var(--space-4);
	background: var(--surface-elevated);
	border-radius: var(--radius);
	font-family: var(--font-mono);
	font-size: var(--text-base);

	.monthly-equivalent {
		color: var(--text-muted);
		font-size: var(--text-xs);
		margin-left: var(--space-2);
	}
}

/* Comparison Table */
.comparison-section {
	font-size: var(--text-base);
	h2 {
		font-size: var(--text-xl);
		font-weight: 600;
		margin-bottom: var(--space-4);
	}
	.checkbox-label {
		justify-items: start;
		margin-bottom: var(--space-4);
	}
}

.table-wrapper {
	overflow-x: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--text-sm);

	th,
	td {
		padding: var(--space-4) var(--space-6);
		text-align: left;
		border-bottom: 1px solid var(--border);
		white-space: nowrap;
	}

	thead {
		background: var(--surface-elevated);
		position: sticky;
		top: 0;
		z-index: 10;

		th {
			vertical-align: bottom;
			font-weight: 600;
			font-size: var(--text-xs);
			text-transform: uppercase;
			letter-spacing: 0.5px;
			color: var(--text-secondary);
		}
	}

	tbody tr:last-child td {
		border-bottom: none;
	}
}

.row-header {
	font-weight: 600;
	color: var(--text-secondary);
}

.row-note {
	display: block;
	font-size: 0.667em;
	font-weight: 400;
	color: var(--text-muted);
	margin-top: 0.143em;
}

.property-col {
	min-width: 180px;
}

.col-header {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.col-name {
	font-weight: 600;
	color: var(--text-primary);
}

.col-currency {
	font-family: var(--font-mono);
	font-size: 0.75em;
	color: var(--text-muted);
}

.cell-values {
	display: flex;
	flex-direction: column;
	gap: 2px;

	.original {
		font-family: var(--font-mono);
		font-weight: 400;
	}

	.converted {
		font-family: var(--font-mono);
		font-size: 0.75em;
		color: var(--text-muted);
	}

	&.total {
		.original {
			color: var(--accent);
			font-weight: 600;
		}
	}
}

.no-data {
	color: var(--text-muted);
	font-style: italic;
}

/* Collapsible Section Headers */
.collapsible-header {
	cursor: pointer;
	background: var(--surface-elevated);
	transition: background 0.2s ease;

	.row-header-items {
		display: flex;
		align-items: center;
		gap: 8px;
		color: var(--text-primary);
		font-weight: 600;
	}
}

.collapsible-row-header {
	padding-left: var(--space-8);
	color: var(--text-secondary);
}


.collapse-toggle {
	background: none;
	border: none;
	padding: 0;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--accent);
	transition: transform 0.2s ease;

	svg {
		width: 16px;
		height: 16px;
	}
}

.collapse-cell {
	text-align: right;
}

.section-total {
	font-family: var(--font-mono);
	font-weight: 400;
}

.custom-row,
.global-cost-item-row,
.furnishing-item-row {
	.row-header {
		padding-left: var(--space-8);
		color: var(--text-secondary);
	}
}

/* Table Row Types */
.category-row {
	background: rgba(0, 212, 170, 0.03);
}

.custom-row {
	background: rgba(255, 107, 53, 0.02);
}

.total-row {
	background: var(--surface-elevated);

	&.monthly {
		border-top: 2px solid var(--accent);
	}

	&.yearly {
		border-top: 1px solid var(--border);
	}

	&.movein-total {
		border-top: 2px solid var(--accent-secondary);
	}

	.row-header {
		color: var(--text-primary);
	}
}

/* Budget Comparison */
.budget-comparison {
	background: var(--surface);
}

.under-budget {
	background: rgba(34, 197, 94, 0.1);

	.budget-diff {
		color: var(--under-budget);
	}
}

.over-budget {
	background: rgba(239, 68, 68, 0.1);

	.budget-diff {
		color: var(--over-budget);
	}
}

.near-target {
	background: rgba(245, 158, 11, 0.1);

	.budget-diff {
		color: var(--near-target);
	}
}

.budget-diff {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-family: var(--font-mono);
	font-weight: 600;

	.diff-percent {
		font-size: 0.75em;
		opacity: 0.8;
	}
}

/* Modals */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: var(--space-7);
	animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.modal {
	font-size: var(--text-base);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	width: 100%;
	max-width: 500px;
	max-height: 80vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	animation: slideUp 0.2s ease;
}

.modal-confirm {
	max-width: 400px;
}

.modal-property {
	max-width: 700px;
	max-height: 90vh;

	.modal-body {
		max-height: calc(90vh - 140px);
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.modal-header {
	padding: var(--space-6) var(--space-7);
	border-bottom: 1px solid var(--border);

	h3 {
		font-size: var(--text-xl);
		font-weight: 600;
	}
}

.modal-body {
	padding: var(--space-7);
	overflow-y: auto;
	flex: 1;
}

.modal-note {
	color: var(--text-secondary);
	font-size: var(--text-sm);
	margin-bottom: var(--space-6);
}

.modal-warning {
	color: var(--danger);
	font-size: var(--text-sm);
	margin-top: var(--space-2);
}

.modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: var(--space-6) var(--space-7);
	border-top: 1px solid var(--border);
}

/* Exchange Rates */
.rates-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rate-row {
	padding: var(--space-4);
	background: var(--surface-elevated);
	border-radius: var(--radius);
}

.rate-currency {
	font-weight: 500;
}

.rate-input {
	width: 150px;

	input {
		text-align: right;
		padding-right: var(--space-12);
	}
}

/* Toast */
.toast-container {
	position: fixed;
	bottom: 24px;
	right: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 2000;
}

.toast {
	padding: var(--space-4) var(--space-6);
	background: var(--surface-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	animation: slideIn 0.3s ease;
	font-size: var(--text-sm);

	&.success {
		border-left: 3px solid var(--success);
	}

	&.error {
		border-left: 3px solid var(--danger);
	}

	&.warning {
		border-left: 3px solid var(--warning);
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(100%);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Footer */
.footer {
	font-size: var(--text-base);
	text-align: center;
	padding: var(--space-7);
	color: var(--text-muted);
	font-size: var(--text-xs);
	border-top: 1px solid var(--border);
	margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
	.header {
		padding: var(--space-4) var(--space-6);
	}

	.header-content {
		flex-direction: column;
		align-items: stretch;
	}

	.header-controls {
		justify-content: space-between;
	}

	.header-brand {
		h1 {
			font-size: var(--text-2xl);
		}
	}

	.main {
		padding: var(--space-6);
	}

	.budget-panel {
		padding: var(--space-6);
	}

	.budget-inputs {
		grid-template-columns: 1fr;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.costs-grid {
		grid-template-columns: 1fr;
	}

	.inline-row {
		flex-wrap: wrap;

		input[type="text"] {
			flex: 1 1 100%;
		}

		.input-group {
			flex: 1 1 calc(50% - 4px);
		}

		select {
			flex: 1 1 100%;
		}
	}

	.comparison-table {
		font-size: var(--text-xs);
	}

	.modal {
		max-width: 100%;
		margin: 0;
		border-radius: var(--radius-lg) var(--radius-lg) 0 0;
		max-height: 90vh;
	}

	.modal-overlay {
		align-items: flex-end;
		padding: 0;
	}

	.rate-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.rate-input {
		width: 100%;
	}
}

@media (max-width: 480px) {

	.section-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.cell-values {
		.converted {
			display: none;
		}
	}
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg);
}

::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 4px
}

::selection {
	background: var(--accent);
	color: var(--bg);
}

/* OG Image Preview */
.og-image-preview {
	max-width: 200px;
	max-height: 120px;
	margin-top: var(--space-4);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	object-fit: cover;
}

/* Global Costs Section */
.global-costs-section {
	margin-top: var(--space-7);
	padding-top: var(--space-7);
	border-top: 1px solid var(--border);

	h3 {
		font-size: var(--text-lg);
		font-weight: 600;
		margin-bottom: var(--space-6);
	}
}

.global-costs-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1em;
}

.global-cost-row {
	gap: 12px;
	flex-wrap: wrap;
	align-content: start;

	input[type="text"] {
		flex: 1;
		min-width: 150px;
	}

	.input-group {
		flex: 1;
		min-width: 120px;
	}

	select {
		min-width: 100px;
	}

	.currency-select {
		min-width: 80px;
	}
}

.global-cost-monthly {
	display: flex;
	flex-direction: column;
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	color: var(--accent);
	white-space: nowrap;
}

.exchange-rate {
	color: var(--text-muted);
	font-size: 0.75em;
}

/* Amenities */
.amenities-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--space-4);
}

.amenity-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0.429em var(--space-4);
	background: var(--surface-elevated);
	border-radius: var(--radius);
	cursor: pointer;
	transition: var(--transition);
	font-size: var(--text-sm);

	input[type="checkbox"] {
		display: none;

		&:checked + .checkbox-custom {
			background: var(--accent);
			border-color: var(--accent);

			&::after {
				content: '✓';
				font-size: 0.667em;
				color: var(--bg);
				font-weight: bold;
			}
		}
	}

	.checkbox-custom {
		width: 16px;
		height: 16px;
		border-radius: 3px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

.amenity-name {
	color: var(--text-primary);
}

.btn-remove-amenity {
	background: none;
	border: none;
	color: var(--danger);
	font-size: var(--text-lg);
	cursor: pointer;
	padding: 0 var(--space-1);
	line-height: 1
}

/* Amenities in Comparison Table */
/* .amenities-row {
	background: rgba(0, 212, 170, 0.03);
} */

.amenities-cell {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.amenity-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0.214em var(--space-2);
	border-radius: var(--radius-sm);
	font-size: 0.75em;
	white-space: nowrap;

	&.has {
		background: rgba(34, 197, 94, 0.085);
		color: var(--success);
	}

	&.missing {
		background: hsla(0, 0%, 60%, 0.2);
		color: var(--text-secondary);
		opacity: 0.6;
	}
}

.amenity-icon {
	font-weight: 600;
	font-size: 0.667em;
}

.amenity-label {
	font-weight: 600;
}