* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    padding-bottom:5px;
    padding-top: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
}

header h1 a {
    color: white;
    text-decoration: none;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav li {
    margin-left: 20px;
}

header nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

header nav a:hover {
    opacity: 0.8;
}

main {
    padding: 30px 0;
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    margin-top: 30px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer a {
    color: white;
    margin-right: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn:hover {
    background-color: #2980b9;
    text-decoration: none;
}

.btn.primary {
    background-color: #3498db;
}

.btn.secondary {
    background-color: #95a5a6;
}

.btn.danger {
    background-color: #e74c3c;
}

.btn.small {
    padding: 8px 12px;
    font-size: 14px;
    display: inline-flex;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    min-height: 100px;
}

.field-note {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

.form-columns {
    display: flex;
    gap: 30px;
}

.form-column {
    flex: 1;
}

.form-actions {
    margin-top: 30px;
}

.flash-messages {
    margin-bottom: 20px;
    padding:0;
}

.flash-message {
    position: relative;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    transitionx: all 0.5s ease;
    opacityx: 1;
    overflowx: hidden;
    display1: block !important;
}

.flash-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-message.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.close-flash {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  line-height: 1;
  padding: 0;
  width: 20px;
  height: 20px;
}

.close-flash:hover {
  opacity: 1;
}

.home-intro {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-buttons {
    margin-top: 20px;
}

.cta-buttons .btn {
    margin-right: 10px;
}

.map-container {
    background-color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.poi-list {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.poi-list ul {
    list-style: none;
}

.poi-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.poi-list li:last-child {
    border-bottom: none;
}

.poi-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #3498db;
    color: white;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.poi-detail {
    background-color: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.poi-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.poi-id {
    color: #777;
    font-size: 0.8em;
}

.poi-meta {
    color: #777;
    display: flex;
    justify-content: space-between;
}

.poi-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.poi-map-container {
    margin-bottom: 20px;
}

.poi-actions {
    margin-top: 20px;
    display1: flex;
    gap: 10px;
}

.rating .likes, .rating .dislikes {
    margin-left: 10px;
}

.poi-comments {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.comment-form {
    margin-bottom: 30px;
}

.comment {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.comment-meta {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.admin-section {
    background-color: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-controls {
    margin-bottom: 20px;
}

.pending-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.item-header {
    padding: 15px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

.item-header h3 {
    margin-bottom: 10px;
}

.item-meta {
    color: #777;
    font-size: 0.9em;
}

.item-meta span {
    margin-right: 15px;
}

.item-body {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.map-container {
    flex: 1;
    min-height: 200px;
}

.item-description {
    flex: 1;
    padding: 15px;
    border-left: 1px solid #ddd;
}

.item-actions {
    padding: 15px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.admin-map {
    height: 100%;
    min-height: 200px;
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    header nav {
        margin-top: 10px;
        width: 100%;
    }
    
    header nav ul {
        flex-wrap: wrap;
    }
    
    header nav li {
        margin: 5px 10px 5px 0;
    }
    
    .form-columns {
        flex-direction: column;
    }
    
    .item-body {
        flex-direction: column;
    }
    
    .map-container, .item-description {
        width: 100%;
    }
}



.rating-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    display: none;
}

.rating-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rating-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Kommentar-Bewertungen */
.comment-rating {
    margin-left: 15px;
}

.comment-likes, .comment-dislikes {
    margin-right: 10px;
    display: inline-block;
}

.comment-likes {
    color: #3498db;
}

.comment-dislikes {
    color: #e74c3c;
}

.comment-actions {
    margin-top: 10px;
}

.comment-actions button {
    padding: 4px 8px;
    font-size: 12px;
    margin-right: 8px;
}

.comment-message {
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 4px;
    display: none;
    font-size: 12px;
}

.comment-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.comment-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-comment-like,
.btn-comment-dislike {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #ddd;
  margin-right: 5px;
}

.btn-comment-like {
  background-color: #f8f9fa;
  color: #3498db;
}

.btn-comment-like:hover {
  background-color: #3498db;
  color: white;
  border-color: #3498db;
}

.btn-comment-dislike {
  background-color: #f8f9fa;
  color: #e74c3c;
}

.btn-comment-dislike:hover {
  background-color: #e74c3c;
  color: white;
  border-color: #e74c3c;
}

.btn-comment-like.active {
  background-color: #3498db;
  color: white;
  border-color: #3498db;
}

.btn-comment-dislike.active {
  background-color: #e74c3c;
  color: white;
  border-color: #e74c3c;
}

.btn-comment-like:disabled,
.btn-comment-dislike:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.comment-message {
  font-size: 12px;
  margin-top: 5px;
  padding: 4px 8px;
  border-radius: 3px;
  display: none;
}


.admin-controls {
  margin-bottom: 20px;
}

.admin-controls .btn {
  margin-right: 10px;
}

.btn-link {
  color: #3498db;
  text-decoration: none;
  font-size: 0.9em;
  margin-left: 10px;
}

.btn-link:hover {
  text-decoration: underline;
}

.btn-link.danger {
  color: #e74c3c;
}

.admin-actions {
  margin-left: 15px;
}

.edit-form {
  max-width: 800px;
}

.info-box {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
}
.hidden {
    display:none;
}


.boundary-tooltip {
    background-color: rgba(44, 62, 80, 0.8);
    border: none;
    color: white;
    font-size: 14px;
    padding: 8px 12px;
    width: 250px;
    text-align: center;
}

#bounds-message {
    display: block;
    animation: fadein 0.3s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.poi-dates {
  margin-top: 5px;
  font-size: 0.9em;
  color: #777;
}

.poi-dates span {
  margin-right: 15px;
}

.poi-card-dates {
  font-size: 0.85em;
  color: #777;
  margin: 5px 0;
}

.date-label {
  font-weight: bold;
}

.list-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
  
.export-buttons {
    display: flex;
    gap: 10px;
} 

.section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 25px 0 15px 0;
      }
      
      .section-header h3 {
        margin: 0;
      }
      
      @media (max-width: 768px) {
        .list-actions, .section-header {
          flex-direction: column;
          align-items: flex-start;
          gap: 10px;
        }
    }
.form-hint {
font-size:90%;
color:#6c6c6c;
}

.zoom-message {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    font-size: 12px;
    max-width: 250px;
}

@media (max-width: 768px) {
    .leaflet-control-zoom a {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        font-size: 22px !important;
    }
    
    .zoom-message {
        max-width: 180px;
        font-size: 11px;
    }
}



.poi-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.poi-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.poi-card-number {
  position1: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background-color: #3498db;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 10px;
}

.poi-card h3 {
    margin: 0;
  color: #2c3e50;
}

.poi-card-address {
  color: #7f8c8d;
  margin-bottom: 8px;
  font-size: 0.9em;
}
.address {
    font-size:0.9em;
}

.poi-card-dates2 {
  font-size: 0.85em;
  color: #95a5a6;
  margin-bottom: 10px;
}

.poi-card-description {
  margin-bottom: 15px;
  line-height: 1.5;
}

.poi-card-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ecf0f1;
  padding-top: 12px;
  margin-top: 12px;
  font-size: 0.9em;
  color: #7f8c8d;
}

.poi-card-actions {
  margin-top: 15px;
  display: flex;
  gap: 8px;
}

.rating {
  display: flex;
  align-items: center;
}

.likes, .dislikes {
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.likes {
  color: #3498db;
}

.dislikes {
  color: #e74c3c;
}

.likes i, .dislikes i {
  margin-left: 4px;
}


.poi-dates {
  margin: 8px 0 15px 0;
  font-size: 0.9em;
  color: #7f8c8d;
  display: flex;
  flex-wrap: wrap;
}

.creation-date, .approve-date {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
}

.creation-date:before, .approve-date:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}

.creation-date:before {
  background-color: #3498db;
}

.approve-date:before {
  background-color: #27ae60;
}

@media (max-width: 768px) {
  .poi-card-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .poi-dates {
    flex-direction: column;
    gap: 8px;
  }
  
  .creation-date, .approve-date {
    margin-right: 0;
  }
}

.privacy-answer {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .privacy-text {
    flex: 3;
  }
  
  .privacy-logo {
    flex: 1;
    text-align: center;
    max-width: 150px;
  }
  
  .dsgvo-logo {
    max-width: 100%;
    border-radius1: 50%;
  }
  
  @media (max-width: 768px) {
    .privacy-answer {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .privacy-logo {
      margin-top: 10px;
    }
  }






  .poi-list-home {
        background-color: white;
        padding: 20px;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }
      
      .list-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
      }
      
      .filter-container,.list-filters {
        position: relative;
        max-width: 300px;
        width: 100%;
      }
      
      #poi-search-home,#poi-search {
        width: 100%;
        padding: 8px 35px 8px 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
      }
      
      #clear-filter {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #999;
        cursor: pointer;
        padding: 5px;
        display: none;
      }
      
      #clear-filter:hover {
        color: #333;
      }
      
      #poi-list {
        list-style: none;
        padding: 0;
        margin: 0;
      }
      
      .poi-list-item {
        display: flex;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        position: relative;
      }
      
      .poi-list-item:last-child {
        border-bottom: none;
      }
      
      .poi-item-number {
        width: 30px;
        height: 30px;
        background-color: #3498db;
        color: white;
        text-align: center;
        line-height: 30px;
        border-radius: 50%;
        margin-right: 15px;
        flex-shrink: 0;
      }
      
      .poi-item-content {
        flex-grow: 1;
      }
      
      .poi-item-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 5px;
      }
      
      .poi-item-header h4 {
        margin: 0;
      }
      
      .poi-item-meta {
        display: flex;
        font-size: 0.85em;
        color: #7f8c8d;
      }
      
      .poi-item-ratings {
        display: flex;
        margin-right: 15px;
      }
      
      .likes, .dislikes {
        display: flex;
        align-items: center;
      }
      
      .likes {
        color: #3498db;
        margin-right: 10px;
      }
      
      .dislikes {
        color: #e74c3c;
      }
      
      .comments {
        display: flex;
        align-items: center;
        min-width: 100px;
      }
      
      .poi-item-description {
        color: #7f8c8d;
        margin: 0;
        font-size: 0.9em;
      }
      
      .no-results {
        text-align: center;
        padding: 20px;
        color: #7f8c8d;
      }
      
      /* Responsive adjustments */
      @media (max-width: 768px) {
        .list-header {
          flex-direction: column;
          align-items: flex-start;
        }
        
        .filter-container {
          max-width: 100%;
          margin-top: 10px;
        }
        
        .poi-item-header {
          flex-direction: column;
        }
        
        .poi-item-meta {
          margin-top: 5px;
        }
      }



.numbered-marker {
    background: transparent;
    border: none;
}

.marker-number {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background-color: #3498db;
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transform: rotate(-45deg);
    position: relative;
}

.marker-number::before {
    content: attr(data-number);
    display: block;
    color:#555;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    line-height: 30px;
}
.marker-number::after {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    background-color: white;
    top: 5px;
    left: 5px;
    z-index: -1;
}

.marker-number div {
    transform: rotate(45deg);
}

.leaflet-popup-content-wrapper {
    border-radius: 4px;
}

.leaflet-popup-content {
    margin: 10px 12px;
    line-height: 1.5;
}

.leaflet-popup-content strong {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
}

.leaflet-popup-content a {
    display: inline-block;
    margin-top: 5px;
    color: #3498db;
    text-decoration: none;
}

.leaflet-popup-content a:hover {
    text-decoration: underline;
}

.numbered-marker {
    z-index: 1000 !important;
}






.numbered-marker {
    background: transparent;
    border: none;
}

.marker-number {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transform: rotate(-45deg);
    position: relative;
}

.marker-number::before {
    content: attr(data-number);
    display: block;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
}

.marker-number::after {
    content: "";
    width: 14px;
    height: 14px;
    position: absolute;
    border-radius: 50%;
    background-color: white;
    top: 8px;
    left: 8px;
    z-index: -1;
}

.numbered-marker {
    z-index: 1000 !important;
}

.custom-popup {
    padding: 5px;
}

.custom-popup h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #2c3e50;
}

.custom-popup p {
    margin: 8px 0;
    font-size: 14px;
    color: #7f8c8d;
}

.popup-category {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    color: white;
    font-size: 12px;
    margin-bottom: 8px;
}

.popup-meta {
    display: flex;
    font-size: 12px;
    color: #7f8c8d;
    margin: 8px 0;
}

.popup-likes {
    color: #3498db;
    margin-right: 8px;
}

.popup-dislikes {
    color: #e74c3c;
    margin-right: 8px;
}

.popup-comments {
    color: #7f8c8d;
}

.popup-link {
    display: inline-block;
    margin-top: 8px;
    color: #3498db;
    font-weight: bold;
    text-decoration: none;
}

.popup-link:hover {
    text-decoration: underline;
}

.category-filter-control {
    background: white;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    max-width: 200px;
}

.filter-header {
    font-weight: bold;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 300px;
    overflow-y: auto;
}

.filter-options label {
    display: flex;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
}

.filter-options input {
    margin-right: 5px;
}

.heat-map-toggle {
    background: white;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.map-control-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.map-control-btn:hover {
    background-color: #2980b9;
}

.map-control-btn.active {
    background-color: #e74c3c;
}

.map-legend {
    background: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    max-width: 200px;
}

.map-legend h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 200px;
    overflow-y: auto;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.legend-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
}

.category-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    color: white;
    font-size: 12px;
    margin-right: 10px;
    background:#666;
}

.category-historical,.category-HISTORICAL {
    background-color: #e74c3c;
}

.category-nature,.category-NATURE {
    background-color: #2ecc71;
}

.category-gastronomy,.category-GASTRONOMY {
    background-color: #f39c12;
}

.category-shopping,.category-SHOPPING {
    background-color: #9b59b6;
}

.category-culture,.category-CULTURE {
    background-color: #e67e22;
}

.category-sports,.category-SPORTS {
    background-color: #1abc9c;
}

.category-public,.category-PUBLIC {
    background-color: #34495e;
}

.category-other,.category-OTHER {
    background-color: #7f8c8d;
}

.category-none,.category-NONE {
    background-color: #3498db;
}

.marker-cluster {
    background-color: rgba(52, 152, 219, 0.6);
}

.marker-cluster div {
    background-color: rgba(41, 128, 185, 0.6);
    color: white;
    font-weight: bold;
}

@media (max-width: 768px) {
    .category-filter-control,
    .heat-map-toggle,
    .map-legend {
        max-width: 180px;
    }
    
    .filter-options,
    .legend-items {
        max-height: 200px;
    }
}


/* Styling for category dropdown */
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  appearance: none; /* Remove default arrow in some browsers */
  -webkit-appearance: none; /* Remove default arrow in WebKit browsers */
  -moz-appearance: none; /* Remove default arrow in Firefox */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
}

.form-group select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

.form-group select:hover {
  border-color: #bbb;
}

/* Style for the options in the dropdown */
.form-group select option {
  padding: 10px;
}



/* CSS für die Teilen-Funktionalität - zu static/css/main.css hinzufügen */

/* Teilen-Button */
.btn-share {
    display: inline-flex;
    align-items1: center;
    gap: 5px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.btn-share:hover {
    background-color: #2980b9;
}

.btn-share i {
    font-size: 16px;
}

/* Teilen-Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: #333;
}

/* URL Teilen Container */
.share-url-container {
    display: flex;
    margin: 20px 0;
}

#share-url {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

#copy-url {
    border-radius: 0 4px 4px 0;
    border: 1px solid #3498db;
    background-color: #3498db;
    color: white;
    cursor: pointer;
}

/* Teilen-Optionen */
.share-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
    min-width: 80px;
    text-align: center;
}

.share-option:hover {
    background-color: #e9ecef;
}

.share-option i {
    font-size: 24px;
    margin-bottom: 8px;
}

.share-option i.icon-email {
    color: #d44638; /* Gmail-Rot */
}

.share-option i.icon-whatsapp {
    color: #25D366; /* WhatsApp-Grün */
}

.share-option i.icon-telegram {
    color: #0088cc; /* Telegram-Blau */
}

.share-option i.icon-signal {
    color: #3a76f0; /* Signal-Blau */
}

.share-option i.icon-facebook {
    color: #1877f2; /* Facebook-Blau */
}

.share-feedback {
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    margin-top: 15px;
}

.share-feedback.success {
    background-color: #d4edda;
    color: #155724;
}

.share-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive Anpassungen */
@media (max-width: 480px) {
    .share-options {
        justify-content: center;
    }
}


/* Interactive Legend Styles */
.interactive-legend {
    cursor: default;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    margin-bottom: 8px;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    padding-right: 12px;
}

.legend-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.legend-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.legend-item span {
    flex-grow: 1;
}

.legend-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 3px;
    margin-left: 8px;
    position: relative;
    flex-shrink: 0;
}

.legend-checkbox.checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #3498db;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.legend-actions {
    margin-top: 10px;
    text-align: center;
}

.legend-actions .btn {
    font-size: 11px;
    padding: 4px 8px;
}

/* Make legend more compact on small screens */
@media (max-width: 768px) {
    .map-legend {
        max-width: 160px;
    }
    
    .legend-item {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    .legend-marker {
        width: 12px;
        height: 12px;
        margin-right: 5px;
    }
    
    .legend-checkbox {
        width: 14px;
        height: 14px;
    }
}


/* Collapsible Legend Styles */
.map-legend {
    background: white;
    padding: 0;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    max-width: 180px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.legend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.legend-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.legend-toggle {
    background: none;
    border: none;
    padding: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.legend-header.collapsed .toggle-icon {
    transform: rotate(-45deg);
}

.legend-content {
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.legend-content.collapsed {
    max-height: 0;
    padding: 0 10px;
    overflow: hidden;
}

.legend-items {
    margin-bottom: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    margin-bottom: 5px;
    padding: 3px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
    padding-right: 12px;
}

.legend-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
}

.legend-item span {
    flex-grow: 1;
    font-size: 11px;
}

.legend-checkbox {
    width: 14px;
    height: 14px;
    border: 1.5px solid #ccc;
    border-radius: 2px;
    margin-left: 4px;
    position: relative;
    flex-shrink: 0;
}

.legend-checkbox.checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 4px;
    width: 4px;
    height: 7px;
    border: solid #3498db;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.legend-actions {
    text-align: center;
}

.legend-actions .btn {
    font-size: 10px;
    padding: 3px 6px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .map-legend {
        max-width: 150px;
    }
}
.bold {
    font-weight:bold;
}

/* Add to static/css/main.css */

/* Expandable Section Styles */
.expandable-section {
  margin: 20px 0;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.expandable-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: background-color 0.2s;
}

.expandable-header:hover {
  background-color: #e9ecef;
}

.expandable-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.expandable-icon {
  width: 14px;
  height: 14px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.expandable-header.expanded .expandable-icon {
  transform: rotate(-135deg);
  margin-top: 5px;
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: white;
}

.expandable-content.expanded {
  max-height: 1000px; /* Large enough for most content */
  padding: 20px;
  border-top: 1px solid #e0e0e0;
}

#about-app-container {
  min-height: 50px;
}

footer-links {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #f5f5f5;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.footer-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.footer-nav a:hover {
    color: #007bff;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand span {
    font-size: 14px;
    color: #fff;
    margin-bottom: 5px;
}

.footer-brand img {
    max-height: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
}
