.gpxdelen-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 15px;
}

.gpxdelen-filters input,
.gpxdelen-filters select {
	padding: 8px;
	font-size: 1rem;
	flex: 1 1 180px;
}

.gpxdelen-table-wrapper {
	overflow-x: auto;
}

.gpxdelen-table {
	border-collapse: collapse;
	width: 100%;
	margin-top: 10px;
}

.gpxdelen-table th,
.gpxdelen-table td {
	border: 1px solid #ddd;
	padding: 10px;
	text-align: left;
}

.gpxdelen-table thead th {
	background: #f4f4f4;
	position: sticky;
	top: 0;
}

.gpxdelen-table tr:hover {
	background: #f1f1f1;
}

.gpxdelen-table .button {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 6px;
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	text-align: center;
}

.gpxdelen-table .map-btn {
	background: #0077cc;
}

.gpxdelen-table .gpx-btn {
	background: #28a745;
}

@media (max-width: 700px) {
	.gpxdelen-table,
	.gpxdelen-table thead,
	.gpxdelen-table tbody,
	.gpxdelen-table th,
	.gpxdelen-table td,
	.gpxdelen-table tr {
		display: block;
	}

	.gpxdelen-table thead {
		display: none;
	}

	.gpxdelen-table tr {
		margin-bottom: 1rem;
		border: 1px solid #ddd;
		padding: 10px;
		border-radius: 8px;
		background: #fff;
	}

	.gpxdelen-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 6px 0;
	}

	.gpxdelen-table td::before {
		content: attr(data-label);
		font-weight: bold;
		color: #444;
		margin-right: 10px;
	}
}

.gpxdelen-upload .gpxdelen-step p {
	margin-bottom: 12px;
}

.gpxdelen-upload label {
	font-weight: 600;
}

.gpxdelen-upload input[type="text"],
.gpxdelen-upload input[type="number"],
.gpxdelen-upload input[type="date"],
.gpxdelen-upload input[type="file"],
.gpxdelen-upload select {
	width: 100%;
	max-width: 400px;
	padding: 8px;
	box-sizing: border-box;
}

.gpxdelen-status {
	min-height: 1.2em;
}

.gpxdelen-status--error {
	color: #b32d2e;
}

.gpxdelen-meta-table {
	border-collapse: collapse;
	margin-bottom: 20px;
}

.gpxdelen-meta-table th,
.gpxdelen-meta-table td {
	padding: 6px 12px;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.gpxdelen-meta-table .gpxdelen-edit-field {
	display: none;
	width: 100%;
	max-width: 260px;
	padding: 4px 6px;
	box-sizing: border-box;
}

.gpxdelen-meta-table.is-editing .gpxdelen-view {
	display: none;
}

.gpxdelen-meta-table.is-editing .gpxdelen-edit-field {
	display: inline-block;
}

.gpxdelen-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.gpxdelen-btn {
	display: inline-block;
	padding: 6px 12px;
	border: none;
	border-radius: 6px;
	background: #0077cc;
	color: #fff;
	font-weight: bold;
	font-size: 1rem;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.gpxdelen-btn[hidden] {
	display: none;
}

.gpxdelen-btn:hover,
.gpxdelen-btn:focus {
	background: #005fa3;
	color: #fff;
}

.gpxdelen-btn--secondary {
	background: #666;
}

.gpxdelen-btn--secondary:hover,
.gpxdelen-btn--secondary:focus {
	background: #444;
}
