/**
 * Datei: maps-admin.css
 * Modul: Karten / Admin
 * Autor: MARKS MEDIA
 *
 * Zweck:
 *   Styling des Admin-Tabs „Maps“ mit seitlicher Unter-Navigation
 *   und Panels. Keine Farben hart codiert – WordPress-Standard-Look.
 */

/* =========================================
   Grundlayout
========================================= */
.mp-maps-layout {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

/* =========================================
   Sidebar Navigation
========================================= */
.mp-maps-sidebar {
	width: 240px;
	flex-shrink: 0;
	border-right: 1px solid #ddd;
	padding-right: 15px;
}

.mp-maps-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mp-maps-nav-item {
	margin-bottom: 4px;
}

.mp-maps-nav-btn {
	width: 100%;
	text-align: left;
	padding: 10px 12px;
	border: 1px solid #ccc;
	background: #f7f7f7;
	color: #333;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.mp-maps-nav-item.active .mp-maps-nav-btn {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.mp-maps-nav-btn:hover {
	background: #e6e6e6;
}

/* =========================================
   Inhalt / Panels
========================================= */
.mp-maps-content {
	flex: 1;
}

.mp-maps-pane {
	display: none;
}

.mp-maps-pane.active {
	display: block;
}

/* =========================================
   Tabellen & Abstand
========================================= */
.mp-maps-pane h3 {
	margin-top: 0;
	margin-bottom: 14px;
}

.mp-maps-pane h4 {
	margin-top: 22px;
	margin-bottom: 6px;
}

.mp-maps-pane .form-table th {
	width: 260px;
}

/* =========================================
   Responsive Verhalten
========================================= */
@media (max-width: 900px) {
	.mp-maps-layout {
		flex-direction: column;
	}

	.mp-maps-sidebar {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #ddd;
		padding-bottom: 12px;
		margin-bottom: 12px;
	}

	.mp-maps-nav-btn {
		font-size: 15px;
	}
}
