/* Globale Stile sind in style.css definiert. Hier sind die Überschreibungen und spezifischen Stile für das Hauptmenü. */

.button-container button {
    background-color: #4c566a; /* Ein neutrales Grau-Blau als Standard für alle Buttons im Hauptmenü */
    color: #eceff4;
    transition: background-color 0.3s, transform 0.2s;
}

.button-container button:hover {
    background-color: #5a657a;
    transform: translateY(-2px); /* Leichter Schwebe-Effekt */
}

/* --- SPEZIFISCHE BUTTON-FARBEN --- */

/* "Zurück zur Projektauswahl"-Button wird rot */
#back-to-projects-button {
    background-color: #dc3545;
    color: #ffffff;
}

#back-to-projects-button:hover {
    background-color: #c82333;
}

/* "Aufgaben"-Button wird grün */
#tasks-button {
    background-color: #28a745;
}

#tasks-button:hover {
    background-color: #218838;
}

/* "Lager"-Button wird braun */
#lager-button {
    background-color: saddlebrown;
}

#lager-button:hover {
    background-color: #6B4226; /* Dunkleres Braun */
}

/* "Maschinen"-Button bleibt rot */
#machines-button {
    background-color: #dc3545;
}

#machines-button:hover {
    background-color: #c82333;
}

/* "Visitenkarten"-Button wird gelb */
#visitenkarten-button {
    background-color: yellow;
    color: #333; /* Dunkle Schrift für besseren Kontrast auf Gelb */
}

#visitenkarten-button:hover {
    background-color: #e6e600; /* Dunkleres Gelb */
}

/* "Sicherung Finden"-Button wird hellblau */
#sicherung-finden-button {
    background-color: lightblue;
    color: #333; /* Dunkle Schrift für besseren Kontrast */
}

#sicherung-finden-button:hover {
    background-color: #9acfea;
}

/* "Mitglieder verwalten"-Button wird lila */
#members-button {
    background-color: purple;
}

#members-button:hover {
    background-color: #6a006a;
}

/* "Protokolle"-Button wird gold */
#protocol-templates-button {
    background-color: gold;
    color: #333; /* Dunkle Schrift für besseren Kontrast */
}

#protocol-templates-button:hover {
    background-color: #e6c300;
}

/* --- STILE FÜR INFO-POPUP --- */

#info-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* Standardmäßig unsichtbar */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#info-popup-box {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: left;
    animation: fadeIn 0.3s ease-out;
}

#info-popup-box h2 {
    margin-top: 0;
    color: #333;
}

#info-popup-box ul {
    padding-left: 20px;
}

#info-popup-box li {
    margin-bottom: 10px;
}

#close-popup-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
    width: fit-content;
}

#close-popup-button:hover {
    background-color: #0056b3;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
