/* =========================================================
   OMON - Modern UI Theme v2.0
   Konsolidierte CSS-Datei für einheitliches Design
   ========================================================= */

/* =========================================================
   1. GRUNDFARBEN & VARIABLEN
   ========================================================= */
:root {
    /* Dark Theme Colors */
    --bg-primary: #1a1d23;
    --bg-secondary: #252930;
    --bg-tertiary: #2d3139;
    --bg-hover: #2a2e36;
    
    /* Border Colors */
    --border-color: #3a3f4b;
    --border-light: #4b5563;
    
    /* Text Colors */
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --text-bright: #f3f4f6;
    
    /* Status Colors */
    --status-success: #10b981;
    --status-success-light: #34d399;
    --status-warning: #f59e0b;
    --status-warning-light: #fbbf24;
    --status-critical: #ef4444;
    --status-critical-light: #f87171;
    --status-info: #3b82f6;
    --status-info-light: #60a5fa;
    
    /* Action Colors */
    --action-primary: #206bc4;
    --action-primary-hover: #1a5fa4;
    --link-color: #60a5fa;
    --link-hover: #93c5fd;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* =========================================================
   2. BODY & BASE STYLES
   ========================================================= */
body {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-bright) !important;
    font-weight: 600;
    line-height: 1.3;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.text-muted {
    color: var(--text-muted) !important;
}

code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    color: var(--status-info-light);
}

/* =========================================================
   4. CARDS & PANELS
   ========================================================= */
.card,
.panel,
.box {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg);
    color: var(--text-primary) !important;
    transition: all var(--transition-normal);
}
.card-header {
    background: var(--bg-tertiary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-body {
    padding: var(--spacing-lg);
}

.card-footer {
    background: var(--bg-tertiary) !important;
    border-top: 1px solid var(--border-color) !important;
    padding: var(--spacing-md) var(--spacing-lg);
}

/* Hover effect for clickable cards */
.card-hover:hover,
.card[onclick]:hover,
a .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: var(--border-light);
}

/* =========================================================
   5. TABLES (Improved)
   ========================================================= */
table {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md);
    overflow: hidden;
}

table thead {
    background: var(--bg-tertiary) !important;
}

table thead th {
    color: var(--text-secondary) !important;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--spacing-md) var(--spacing-sm);
    border-bottom: 2px solid var(--border-color) !important;
}

table tbody td {
    color: var(--text-primary) !important;
    padding: var(--spacing-md) var(--spacing-sm);
    border-bottom: 1px solid var(--border-color) !important;
    vertical-align: middle;
}

/* Striped rows */

/* Hover effect */
table tbody tr:hover {
    background: var(--bg-tertiary) !important;
    cursor: pointer;
    transform: translateX(2px);
    transition: all var(--transition-fast);
}

/* Table links */
table a {
    color: var(--link-color) !important;
    text-decoration: none;
    transition: color var(--transition-fast);
}

table a:hover {
    color: var(--link-hover) !important;
    text-decoration: underline;
}

/* Compact table variant */
.table-compact th,
.table-compact td {
    padding: var(--spacing-sm) !important;
}

/* =========================================================
   6. STATUS BADGES (Enhanced)
   ========================================================= */
.badge,
.status-badge,
[class*="badge-"],
[class*="status-"] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.badge i {
    font-size: 1rem;
}

/* Small badges */
.badge-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
}

/* Large badges */
.badge-lg {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
/* OK / UP / SUCCESS */
.badge-success,
.badge-ok,
.badge-up,
.status-ok,
.status-up {
    background: rgba(16, 185, 129, 0.18) !important;
    color: var(--status-success-light) !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
}

/* WARNING */
.badge-warning,
.status-warning {
    background: rgba(245, 158, 11, 0.18) !important;
    color: var(--status-warning-light) !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
}

/* CRITICAL / DANGER / DOWN */
.badge-danger,
.badge-critical,
.badge-down,
.status-critical,
.status-down {
    background: rgba(239, 68, 68, 0.18) !important;
    color: var(--status-critical-light) !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
}

/* INFO / UNKNOWN */
.badge-info,
.badge-unknown,
.status-unknown {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

/* Blue badges */
.badge-blue,
.badge-primary {
    background: rgba(59, 130, 246, 0.18) !important;
    color: var(--status-info-light) !important;
    border: 1px solid rgba(59, 130, 246, 0.45) !important;
}

/* Cyan badges */
.badge-cyan {
    background: rgba(6, 182, 212, 0.18) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(6, 182, 212, 0.45) !important;
}

/* Secondary/Gray badges */
.badge-secondary {
    background: rgba(107, 114, 128, 0.18) !important;
    color: var(--text-secondary) !important;
    border: 1px solid rgba(107, 114, 128, 0.45) !important;
}

/* Pulse animation for critical */
.badge-critical,
.status-critical {
    animation: pulse-critical 2s infinite;
}

@keyframes pulse-critical {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* =========================================================
   7. BUTTONS (Modernized)
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.btn i {
    font-size: 1rem;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--action-primary) !important;
    border-color: var(--action-primary) !important;
    color: white !important;
}

.btn-primary:hover {
    background: var(--action-primary-hover) !important;
    border-color: var(--action-primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(32, 107, 196, 0.3);
}

.btn-success {
    background: var(--status-success) !important;
    color: white !important;
}
.btn-success:hover {
    background: var(--status-success-light) !important;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--status-critical) !important;
    color: white !important;
}

.btn-danger:hover {
    background: var(--status-critical-light) !important;
    transform: translateY(-1px);
}

.btn-info {
    background: var(--status-info) !important;
    color: white !important;
}

.btn-cyan {
    background: #06b6d4 !important;
    color: white !important;
}

.btn-warning {
    background: var(--status-warning) !important;
    color: white !important;
}

/* Secondary/outline buttons */
.btn-secondary,
.btn-outline {
    background: transparent !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: var(--bg-secondary) !important;
    border-color: var(--border-light) !important;
}

/* Button groups */
.btn-group {
    display: inline-flex;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.btn-group .btn {
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-group .btn:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.btn-group .btn:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    border-right: none;
}

/* =========================================================
   8. FORMS (Enhanced)
   ========================================================= */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--action-primary) !important;
    box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.1);
    background: var(--bg-tertiary) !important;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted) !important;
}

/* Input groups */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-group-text {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
}

.input-group .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .input-group-text:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Form labels */
.form-label {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.form-label.required::after {
    content: '*';
    color: var(--status-critical);
    margin-left: 0.25rem;
}
/* =========================================================
   9. MODALS (Improved)
   ========================================================= */
.modal-content {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: var(--bg-tertiary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header.bg-info {
    background: rgba(59, 130, 246, 0.2) !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.4) !important;
}

.modal-header.bg-cyan {
    background: rgba(6, 182, 212, 0.2) !important;
    border-bottom: 1px solid rgba(6, 182, 212, 0.4) !important;
}

.modal-title {
    color: var(--text-bright) !important;
    font-weight: 600;
}

.modal-body {
    padding: var(--spacing-lg);
}

.modal-footer {
    background: var(--bg-tertiary) !important;
    border-top: 1px solid var(--border-color) !important;
    padding: var(--spacing-md) var(--spacing-lg);
}

/* =========================================================
   10. ALERTS
   ========================================================= */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert i {
    font-size: 1.25rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--status-success-light);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: var(--status-critical-light);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: var(--status-warning-light);
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--status-info-light);
}

/* =========================================================
   11. NAVIGATION (Enhanced)
   ========================================================= */
.navbar {
    background: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.navbar-brand {
    color: var(--text-bright) !important;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    padding: 0.75rem 1rem !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    background: var(--bg-tertiary) !important;
    color: var(--text-bright) !important;
}

.nav-link.active {
    background: var(--action-primary) !important;
    color: white !important;
}

.nav-link i {
    font-size: 1.1rem;
}

/* User dropdown in navbar */
.nav-item.dropdown .nav-link {
    padding: 0.5rem !important;
}

.dropdown-menu {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.dropdown-item {
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-hover) !important;
    color: var(--text-bright) !important;
}
/* =========================================================
   12. PAGINATION
   ========================================================= */
.pagination {
    display: flex;
    gap: 0.25rem;
}

.page-link {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.page-link:hover {
    background: var(--bg-tertiary) !important;
    border-color: var(--border-light) !important;
}

.page-item.active .page-link {
    background: var(--action-primary) !important;
    border-color: var(--action-primary) !important;
    color: white !important;
}

/* =========================================================
   13. AVATARS & ICONS
   ========================================================= */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-bright);
    font-weight: 600;
}

.avatar-sm {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
}

.avatar-lg {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.25rem;
}

/* Status dots */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-dot.green {
    background: var(--status-success);
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.status-dot.red {
    background: var(--status-critical);
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

.status-dot.yellow {
    background: var(--status-warning);
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

/* =========================================================
   14. UTILITIES
   ========================================================= */

/* Spacing helpers */
.mt-1 { margin-top: var(--spacing-xs) !important; }
.mt-2 { margin-top: var(--spacing-sm) !important; }
.mt-3 { margin-top: var(--spacing-md) !important; }
.mt-4 { margin-top: var(--spacing-lg) !important; }

.mb-1 { margin-bottom: var(--spacing-xs) !important; }
.mb-2 { margin-bottom: var(--spacing-sm) !important; }
.mb-3 { margin-bottom: var(--spacing-md) !important; }
.mb-4 { margin-bottom: var(--spacing-lg) !important; }

.p-1 { padding: var(--spacing-xs) !important; }
.p-2 { padding: var(--spacing-sm) !important; }
.p-3 { padding: var(--spacing-md) !important; }
.p-4 { padding: var(--spacing-lg) !important; }

/* Text alignment */
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }

/* Display helpers */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

/* Flex helpers */
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.gap-1 { gap: var(--spacing-xs) !important; }
.gap-2 { gap: var(--spacing-sm) !important; }
.gap-3 { gap: var(--spacing-md) !important; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* =========================================================
   15. DASHBOARD SPECIFIC
   ========================================================= */
.stat-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

/* Color variants */
.stat-card.green::before { background: var(--status-success); }
.stat-card.red::before { background: var(--status-critical); }
.stat-card.yellow::before { background: var(--status-warning); }
.stat-card.blue::before { background: var(--status-info); }

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--border-light);
}
.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1;
    margin: 0.5rem 0;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

/* =========================================================
   16. LOADING & SPINNERS
   ========================================================= */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--border-color);
    border-top-color: var(--action-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* =========================================================
   17. RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
    .stat-value {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: var(--spacing-md);
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.875rem;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    .stat-card {
        padding: var(--spacing-md);
    }
}

/* =========================================================
   18. ANIMATIONS
   ========================================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

/* =========================================================
   19. SCROLLBAR STYLING
   ========================================================= */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

/* =========================================================
   20. PRINT STYLES
   ========================================================= */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
    }
    
    .navbar,
    .btn,
    .page-header {
        display: none !important;
    }
}

/* =========================================================
   END OF OMON MODERN UI THEME
   ========================================================= */

/* ============================================
   BADGE REDESIGN - Grauer Hintergrund, farbiger Text
   ============================================ */

/* Base Badge Style */
.badge {
  background-color: rgba(139, 146, 167, 0.15) !important;
  border: 1px solid rgba(139, 146, 167, 0.2) !important;
  color: #8b92a7 !important;
  font-weight: 500 !important;
  padding: 0.25rem 0.5rem !important;
}

/* Success / Green / OK */
.badge.bg-success,
.badge.badge-success,
.badge-ok {
  background-color: rgba(34, 197, 94, 0.15) !important;
  color: #22c55e !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
}

/* Danger / Red / Critical */
.badge.bg-danger,
.badge.badge-danger,
.badge-critical,
.badge.bg-red {
  background-color: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}

/* Warning / Yellow */
.badge.bg-warning,
.badge.badge-warning {
  background-color: rgba(234, 179, 8, 0.15) !important;
  color: #eab308 !important;
  border-color: rgba(234, 179, 8, 0.3) !important;
}

/* Secondary / Gray / Unknown */
.badge.bg-secondary,
.badge.badge-secondary {
  background-color: rgba(139, 146, 167, 0.15) !important;
  color: #8b92a7 !important;
  border-color: rgba(139, 146, 167, 0.3) !important;
}

/* Blue / Info */
.badge.bg-blue,
.badge.bg-info,
.badge.badge-info {
  background-color: rgba(59, 130, 246, 0.15) !important;
  color: #3b82f6 !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
}

/* Purple */
.badge.bg-purple {
  background-color: rgba(168, 85, 247, 0.15) !important;
  color: #a855f7 !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
}

/* Orange */
.badge.bg-orange {
  background-color: rgba(249, 115, 22, 0.15) !important;
  color: #f97316 !important;
  border-color: rgba(249, 115, 22, 0.3) !important;
}

/* Green */
.badge.bg-green {
  background-color: rgba(34, 197, 94, 0.15) !important;
  color: #22c55e !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
}

/* Outline Badges */
.badge.badge-outline {
  background-color: transparent !important;
  border: 1px solid rgba(139, 146, 167, 0.3) !important;
  color: var(--text-muted) !important;
}

/* Navigation Kompakter machen - Finetuning */
.navbar-nav .nav-link {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
  font-size: 0.875rem;
}

.navbar-nav .nav-link-icon {
  margin-right: 0.35rem !important;
}

.navbar-nav .nav-link-title {
  white-space: nowrap;
}

/* COMON Logo - Modern Design */
.comon-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  transition: all 0.2s ease;
}

.comon-logo .logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 8px;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.comon-logo .logo-text {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.comon-logo:hover .logo-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.comon-logo:hover .logo-text {
  filter: brightness(1.1);
}
