/* Hauptlayout */
.main-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1024px;
    padding: 20px;
    box-sizing: border-box;
    padding-bottom: 80px; /* Platz für den fixed Footer */
}

@media (min-width: 769px) {
    .main-container { width: 80%; }
}

/* Obere Button-Leiste (Sticky) */
.top-buttons {
    position: sticky;
    top: 10px;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.top-buttons button {
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
}

/* Puls-Effekt für aktives Mikro */
.pulse-active {
    animation: pulse-red 1.5s infinite;
    background-color: #ffeded !important;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* Chat & Textfeld */
#user-input {
    width: 100%;
    height: 150px;
    margin-top: 10px;
    padding: 10px;
    font-family: inherit;
}

#chat-output {
    margin-top: 20px;
    padding: 15px;
    border: 1px dashed #bbb;
    background: #fdfdfd;
    min-height: 50px;
}

/* Unterer Nav-Container (Fixed) */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1024px;
    display: flex;
    justify-content: space-around;
    background: #fff;
    padding: 15px;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

/* Status-Popup */
#status-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 20px 40px;
    border-radius: 30px;
    z-index: 1000;
    font-weight: bold;
}
