body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.player-container {
    margin: 10px 0;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.player-container iframe {
    height: 120px !important;
}

button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #028c29;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background-color: #026e20;
}

#daysGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

#timesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.day-card, .time-slot {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.day-card:hover, .time-slot:hover {
    background-color: #f0f0f0;
}

#backButton {
    margin-bottom: 20px;
    background-color: #6c757d;
}

.hidden {
    display: none !important;
}

.time-slot.booked {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.time-slot.my-booking {
    background-color: #d4edda;
    position: relative;
}

.cancel-button {
    position: absolute;
    bottom: 5px;
    right: 5px;
    padding: 5px 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.cancel-button:hover {
    background-color: #c82333;
}

@keyframes highlight {
    0% {
        background-color: #d4edda;
        transform: scale(1);
    }
    50% {
        background-color: #d4edda;
        transform: scale(1.05);
    }
    100% {
        background-color: #d4edda;
        transform: scale(1);
    }
}

#timesView > div:first-child {
    margin: 10px 0;
}

/* Feedback Bereich Styling */
.feedback-container {
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 800px;
    padding: 0 20px;
}

.feedback-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.feedback-box {
    border: 1px solid #028c29;
    border-radius: 3px;
    padding: 30px;
    background-color: white;
    box-shadow: 0px 0px 11px 9px #028c29 inset;
}

.messaging-module {
    max-width: 600px;
    margin: 0 auto !important;
    padding: 1rem;
}

#appointmentsContainer {
    margin-bottom: 30px;
}

#timesView {
    margin-bottom: 30px;
}

/* Button Container */
.button-container {
    display: flex;
    gap: 15px;
    margin: 40px auto;
    max-width: 600px;
}

/* Sprachnachricht Button anpassen */
#recordButton {
    background-color: #dc3545;
    padding: 12px 24px;
    border-radius: 8px;
}

#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.notification {
    background: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 300px;
}

.notification.visible {
    opacity: 1;
    transform: translateX(0);
}

.notification.info {
    border-left: 4px solid #007bff;
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.error {
    border-left: 4px solid #dc3545;
}

#message-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

#message-box.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

#message-box.success {
    border-color: #28a745;
    background-color: #f5fff7;
}

.form-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.form-controls button {
    flex: 1;
    min-width: 200px;
    white-space: normal;
    min-height: 48px;
}

/* Audio Player Container */
#audioRecording {
    width: 100%;
    max-width: 600px;
    margin: 15px auto;
    text-align: center;
}

/* Audio Player selbst */
audio {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin: 10px 0;
}

/* Status Text */
#recordingStatus {
    color: #666;
    margin-bottom: 10px;
}

/* Alle Buttons einheitlich */
button, 
.btn,
#sendAudio {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 5px 0;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Spezifische Button-Farben */
#sendAudio {
    background-color: #007bff;
    color: white;
}