:root {
    --primary-dark: #2A1F0F;
    --primary: #3D2E13;
    --primary-light: #5A4319;
    --accent: #D4A017;
    --accent-light: #E6B325;
    --accent-dark: #B38914;
    --success: #A77D35;
    --warning: #D4A017;
    --danger: #BF6F2A;
    --info: #8C6D3F;
    --text-light: #F5E9D2;
    --text-dark: #2A1F0F;
    --card-bg: #3D2E13;
    --bg-dark: #2A1F0F;
    --bg-darker: #1F1709;
    --pastel-green: #A77D35;
    --pastel-yellow: #D4A017;
    --pastel-red: #BF6F2A;
    --pastel-blue: #8C6D3F;
    --pastel-purple: #A77D35;
    --honey-light: #F5E9D2;
    --honey-medium: #D4A017;
    --honey-dark: #3D2E13;
    --wax-light: #F5E9D2;
    --wax-medium: #E6B325;
    --wax-dark: #5A4319;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    color: var(--text-light);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--wax-dark);
    flex-wrap: wrap;
    background: rgba(61, 46, 19, 0.8);
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--honey-light);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--honey-light);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: block;
    background: rgba(180, 137, 20, 0.2);
}

nav ul li a:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.card {
    background: linear-gradient(145deg, var(--card-bg), var(--primary-light));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--wax-dark);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--wax-dark);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--honey-light);
}

.card-content {
    margin-bottom: 15px;
}

.card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    background: var(--accent);
    color: var(--primary-dark);
}

.btn i {
    margin-right: 5px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background-color: var(--success);
    color: var(--honey-light);
}

.btn-success:hover {
    background-color: #B3892C;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-warning {
    background-color: var(--warning);
    color: var(--primary-dark);
}

.btn-warning:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.btn-danger:hover {
    background-color: #CC7A36;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--honey-light);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    background-color: rgba(245, 233, 210, 0.1);
    color: var(--honey-light);
    font-size: 16px;
    border: 1px solid var(--wax-dark);
}

.form-control:focus {
    outline: 2px solid var(--accent);
    background-color: rgba(245, 233, 210, 0.15);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.status-indicator {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-green {
    background-color: var(--success);
}

.status-yellow {
    background-color: var(--warning);
}

.status-red {
    background-color: var(--danger);
}

.login-container {
    max-width: 400px;
    margin: 50px auto;
}

.login-card {
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--card-bg), var(--primary-light));
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-status {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.traffic-light {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.traffic-light-large {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    flex-wrap: wrap;
}

.light-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

.light {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 10px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.light.active {
    opacity: 1;
}

.light.red {
    background-color: var(--danger);
}

.light.yellow {
    background-color: var(--warning);
}

.light.green {
    background-color: var(--success);
}

.light-label {
    margin-top: 10px;
    font-weight: bold;
    color: var(--honey-light);
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: var(--honey-light);
    opacity: 0.7;
    background: rgba(61, 46, 19, 0.8);
    border-radius: 10px;
}

.error-message {
    background-color: rgba(191, 111, 42, 0.2);
    border-left: 4px solid var(--danger);
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: var(--honey-light);
}

.message {
    background-color: rgba(167, 125, 53, 0.2);
    border-left: 4px solid var(--success);
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: var(--honey-light);
}

.status-overview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.status-item {
    display: flex;
    align-items: center;
}

.reduce-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--wax-dark);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(61, 46, 19, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--wax-dark);
}

.data-table th {
    background-color: var(--primary);
    font-weight: 600;
    color: var(--honey-light);
}

.data-table tr:hover {
    background-color: rgba(245, 233, 210, 0.05);
}

.status-section {
    margin-bottom: 30px;
}

.status-red, .status-yellow, .status-green {
    padding-bottom: 5px;
    border-bottom: 3px solid;
    margin-bottom: 15px;
}

.status-red {
    color: var(--pastel-red);
    border-color: var(--danger);
}

.status-yellow {
    color: var(--pastel-yellow);
    border-color: var(--warning);
}

.status-green {
    color: var(--pastel-green);
    border-color: var(--success);
}

.table-responsive {
    overflow-x: auto;
}

h1, h2, h3 {
    margin-bottom: 15px;
    color: var(--honey-light);
}

p {
    margin-bottom: 10px;
}

/* Honig-Waben Muster für Hintergrund */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 160, 23, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 40%, rgba(212, 160, 23, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(212, 160, 23, 0.05) 0%, transparent 20%);
    pointer-events: none;
    z-index: -1;
}

/* Bienen-Icons für Dekoration */
.bee-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: var(--accent);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 13.5c-.8 0-1.5-.7-1.5-1.5S5.2 10.5 6 10.5 7.5 11.2 7.5 12 6.8 13.5 6 13.5zm12 0c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zM12 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm-8-3c-.5 0-1 .5-1 1v2c0 .5.5 1 1 1h1v-4H4zm16 0h-1v4h1c.5 0 1-.5 1-1V7c0-.5-.5-1-1-1z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 13.5c-.8 0-1.5-.7-1.5-1.5S5.2 10.5 6 10.5 7.5 11.2 7.5 12 6.8 13.5 6 13.5zm12 0c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zM12 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm-8-3c-.5 0-1 .5-1 1v2c0 .5.5 1 1 1h1v-4H4zm16 0h-1v4h1c.5 0 1-.5 1-1V7c0-.5-.5-1-1-1z'/%3E%3C/svg%3E") no-repeat center;
    vertical-align: middle;
}

/* Waben-Muster für Karten */
.card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-image: 
        linear-gradient(120deg, rgba(212, 160, 23, 0.1) 0%, rgba(212, 160, 23, 0.05) 35%, transparent 35%),
        linear-gradient(240deg, rgba(212, 160, 23, 0.1) 0%, rgba(212, 160, 23, 0.05) 35%, transparent 35%),
        linear-gradient(0deg, rgba(212, 160, 23, 0.1) 0%, rgba(212, 160, 23, 0.05) 35%, transparent 35%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .card-actions {
        justify-content: center;
    }
    
    .btn {
        margin-bottom: 10px;
    }
    
    .traffic-light-large {
        flex-direction: column;
        align-items: center;
    }
    
    .data-table {
        font-size: 14px;
    }
    
    .data-table th, .data-table td {
        padding: 8px 10px;
    }
}