
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #f4f6f8;
    color: #333;
}

/* Header */
.admin-header {
    background: #0077b6;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Footer */
.admin-footer {
    background: #0077b6;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Container für Sidebar + Main */
.admin-container {
    display: flex;
    margin-top: 60px; /* Platz für Header */
    margin-bottom: 40px; /* Platz für Footer */
    height: calc(100vh - 100px);
}

/* Sidebar */
.admin-sidebar {
    width: 220px;
    background: #005f86;
    color: #fff;
    padding-top: 80px;
}

.admin-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-sidebar li {
    margin-bottom: 15px;
}

.admin-sidebar a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background 0.3s;
}

.admin-sidebar a:hover {
    background: #0077b6;
}

/* Hauptbereich */
.admin-main {
    flex: 1;
    display: flex;
    justify-content: center; /* Horizontal zentriert */
    align-items: center; /* Vertikal zentriert */
    padding: 20px;
    overflow-y: auto;
}

/* Sektionen */
.admin-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 80%;
    text-align: center;
}

/* Buttons */
.btn-primary {
    background: #0077b6;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-primary:hover {
    background: #005f86;
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #cfcfcf;
}

.admin-main {
    flex: 1;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center; /* vertikal */
    padding: 20px;
    overflow-y: auto;
    transform: translateY(-30%); /* verschiebt den Content nach oben */
}
