#radmember-map-view {
    width: 100%;
    height: 600px;
    margin-top: 1rem;
}

#radmember-marker-preview {
    font-family: sans-serif;
    margin-bottom: 1rem;
}

#radmember-marker-preview ul {
    list-style: disc;
    margin-left: 1.5rem;
}

#radmember-controls button.active {
    background-color: #0073aa !important;
    color: white !important;
}

#radmember-filters button {
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.4rem 1rem;
    border: 1px solid #ccc;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 3px;
}

#radmember-filters button.active {
    background-color: #0073aa !important;
    color: white !important;
}


#radmember-controls {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

#radmember-controls button {
    padding: 0.4rem 0.8rem;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
}

#radmember-controls button.active {
    background-color: #0073aa !important;
    color: white !important;
}

#radmember-list-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.radmember-entry {
    text-align: center;
    font-family: sans-serif;
}

.radmember-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.radmember-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.radmember-image-wrapper img.rotating {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.radmember-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.radmember-categories {
    font-size: 1rem;
    color: #555;
}

.radmember-categories .lenkrad {
    font-size: 0.85rem;
    color: #a9a9a9;
}

#radmember-map-view {
    width: 100%;
    height: 600px;
    margin-top: 2rem;
}

#radmember-marker-preview {
    font-family: sans-serif;
    margin-bottom: 1rem;
}

#radmember-marker-preview ul {
    list-style: disc;
    margin-left: 1.5rem;
}

#radmember-search {
    flex: 1 1 50%;
    min-width: 200px;
    max-width: 400px;
    padding: 0.4rem;
    font-size: 1rem;
}

#radmember-sort,
#radmember-view {
    flex: 0 0 auto;
    padding: 0.4rem;
    font-size: 1rem;
}

#radmember-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* halbtransparent */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#radmember-modal.hidden {
  display: none;
}

#radmember-modal-content {
  background: white;
  max-width: 600px;
  width: 90%;
  padding: 1.5rem;
  border-radius: 8px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  font-family: sans-serif;
}

#radmember-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.radmember-modal-close:hover {
    color: #000;
}

#radmember-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.sort-buttons, .view-buttons {
    display: flex;
    gap: 0.5rem;
}

.sort-button, .view-button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #eee;
    font-size: 1.2rem !important;
    cursor: pointer;
    border-radius: 50% !important; /* Macht es rund */
    color: #333;
    transition: background 0.3s;
    padding: 1em 1em  !important;
}

.sort-button.active,
.view-button.active {
    background: #0073aa;
    color: #fff;
}

button.gm-ui-hover-effect {
    padding: 0 !important;
}

button.gm-ui-hover-effect:hover {
    background: #0073aa !important;
}