

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');


body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 20px;
}

/* Obere Leiste */
/* Titelleiste anpassen */
.top-bar {
    background-color: #e40038;
    color: #fff;
    padding: 15px 20px; /* Padding links und rechts, um Abstand zum Rand zu gewährleisten */
    text-align: left; /* Text innerhalb der Titelleiste linksbündig */
    display: flex; /* Flexbox verwenden, um den Inhalt auszurichten */
    align-items: center; /* Vertikale Zentrierung */
    justify-content: flex-start; /* Inhalt nach links ausrichten */
    font-size: 22px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 60px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-bar h1 {
    margin: 0; /* Kein Margin, um es bündig zu halten */
    font-size: 28px; /* Schriftgröße */
    line-height: 60px; /* Vertikale Zentrierung */
}


h2 {
      font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 10px;
    
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    width: 50%; /* Gleiche Breite für beide Spalten */
}

tr {
    background-color: #f9f9f9;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}


button {
  margin: 10px; 
}



.booked {
    background-color: #FA7A46;
    color: white;
}

button.booking-btn {
    padding: 5px 10px;
    background-color: #8AA879;
    color: white;
    border: none;
    cursor: pointer;
}


/* Stelle sicher, dass Tabellenüberschriften auch die feste Breite haben */
th {
    width: 50%; /* Gleiche Breite für Überschriftsspalten */
}


/* Benutzerdefinierte Buttonfarben */
.btn-primary {
    background-color: #8AA879; /* Anpassbare Farbe für den "Speichern"-Button */
    border-color:  #8AA879;
     
}

.btn-primary:hover {
    background-color: #708663; /* Dunklere Farbe beim Hover */
    border-color: #708663;
   
}

.btn-primary:focus {
    background-color: #8AA879; /* Dunklere Farbe beim Hover */
    border-color: #708663;
   
}

.btn-primary:active {
    background-color: #8AA879; /* Dunklere Farbe beim Hover */
    border-color: #708663;
   
}


.btn-secondary {
    background-color: #E7E7E7; /* Anpassbare Farbe für den "Zurück"-Button */
    color: #333; /* Anpassbare Textfarbe */
    border-color: #CCC;
}

.btn-secondary:hover {
    background-color: #CCC; /* Dunklere Farbe beim Hover */
    color: #000;
    border-color: #AAA;
}

.btn-danger {
    background-color: #FA7A46; /* Anpassbare Farbe für den "Löschen"-Button */
    border-color: #FA7A46;
    
        

}

.btn-danger:hover {
    background-color: #d0673d; /* Dunklere Farbe beim Hover */
    border-color: #d0673d;
}


/* Benutzerdefinierte Farbe für den PDF-Button */
.btn-pdf {
    background-color: #FA7A46 !important; /* Grüne Farbe für den PDF-Button */
    border-color: #FA7A46 !important;
    color: white !important; /* Weiße Schriftfarbe */
    
}

.btn-pdf:hover {
    background-color: #d0673d !important; /* Dunklere grüne Farbe beim Hover */
    border-color: #d0673d !important;
}

/* Benutzerdefinierte Farbe für den Logout-Button */
.btn-logout {
    background-color: #cc3b20; /* Gelbe Farbe für den Logout-Button */
    border-color: #cc3b20; 
    color: white; /* Weiße Schriftfarbe */
   
}

.btn-logout:hover {
    background-color: #a7321d;  /* Dunklere Gelbe Farbe beim Hover */
    border-color: #a7321d; 
}


/* Anpassungen für das Booking Modal */
#bookingModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 80%; /* Feste Breite des Modals */
    max-width: 90%; /* Maximal 90% der Bildschirmbreite */
    border-radius: 8px; /* Abgerundete Ecken */
}

#bookingModal input {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
}

#bookingModal button {
    padding: 10px 15px;
    margin-right: 10px;
    cursor: pointer;
    border: none;
    border-radius: 5px; /* Abgerundete Ecken für die Buttons */
}

/* Anpassung der Buttonfarben im Modal */
#bookingModal button.btn-primary {
    background-color: #8AA879;   
; /* Buttonfarbe (z.B. Blau) */
    color: white;
}

#bookingModal button.btn-secondary {
    background-color: #6c757d; /* Sekundäre Buttonfarbe (z.B. Grau) */
    color: white;
}

/* Hover-Effekte für Buttons */
#bookingModal button.btn-primary:hover {
    background-color: #6a835c; /* Dunkleres Blau beim Hover */
}

#bookingModal button.btn-secondary:hover {
    background-color: #5a6268; /* Dunkleres Grau beim Hover */
}

/* Neue Stile für zentrierten Text, Datum und Erklärungstext */
.centered-text {
    font-family: 'Playfair Display', serif;
    text-align: center; /* Zentriert den Text */
    margin-bottom: 20px; /* Abstand unten */
}

.centered-text h2, .centered-text p {
    font-family: 'Playfair Display', serif;
    margin: 0; /* Entfernt unerwünschte Ränder */
}

.date-heading {
    font-size: 2rem; /* Größere Schriftgröße für das Datum */
    margin-bottom: 10px; /* Abstand unter dem Datum */
    color: #333; /* Dunklere Farbe für bessere Lesbarkeit */
}

.explanation-text {
    font-size: 1.25rem; /* Mittelgroße Schriftgröße für den Erklärungstext */
    color: #666; /* Hellere Farbe für Erklärungstext */
}

/* Zusätzliche Stile für die Bootstrap-Komponenten (falls verwendet) */
.modal-content {
    border-radius: 8px; /* Abgerundete Ecken für modale Fenster */
}

.modal-footer button {
    margin: 5px; /* Abstände zwischen den Buttons */
}
