body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #141414;
    color: white;
  }
  
  #header {
    background-color: #1e1e1e;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1000;
  }
  
  #header h1 {
    margin: 0;
    font-weight: 600;
    color: #904BDE;
  }
  
  #map {
    height: calc(100vh - 60px);
    width: 100%;
    background-color: #1e1e1e;
    margin-left: 0;
    transition: margin-left 0.3s ease-in-out;
  }

  /* Runder Plus-Button */
.round-add-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #904BDE;
  color: white;
  font-size: 32px;
  font-weight: bold;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.round-add-btn:hover {
  background-color: #5e3191;
  transform: scale(1.1);
}

.round-add-btn:active {
  transform: scale(0.95);
}

/* Schwebendes Formular zur Marker-Erstellung */
.floating-form {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 300px;
  background-color: #1e1e1ed5;
  backdrop-filter: blur(5px);
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 999;
}
  
  #map.with-sidebar {
    margin-left: 300px;
    width: calc(100% - 300px);
  }
  
  #user-panel {
    display: none;
    position: absolute;
    top: 70px;
    right: 10px;
    background: #1e1e1ed5;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    backdrop-filter: blur(5px);
    border: 1px solid #333333;
  }
  
  .marker-form {
    margin-top: 15px;
  }
  
  .marker-form input,
  .marker-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #333333;
    border-radius: 4px;
    background-color: #141414;
    color: white;
    font-family: inherit;
  }
  
  .marker-form input:focus,
  .marker-form textarea:focus {
    outline: none;
    border-color: #904BDE;
    box-shadow: 0 0 0 2px rgba(144, 75, 222, 0.3);
  }
  
  .login-btn, 
  .logout-btn,
  .profile-btn {
    background-color: #904BDE;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
  }
  
  .login-btn:hover,
  .profile-btn:hover {
    background-color: #5e3191;
  }
  
  .logout-btn {
    background-color: #F55547;
  }
  
  .logout-btn:hover {
    background-color: #CF3637;
  }
  
  .add-marker-btn {
    background-color: #904BDE;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
    transition: background-color 0.2s;
    font-weight: 500;
  }
  
  .add-marker-btn:hover {
    background-color: #5e3191;
  }
  
  .cancel-btn {
    background-color: #F55547;
  }
  
  .cancel-btn:hover {
    background-color: #CF3637;
  }
  
  .user-info {
    display: flex;
    align-items: center;
  }
  
  .user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #904BDE;
  }
  
  /* Profil-Seite */
  .profile-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 25px;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .profile-container h2 {
    color: #904BDE;
    margin-top: 0;
    border-bottom: 1px solid #333333;
    padding-bottom: 10px;
  }
  
  .marker-list {
    list-style: none;
    padding: 0;
  }
  
  .marker-item {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #333333;
    border-radius: 5px;
    background-color: #141414;
    transition: transform 0.2s;
  }
  
  .marker-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .marker-item h3 {
    margin-top: 0;
    color: #904BDE;
  }
  
  .delete-marker {
    background-color: #F55547;
    color: white;
    border: none;
    padding: 7px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.2s;
  }
  
  .delete-marker:hover {
    background-color: #CF3637;
  }
  
  .view-marker {
    background-color: #904BDE;
    color: white;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.2s;
  }
  
  .view-marker:hover {
    background-color: #5e3191;
  }
  
  /* Leaflet Popup anpassen */
  .leaflet-popup-content-wrapper {
    background-color: #1e1e1ed5;
    color: white;
    border-radius: 8px;
    backdrop-filter: blur(5px);
  }
  
  .leaflet-popup-tip {
    background-color: #1e1e1ed5;
  }
  
  .leaflet-popup-content h3 {
    color: #904BDE;
    margin-top: 5px;
    margin-bottom: 10px;
  }
  
  /* Kontrollschaltflächen anpassen */
  .leaflet-control-zoom-in, 
  .leaflet-control-zoom-out {
    background-color: #1e1e1e !important;
    color: white !important;
    border: 1px solid #333333 !important;
  }
  
  .leaflet-control-zoom-in:hover, 
  .leaflet-control-zoom-out:hover {
    background-color: #333333 !important;
  }
  
  /* Marker-Sidebar */
  #marker-sidebar {
    position: absolute;
    left: 0;
    top: 60px;
    width: 300px;
    height: calc(100vh - 60px);
    background-color: #1e1e1ed5;
    border-right: 1px solid #333333;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    color: white;
    overflow-y: auto;
  }
  
  #marker-sidebar.collapsed {
    transform: translateX(-290px);
  }
  
  .sidebar-header {
    padding: 15px;
    border-bottom: 1px solid #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .sidebar-header h2 {
    margin: 0;
    color: #904BDE;
  }
  
  .sidebar-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
  }
  
  .sidebar-toggle:hover {
    background-color: #333333;
  }
  
  .group-filters, .marker-list-container {
    padding: 15px;
    border-bottom: 1px solid #333333;
  }
  
  .group-filters h3, .marker-list-container h3 {
    margin-top: 0;
    color: #904BDE;
    font-size: 16px;
  }
  
  .group-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
  }
  
  .group-item input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #904BDE;
  }
  
  .sidebar-marker-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    background-color: #141414;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .sidebar-marker-item:hover {
    background-color: #333333;
  }
  
  .sidebar-marker-item.hidden {
    display: none;
  }
  
  .sidebar-marker-name {
    font-weight: 500;
    margin-bottom: 4px;
  }
  
  .sidebar-marker-group {
    font-size: 12px;
    color: #904BDE;
  }
  
  .loading {
    color: #999;
    font-style: italic;
    padding: 10px 0;
  }
  
  /* Anpassungen für das Marker-Formular */
  .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }
  
  .form-group label {
    margin-right: 10px;
    min-width: 60px;
  }
  
  .form-group select {
    flex-grow: 1;
    padding: 8px;
    background-color: #141414;
    color: white;
    border: 1px solid #333333;
    border-radius: 4px;
  }
  
  .small-btn {
    background-color: #904BDE;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
  }
  
  .marker-group {
    color: #904BDE;
    font-size: 12px;
    margin-top: 5px;
  }
  
  /* Button zum Wiedereinblenden */
  #show-sidebar {
    position: absolute;
    left: 10px;
    top: 70px;
    background-color: #1e1e1ed5;
    color: white;
    border: 1px solid #333333;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: none; /* Standardmäßig ausgeblendet */
  }
  
  #show-sidebar:hover {
    background-color: #904BDE;
  }
  
  /* Anzeigen, wenn Sidebar eingeklappt ist */
  body.sidebar-collapsed #show-sidebar {
    display: flex;
  }
  
  /* Neue Styles für die gruppierte Marker-Anzeige */
  #sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }
  
  .marker-group-container {
    border: 1px solid #333333;
    border-radius: 5px;
    background-color: #1e1e1e;
    overflow: hidden;
  }
  
  .marker-group-header {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #141414;
    cursor: pointer;
  }
  
  .marker-group-header:hover {
    background-color: #333333;
  }
  
  .group-checkbox {
    margin-right: 10px;
    accent-color: #904BDE;
  }
  
  .group-name {
    flex-grow: 1;
    font-weight: 500;
    color: #904BDE;
  }
  
  .group-toggle {
    margin-left: 10px;
    color: #904BDE;
    transition: transform 0.2s;
  }
  
  .marker-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 5px;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    transition: max-height 0.3s ease-in-out;
  }
  
  .marker-items-grid.collapsed {
    max-height: 0;
    padding: 0 10px;
    overflow: hidden;
  }
  
  .sidebar-marker-item {
    display: flex;
    align-items: center;
    padding: 8px;
    background-color: #141414;
    border-radius: 5px;
    border: 1px solid #333333;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .sidebar-marker-item:hover {
    background-color: #333333;
    transform: translateY(-2px);
  }
  
  .sidebar-marker-item.marker-hidden {
    opacity: 0.5;
  }
  
  .marker-checkbox {
    margin-right: 8px;
    accent-color: #904BDE;
  }
  
  .marker-info {
    flex-grow: 1;
    overflow: hidden;
  }
  
  .sidebar-marker-name {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .error-message {
    color: #F55547;
    padding: 15px;
    text-align: center;
  }
  
  /* Marker-Aktionen */
  .marker-actions {
    display: flex;
    margin-left: 5px;
    gap: 5px;
  }
  
  .marker-action-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .marker-action-btn:hover {
    background-color: #333333;
  }
  
  .edit-btn {
    color: #904BDE;
  }
  
  .edit-btn:hover {
    color: #5e3191;
  }
  
  .delete-btn {
    color: #F55547;
  }
  
  .delete-btn:hover {
    color: #CF3637;
  }
  
  /* Bearbeiten-Formular */
  #edit-marker-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1e1e1e;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 20px;
    width: 350px;
    max-width: 90vw;
    z-index: 2000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: none;
  }
  
  #edit-marker-form h3 {
    margin-top: 0;
    color: #904BDE;
    border-bottom: 1px solid #333333;
    padding-bottom: 10px;
  }
  
  .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    gap: 10px;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1999;
    display: none;
  }
  
  /* Styles für Edit-Formular Elemente */
  #edit-marker-form input,
  #edit-marker-form textarea,
  #edit-marker-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #333333;
    border-radius: 4px;
    background-color: #141414;
    color: white;
    font-family: inherit;
  }

  /* Neue Stile für benutzerdefinierte Marker */

/* Container für benutzerdefinierte Marker */
.custom-marker {
    background: transparent !important;
    border: none !important;
  }
  
  .custom-marker svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.5));
  }
  
  /* Stile für die Icon-Vorschau */
  .icon-preview {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    vertical-align: middle;
  }
  
  .icon-preview svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));
  }
  
  /* Stile für die Farb-Vorschau */
  .color-preview {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  /* Anpassungen für das Farbauswahlfeld */
  input[type="color"] {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
  }
  
  input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
  }
  
  input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
  }
  
  /* Marker-Icons in der Sidebar */
  .sidebar-marker-item .icon-preview {
    margin-right: 8px;
    width: 18px;
    height: 18px;
  }
  
  .sidebar-marker-item .icon-preview svg {
    width: 100%;
    height: 100%;
  }
  
  /* Besseres Layout für die Formulare */
  .form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .form-group label {
    width: 80px;
    margin-right: 10px;
  }
  
  .form-group select,
  .form-group input[type="color"] {
    flex: 1;
    min-width: 120px;
  }
  
  /* Icon-Vorschau auch im Popup anzeigen */
  .leaflet-popup-content .marker-icon-preview {
    margin-top: 5px;
    display: inline-block;
  }
  
  .leaflet-popup-content .marker-icon-preview svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
  }

  /* Neue Styles für Team/Gruppen-Funktionalität */

/* Profile Seite */
.profile-section {
    margin-bottom: 30px;
  }
  
  .profile-section h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .action-btn {
    background-color: #904BDE;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
  }
  
  .action-btn:hover {
    background-color: #5e3191;
  }
  
  .danger-btn {
    background-color: #F55547;
    color: white;
  }
  
  .danger-btn:hover {
    background-color: #CF3637;
  }
  
  .map-list, .team-list {
    list-style: none;
    padding: 0;
  }
  
  .map-item, .team-item {
    background-color: #1e1e1e;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: transform 0.2s;
  }
  
  .map-item:hover, .team-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .map-info, .team-info {
    flex: 1;
  }
  
  .map-info h3, .team-info h4 {
    margin-top: 0;
    color: #904BDE;
  }
  
  .map-team, .team-members, .team-owner, .team-role, .map-visibility {
    color: #999;
    font-size: 0.9em;
    margin-top: 5px;
  }
  
  .map-actions, .team-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .view-map-btn, .view-team-btn, .edit-map-btn, .edit-team-btn, .delete-map-btn, .delete-team-btn, .leave-team-btn {
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-size: 0.9em;
    transition: background-color 0.2s;
    cursor: pointer;
    border: none;
    color: white;
    min-width: 100px;
  }
  
  .view-map-btn, .view-team-btn {
    background-color: #904BDE;
  }
  
  .view-map-btn:hover, .view-team-btn:hover {
    background-color: #5e3191;
  }
  
  .edit-map-btn, .edit-team-btn {
    background-color: #3A87AD;
  }
  
  .edit-map-btn:hover, .edit-team-btn:hover {
    background-color: #2A6991;
  }
  
  .delete-map-btn, .delete-team-btn, .leave-team-btn {
    background-color: #F55547;
  }
  
  .delete-map-btn:hover, .delete-team-btn:hover, .leave-team-btn:hover {
    background-color: #CF3637;
  }
  
  /* Modal-Styling */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
  }
  
  .modal-content {
    background-color: #1e1e1e;
    margin: 10% auto;
    padding: 25px;
    border: 1px solid #333333;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  }
  
  .close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-modal:hover {
    color: white;
  }
  
  .modal h2 {
    margin-top: 0;
    color: #904BDE;
    padding-bottom: 10px;
    border-bottom: 1px solid #333333;
  }
  
  .modal input, .modal textarea, .modal select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #333333;
    border-radius: 4px;
    background-color: #141414;
    color: white;
    font-family: inherit;
  }
  
  .modal input:focus, .modal textarea:focus, .modal select:focus {
    outline: none;
    border-color: #904BDE;
    box-shadow: 0 0 0 2px rgba(144, 75, 222, 0.3);
  }
  
  .submit-btn {
    background-color: #904BDE;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
    float: right;
  }
  
  .submit-btn:hover {
    background-color: #5e3191;
  }
  
  .confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
  }
  
  .error-message {
    background-color: rgba(245, 85, 71, 0.2);
    color: #F55547;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #F55547;
  }
  
  /* Team-Seite */
  .team-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
  }
  
  .team-header {
    background-color: #1e1e1e;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .team-header h2 {
    color: #904BDE;
    margin-top: 0;
  }
  
  .team-owner, .user-role {
    color: #999;
    font-size: 0.9em;
    margin: 5px 0;
  }
  
  .user-role {
    font-weight: bold;
    color: #904BDE;
  }
  
  .team-section {
    background-color: #1e1e1e;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .team-section h3 {
    color: #904BDE;
    margin-top: 0;
    border-bottom: 1px solid #333333;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .members-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
  }
  
  .members-table th, .members-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #333333;
  }
  
  .members-table th {
    color: #904BDE;
  }
  
  .member-info {
    display: flex;
    align-items: center;
  }
  
  .member-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #904BDE;
  }
  
  .owner-badge {
    background-color: #904BDE;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: 10px;
  }
  
  .role-select {
    background-color: #141414;
    color: white;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 5px;
  }
  
  .remove-member-btn {
    background-color: #F55547;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.9em;
  }
  
  .remove-member-btn:hover {
    background-color: #CF3637;
  }
  
  .map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 0;
    list-style: none;
  }
  
  .map-card {
    background-color: #141414;
    border: 1px solid #333333;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
  }
  
  .map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  
  .map-card-content {
    padding: 15px;
  }
  
  .map-card-content h4 {
    margin-top: 0;
    color: #904BDE;
  }
  
  .map-info, .map-visibility {
    color: #999;
    font-size: 0.9em;
    margin: 5px 0;
  }
  
  .map-card-actions {
    display: flex;
    border-top: 1px solid #333333;
  }
  
  .map-card-actions a, .map-card-actions button {
    flex: 1;
    padding: 10px;
    text-align: center;
    border: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.9em;
    text-decoration: none;
  }
  
  .map-open-btn {
    color: #904BDE;
  }
  
  .map-open-btn:hover {
    background-color: rgba(144, 75, 222, 0.1);
  }
  
  .map-edit-btn {
    color: #3A87AD;
  }
  
  .map-edit-btn:hover {
    background-color: rgba(58, 135, 173, 0.1);
  }
  
  .map-delete-btn {
    color: #F55547;
  }
  
  .map-delete-btn:hover {
    background-color: rgba(245, 85, 71, 0.1);
  }
  
  /* Karten-Auswahl */
  .map-selector {
    display: flex;
    align-items: center;
    margin: 0 20px;
  }
  
  .current-map-name {
    font-weight: bold;
    color: #904BDE;
    margin-right: 10px;
  }
  
  .small-btn {
    background-color: #333333;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.9em;
  }
  
  .small-btn:hover {
    background-color: #444444;
  }
  
  .map-list-container {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
  }
  
  .map-select-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
  }
  
  .map-select-item {
    background-color: #141414;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s;
  }
  
  .map-select-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .map-select-item.current-map {
    border-color: #904BDE;
    background-color: rgba(144, 75, 222, 0.1);
  }
  
  .map-select-info {
    flex: 1;
  }
  
  .map-select-name {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .map-select-owner {
    font-size: 0.8em;
    color: #999;
  }
  
  .map-select-btn {
    background-color: #904BDE;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.2s;
    white-space: nowrap;
  }
  
  .map-select-btn:hover {
    background-color: #5e3191;
  }
  
  .map-select-btn.current {
    background-color: #333333;
    cursor: default;
  }
  
  .loading {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 10px;
  }
  
  .empty-list {
    color: #999;
    text-align: center;
    padding: 10px;
  }
  
  /* Keine Karte ausgewählt */
  .no-map-message {
    text-align: center;
    margin-top: 100px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #edit-marker-form input:focus,
  #edit-marker-form textarea:focus,
  #edit-marker-form select:focus {
    outline: none;
    border-color: #904BDE;
    box-shadow: 0 0 0 2px rgba(144, 75, 222, 0.3);
  }