body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #333;
    color: #f4f4f4;
}
h1 {
    color: #f4f4f4;
    padding: 0px;
    text-align: center; /* Text zentrieren */
}
header {
    margin-top: 0;
    padding-top: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: #1d1d1b;
    text-align: center;
    padding-bottom: 0;
}
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Vollbild-Höhe */
    text-align: center;
    margin-top: 0;
    padding-top: 0;
}
footer {
    background-color: #1d1d1b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 50px;
}
table {
    width: 100%;
    border-collapse: collapse; /* Rahmen werden zusammengezogen */
}

th, td {
    border: 1px solid #ccc;   /* Dünner grauer Rahmen */
    padding: 8px;
    text-align: center;
}

th {
    background: #f4f4f4;
    color: #222;
}
.headline {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh; /* Vollbild-Höhe */
    text-align: center;
    padding-top: 20px;
    margin-top: 0;
}
.menu-btn {
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: none;
    border: none;
    color: #f4f4f4;
    text-align: left;
}
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #444;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 50px;
    box-sizing: border-box;
    z-index: 999;
    visibility: hidden; /* Initially hidden */
    text-align: left;
    margin-bottom: 0;
    padding-bottom: 0;
}
.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #f4f4f4;
    display: block;
    transition: 0.3s;
}
.sidebar a:hover {
    background-color: #575757;
}
.main-content {
    margin-left: 0;
    transition: margin-left 0.3s;
    padding: 0;
}
.sidebar.open {
    width: 250px;
    visibility: visible; /* Show sidebar when open */
}
.main-content.shift {
    margin-left: 250px;
}

.logo-banner {
    width: 80%;
    max-width: 500px;
    height: auto;
}
.footer-columns {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.footer-col {
    text-align: left;
}

.footer-col h4 {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.footer-col a {
    color: #f4f4f4;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}
.after-banner {
    background-color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
}
.content-box {
    background-color: #444;
    color: #f4f4f4;
    padding: 20px;
    padding-top: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 800px;
    text-align: left;
}
.content-box-data {
    background-color: #444;
    color: #f4f4f4;
    padding: 20px;
    padding-top: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 800px;
    text-align: center;
}
.login-box {
    background-color: #444;
    color: #f4f4f4;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px; /* Breite der Login-Box */
    max-width: 100%;
    text-align: center; /* Zentriert den Inhalt innerhalb der Box */
}
.login-box button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px; /* Optional: Innenabstand des Buttons */
    background-color: #1d1d1b; /* Beispiel: Hintergrundfarbe des Buttons */
    color: #f4f4f4; /* Beispiel: Textfarbe des Buttons */
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.login-box button:hover {
    background-color: #333; /* Beispiel: Hover-Effekt */
}
.header-box {
    display: flex;
    flex-direction: column; /* Elemente vertikal anordnen */
    align-items: center; /* Zentriert die Inhalte horizontal */
    gap: 15px; /* Abstand zwischen den Elementen */
}
.action-btn {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px; /* Breite der Login-Box */
    max-width: 100%;
    padding: 10px 20px;
    background-color: #333;
    color: #f4f4f4;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
.action-btn:hover {
    background-color: #444; /* Hover-Effekt */
}
.status {
    margin-top: 20px; /* Abstand oberhalb der Statusanzeige */
    font-size: 16px;
    color: #f4f4f4;
}
.status span {
    font-weight: bold;
    color: #f4f4f4;
}
.status span[status_data="Running"] {
    color: #008000;
}
.status span[status_data="Stopped"] {
    color: #ff0000;
}
.application-box {
    background-color: #444;
    color: #f4f4f4;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px; /* Breite der Login-Box */
    max-width: 100%;
    text-align: center;
}
.grid-container {
    display: grid; /* Aktiviert das Grid-Layout */
    grid-template-columns: 1fr 1fr; /* 3 Spalten mit gleicher Breite */
    grid-template-rows: auto auto;
    gap: 20px; /* Abstand zwischen den Elementen */
    padding: 20px; /* Innenabstand des Containers */
    justify-items: center;
    align-items: center;
    background-color: #444; /* Optional: Hintergrundfarbe */
    border: 1px solid #ccc; /* Optional: Rahmen */
    border-radius: 10px; /* Optional: Abgerundete Ecken */
}
.grid-item {
    background-color: #444; /* Hintergrundfarbe der Elemente */
    color: #f4f4f4; /* Textfarbe */
    padding: 10px;
    text-align: center;
    border-radius: 5px; /* Abgerundete Ecken */
    font-size: 16px;
}
.login-area {
    position: fixed;
    right: 30px;
    top: 30px;
    z-index: 1000;
    background-color: rgba(51,51,51,0.7);
}

.login-btn {
    padding: 8px 18px;
    background-color: transparent;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.login-btn:hover {
    background: rgba(255,255,255,0.1);
}
.email-controller-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    justify-items: center;
    align-items: start;
    margin-bottom: 30px;
}

.email-controller-grid .grid-title {
    grid-column: 1 / span 2;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.email-controller-grid .grid-mailinglist-btn {
    grid-column: 1 / span 2;
    text-align: center;
    background-color: #333;
}

.email-controller-grid .mailinglist-box {
    grid-column: 1 / span 2;
    width: 100%;
    text-align: left;
}

.grid-run-analysis-btn {
    grid-column: 1 / span 2;
    text-align: center;
    background-color: #333;
}