        :root {
            --primary: #3498db;
            --secondary: #2c3e50;
            --light: #ecf0f1;
            --dark: #34495e;
            --success: #27ae60;
            --danger: #e74c3c;
            --text-light: #ffffff;
            --text-dark: #333333;
            --shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }				
				
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            background-color: #f5f7fa;
            color: var(--text-dark);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
				
		header {
            background-color: var(--secondary);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-wrap: wrap;
        }
        
        nav a {
            color: var(--text-light);
            text-decoration: none;
            padding: 15px 20px;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }
        
        nav a:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        nav a.nav-link {
            background-color: var(--primary);
            margin-left: auto;
            border-radius: 4px;
            margin: 10px 0 10px 10px;
        }
        
        nav a.nav-link:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
        }
        
        main {
            flex: 1;
            padding: 20px;
            max-width: 1200px;
            width: 100%;
            margin: 20px auto;
        }
        
        @media (max-width: 768px) {
            nav {
                flex-direction: column;
                padding: 10px;
            }
            
            nav a {
                padding: 12px 15px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            nav a.nav-link {
                margin-left: 0;
                margin-top: 10px;
                justify-content: center;
                order: 99; /* Ans Ende verschieben */
            }
        }				
				
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Dashboard-Spezifische Styles */
.dashboard {
    padding: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    color: var(--dark);
    opacity: 0.8;
    margin-top: 5px;
}

.stat-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    opacity: 0.2;
}

.recent-projects {
    margin: 40px 0;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.quick-actions {
    margin-top: 40px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.primary {
    background: var(--primary);
    color: white;
}

.secondary {
    background: var(--light);
    color: var(--dark);
    border: 1px solid #ddd;
}

/* Login-spezifische Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    margin-top: 0;
    color: var(--primary);
    text-align: center;
}

.alert {
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert.error {
    background-color: #fde8e8;
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: var(--dark);
    opacity: 0.7;
    font-size: 0.9em;
    text-decoration: none;
}

.forgot-password a:hover {
    opacity: 1;
    text-decoration: underline;
}
		
/* Registrierung-spezifische Styles */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.register-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
}

.register-box h1 {
    margin-top: 0;
    color: var(--primary);
    text-align: center;
}

.alert ul {
    margin: 10px 0;
    padding-left: 20px;
}

.alert ul li {
    margin-bottom: 5px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
    color: #666;
}

.terms {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

.terms a {
    color: var(--primary);
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* Druckerverwaltung-spezifische Styles */
.printers-container {
    padding: 20px;
}

.printers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.printer-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.printers-list {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.actions {
    white-space: nowrap;
}

.btn.small {
    padding: 5px 10px;
    font-size: 0.8em;
}

.btn.danger {
    background: var(--danger);
    color: white;
}

@media (max-width: 768px) {
    .printers-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Filamentverwaltung-spezifische Styles */
.filaments-container {
    padding: 20px;
}

.filaments-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.filament-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filaments-list {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filaments-list table {
    width: 100%;
}

.filaments-list th:nth-child(1),
.filaments-list td:nth-child(1) {
    width: 25%;
}

.filaments-list th:nth-child(2),
.filaments-list td:nth-child(2) {
    width: 20%;
}

.filaments-list th:nth-child(3),
.filaments-list td:nth-child(3),
.filaments-list th:nth-child(4),
.filaments-list td:nth-child(4) {
    width: 15%;
}

.filaments-list th:nth-child(5),
.filaments-list td:nth-child(5) {
    width: 25%;
}

@media (max-width: 1024px) {
    .filaments-content {
        grid-template-columns: 1fr;
    }
    
    .filaments-list table {
        display: block;
        overflow-x: auto;
    }
}

/* Gemeinkosten-spezifische Styles */
.overheads-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.overheads-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    margin-top: 0;
    color: var(--primary);
    font-size: 1.2em;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-suffix {
    background: #f5f5f5;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-left: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}