
/* General Body and Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
}

.main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: linear-gradient(45deg, #007BFF, #0056b3);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header h1 {
    font-size: 28px;
    margin: 0;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Panels and Cards */
.panel {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;

/* ===== PACKAGING LISTS DATATABLE STYLING (gemäß promt.md) ===== */

/* Highlight für Duplikate */
.duplicate-row {
    background-color: #fff3cd !important;
    border-left: 4px solid #ffc107;
}

/* Hover-Effekt für Tabellen */
.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner tr:hover {
    background-color: #f8f9fa !important;
    cursor: pointer;
}

/* Bessere Button-Styles */
.btn-group .btn {
    border-radius: 0;
}
.btn-group .btn:first-child {
    border-radius: 0.25rem 0 0 0.25rem;
}
.btn-group .btn:last-child {
    border-radius: 0 0.25rem 0.25rem 0;
}

/* Status Messages */
.alert {
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
    margin-bottom: 30px;
}
.panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.panel h2, .panel h3 {
    color: #495057;
    margin-bottom: 20px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.panel h3 {
    font-size: 20px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #dee2e6;
}
.stat-card .stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #007bff;
}
.stat-card .stat-label {
    font-size: 16px;
    color: #6c757d;
    margin-top: 5px;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.login-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-width: 450px;
    width: 100%;
    text-align: center;
}
.login-box h2 {
    margin-bottom: 30px;
    color: #343a40;
}
.login-box .input-group {
    margin-bottom: 20px;
    text-align: left;
}
.login-box label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

/* Form Inputs and Buttons */
.input-field {
    width: 100%;
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
}
.input-field:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0,123,255,0.2);
}

.btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}
.btn-primary { background: linear-gradient(45deg, #007bff, #0056b3); }
.btn-success { background: linear-gradient(45deg, #28a745, #20c997); }
.btn-warning { background: linear-gradient(45deg, #ffc107, #fd7e14); color: #333; }
.btn-danger { background: linear-gradient(45deg, #dc3545, #e83e8c); }
.btn-info { background: linear-gradient(45deg, #17a2b8, #6f42c1); }
.btn-secondary { background: linear-gradient(45deg, #6c757d, #adb5bd); }
.btn-full-width {
    width: 100%;
    padding: 15px;
}

/* Tables */
.table-container {
    overflow-x: auto;
}
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.styled-table th,
.styled-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}
.styled-table th {
    background: linear-gradient(45deg, #343a40, #495057);
    color: white;
    font-weight: bold;
}
.styled-table tbody tr:hover {
    background: #f1f3f5;
}
.styled-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

/* Tabs */
.Tabs {
    border: none;
    background: white;
    border-radius: 15px;
    padding: 5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.Tab {
    background: #f8f9fa;
    border: none !important;
    border-radius: 10px !important;
    padding: 15px !important;
    font-weight: bold;
    color: #495057 !important;
    transition: all 0.3s ease;
}
.Tab--selected {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* Upload Component */
.upload-box {
    width: 100%;
    height: 150px;
    line-height: 1.5;
    padding: 20px;
    border-width: 2px;
    border-style: dashed;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}
.upload-box:hover {
    background-color: #e9ecef;
    border-color: #007bff;
}
.upload-box .icon {
    font-size: 48px;
    margin-bottom: 10px;
}

/* Utility Classes */
.error-message {
    margin-top: 15px;
    color: #dc3545;
    font-weight: bold;
}
.info-box {
    margin-top: 20px;
    color: grey;
    text-align: center;
    border-top: 1px solid #dee2e6;
    padding-top: 20px;
}
