:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --warning-color: #f1c40f;
    --light-bg: #ecf0f1;
    --dark-bg: #2c3e50;
    --sidebar-width: 250px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
}

.wrapper {
    display: flex;
    width: 100%;
}

/* Sidebar Styling */
#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    background: #343a40;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #2c3136;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 10px 20px;
    display: block;
    color: #fff;
    text-decoration: none;
}

#sidebar ul li a:hover {
    background: #2c3136;
}

/* Content Bereich */
#content {
    width: 100%;
    min-height: 100vh;
    background: #f8f9fa;
}

/* Navbar im Content-Bereich */
#content .navbar {
    background: #343a40;
    padding: 15px;
}

/* Hauptinhalt Padding */
.content-body {
    padding: 20px;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #2c3136;
}

.user-info {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
}

/* Card Styling */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Disable card hover animations when user preference is set */
.disable-card-hover .card {
    transition: none !important;
}

.disable-card-hover .card:hover {
    transform: none !important;
}

/* Button Styling */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Table Styling */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: var(--primary-color);
    color: white;
    border: none;
}

/* Form Styling */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Modal Styling */
.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    background: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0;
}

/* Alert Styling */
.alert {
    border-radius: 10px;
    border: none;
}

.einsatzplanung-container {
    margin-top: 2rem;
}

.einsatz-zelle {
    height: 100px;
    position: relative;
    padding: 2px !important;
    vertical-align: top;
}

.einsatz-block {
    margin: 1px;
    padding: 4px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.einsatz-block:hover {
    background-color: rgba(0, 123, 255, 0.2) !important;
}

.table-responsive {
    max-height: 80vh;
    overflow-y: auto;
}

.table th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

/* Logo-Styling */
.navbar-logo-container {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 5px 0;
    margin-left: auto;
}

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .navbar-logo {
        height: 40px;
        max-width: 150px;
    }
    
    .navbar-logo-container {
        margin: 0 auto;
    }
}

/* Optional: Hover-Effekt */
.navbar-logo:hover {
    opacity: 0.9;
    transition: opacity 0.2s ease-in-out;
} 