.admin-container {
    max-width: 1000px; 
    margin: 40px auto; 
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6); 
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9em;
}

body {
    font-family: Arial, sans-serif;
    background-color: #DCC9B0; 
    margin: 0;
    padding: 0;
    min-height: 100vh;       /* volle Höhe */
    display: flex;
    flex-direction: column;  /* Kinder untereinander */
    position: relative; 
}
body::before {
    content: ''; 
    position: absolute;
    left: 50px; 
    bottom: 0; 
    width: 100%; 
    height: 100%;
    background-image: url('pfoten.png'); 
    background-repeat: no-repeat; 
    background-size: 150% auto; 
    background-position: 0% 100%; 
    opacity: 0.2; 
    z-index: 1; 
}

body::after {
    content: ''; 
    position: absolute;
    left: 60%; 
    bottom: 0; 
    margin-left: 0; 
    transform: none; 
    width: 100%;
    height: 100%;
    background-image: url('pfoten.png'); 
    background-repeat: no-repeat; 
    background-size: 150% auto; 
    background-position: 0% 100%; 
    opacity: 0.2; 
    z-index: 1; 
}

header {
    width: 100%;
    margin-bottom: 0; 
}

.header-image-wrapper {
    width: 100%;
    height: 400px; 
    overflow: hidden; 
    text-align: center;
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: relative; 
    z-index: 2; 
}

.header-image {
    width: 100%;
    height: 100%; 
    object-fit: contain; 
}

.buchungs-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px; 
}

.buchungs-card {
    background-color: rgba(255, 255, 255, 0.6); 
    padding: 20px 30px 30px; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; 
    position: relative;
    z-index: 1; 
    text-align: center;
}

.buchungs-card h1,
.buchungs-card h2,
.buchungs-card h3 {
    margin-top: 5px;     
    margin-bottom: 5px; 
}

.buchungs-card h1 {
    font-size: 1.8em; 
    margin-bottom: 20px; 
}

.buchungs-card h2 {
    font-size: 1.4em; 
}

.form-group {
    margin-bottom: 10px; 
}

.form-group label {
    display: block;
    margin-bottom: 0px; 
    font-weight: bold;
    text-align: left; 
}

.form-group input[type="text"], 
.form-group input[type="tel"], 
.form-group input[type="date"],
.form-group input[type="email"], 
.form-group select,
.form-group textarea {
    width: 100%; 
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
    margin-left: auto;
    margin-right: auto;
    display: block; 
    
    font-family: inherit; 
    font-size: 16px; 
    font-weight: 500; 
}
.form-group textarea {
    height: 50px; 
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; 
    border-color: #007bff; 
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.btn-buchen {
    display: inline-block;
    padding: 12px 20px;
    background-color: #28a745; 
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    margin: 5px;
    text-decoration: none;
    margin-top: 0px; 
}

.btn-buchen.back-btn {
    background-color: #6c757d !important; 
}

.btn-buchen:hover {
    background-color: #218838;
}

.btn-buchen.back-btn:hover {
    background-color: #5a6268 !important;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
}

.alert-success-payment {
    color: #28a745 !important; 
    font-weight: bold;
}

.admin-container h1 {
    color: #007bff; 
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #e9ecef; 
    color: #495057;
    font-weight: bold;
}

tr:hover {
    background-color: #f1f1f1; 
}

.status-gebucht {
    color: #28a745; 
    font-weight: bold;
}

.status-pending {
    color: #ffc107; 
    font-weight: bold;
}

.info-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.info-left, .info-right {
    font-weight: bold;
    font-size: 1.1em;
}

.form-footer {
    width: 100%;
    text-align: center;
    border-top: 1px solid #eee; 
    padding-top: 20px;
    margin-top: 20px;
}
/* AGB-Link */
.agb-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9em;
}

/* AGB-Dialog */
dialog#agb_dialog {
    border: none;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-size: 0.9em;
    background-color: #fff;
    z-index: 1000;
}

/* AGB-Dialog-Inhalt */
#agb_dialog h2 {
    margin-top: 0;
    font-size: 1.2em;
    text-align: center;
}

#agb_dialog p {
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Schließen-Button im Dialog */
#close_agb_dialog {
    margin-top: 20px;
    background-color: #ccc;
    color: #333;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

/* Impressum-Card */
.impressum-card {
    background-color: rgba(255, 255, 255, 0.8); /* halbtransparent, wie deine anderen Cards */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    max-width: 600px;
    text-align: center;
    margin: auto; /* sorgt für horizontale Zentrierung */
    z-index: 1;
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.impressum-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: inherit;
}

.impressum-container {
    flex: 1;
    display: flex;
    justify-content: center;   /* horizontal */
    align-items: center;       /* vertikal */
    padding: 20px;
}

/* Dropdown-Container */
.dropdown {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

/* Standardmäßig versteckt */
/* Standardmäßig versteckt */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  min-width: 200px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Dropdown sichtbar, wenn JS die Klasse .show setzt */
.dropdown-content.show {
  display: block;
}

