/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Form Elements */
.input-field, .textarea-field {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.input-field:focus, .textarea-field:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.button-primary {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-primary:hover {
    background-color: #0056b3;
}

.error-message {
    color: #FF4D4F;
    font-weight: bold;
    margin-top: 10px;
}

/* Map Styles */
#map {
    height: 400px;
    width: 100%;
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #eaeaea; /* Fallback, falls die Karte nicht geladen wird */
}

/* Popup Message */
.popup-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.popup-message.error {
    background: rgba(255, 0, 0, 0.8);
}

.popup-message.success {
    background: rgba(0, 128, 0, 0.8);
}

/* Navbar */
.navbar-bottom {
	z-index: 1000;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #007BFF;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.navbar-bottom a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s;
}

.navbar-bottom a:hover {
    color: #FFD700;
}

/* Responsiv für schmale Bildschirme */
@media (max-width: 600px) {
  .container {
    width: 90%;
    margin: 20px auto;
  }
  .navbar-top a, .navbar-bottom a {
    margin: 5px;
    display: inline-block;
  }
}
