/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Header Styles */
.header {
    background-color: white;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 24px;
    font-weight: 300;
}

/* Navigation */
.nav-tabs {
    display: flex;
    gap: 20px;
}

.nav-tab {
    padding: 8px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.2s;
}

.nav-tab.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

/* Page Visibility */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Common Components */
.filter-bar {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
}

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

th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
}

td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
}

tr:hover {
    background-color: #f8f9fa;
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

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

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-edit {
    background-color: #007bff;
    color: white;
}

.btn-ga4 {
    background-color: #ffc107;
    color: #333;
}

.btn-werbemittel {
    background-color: #ff6b00;
    color: white;
    font-weight: 500;
}

.btn-werbemittel:hover {
    background-color: #e55a00;
}

/* Action Buttons Container */
.action-buttons {
    display: flex;
    gap: 5px;
}

/* Status Icon */
.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #28a745;
    color: white;
    font-size: 10px;
}

/* Info Box */
.info-box {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}