/* ===========================================
   Kundenportal – Globales Styling
   =========================================== */

/* Grundlayout */
html, body {
    height: 100%;
}

body {
    background: #f4f6f9;
    display: flex;
    flex-direction: column;
}

/* Wrapper für Sticky Footer */
.page-wrapper {
    flex: 1 0 auto;
}

/* Karten */
.card {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Überschriften */
h1, h2, h3 {
    margin-bottom: 20px;
}

/* Tabellen */
.table thead {
    background: #e9ecef;
    border-bottom: 2px solid #dee2e6;
}

.table tbody tr:hover {
    background-color: #f3f4f6;
}

/* Login/Registrierung Formulare */
form.card {
    max-width: 450px;
    margin: 0 auto;
}

/* ===========================================
   Navbar Styling
   =========================================== */

.navbar {
    border-bottom: 3px solid #0d6efd;
}

.navbar-brand {
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Header-Farbe */
.header-blue {
    background-color: #4479D9 !important;
}

/* ===========================================
   Admin – Sidebar
   =========================================== */

.admin-sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 80px; /* Abstand wegen Header */
    overflow-y: auto;
}

.sidebar-blue {
    background-color: #4479D9 !important;
}

/* ===========================================
   Admin – Karten & Alerts
   =========================================== */

.admin-alert {
    max-width: 450px;
    font-size: 0.9rem;
    padding: 8px 12px;
    margin: 0 auto 20px auto;
    text-align: center;
}

.admin-card {
    max-width: 700px;
}

/* ===========================================
   Buttons (global)
   =========================================== */

.btn-primary,
.btn-success {
    border-radius: 6px;
}

.btn-primary {
    padding: 8px 20px;
}

/* Kleine Buttons für "Edit / Sperren / Löschen" etc. */
.action-btn {
    display: inline-block !important;
    width: 80px !important;
    padding: 2px 3px !important;
    font-size: 0.75rem !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Kleine Buttons für Admin-Formulare */
.btn-form {
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
}

/* ===========================================
   Footer
   =========================================== */

/* Standard-Footer */
footer {
    padding: 20px 0;
    text-align: center !important;
    color: #777;
}

/* Footer im Admin-Bereich – Sidebar ausgleichen */
.admin-page footer {
    margin-left: 260px;
}
/* Breitere Box für Downloads zuweisen */
/* Breitere Box für Downloads zuweisen */
.assign-box {
    max-width: 800px;   /* etwas breiter als die Standard-Karten */
    margin: 0 auto;
}
/* ===========================================
   Sidebar Links (Admin + User) – fix für blaues Sidebar-Layout
   =========================================== */

.admin-sidebar a {
    color: #fff;
    text-decoration: none;
}

.admin-sidebar a:hover {
    color: #fff;
}

/* Wenn du Bootstrap list-group in der Sidebar nutzt */
.admin-sidebar .list-group-item {
    background: transparent !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 8px;
    margin-bottom: 4px;
}

.admin-sidebar .list-group-item:hover {
    background: rgba(255,255,255,0.15) !important;
}

.admin-sidebar .list-group-item.active {
    background: rgba(255,255,255,0.25) !important;
    color: #fff !important;
    font-weight: 600;
}

