:root {
    /* Fujifilm Brand Colors - Core */
    --fujifilm-green: #01916D;
    --fujifilm-green-dark: #006449;
    --fujifilm-green-light: #00D164;

    /* Modern Neutral Palette */
    --surface-100: #FFFFFF;
    --surface-200: #F8F9FA;
    --surface-300: #E9ECEF;
    --text-main: #1A1A1A;
    --text-muted: #6C757D;

    /* Functional Colors */
    --accent-blue: #0D6EFD;
    --accent-indigo: #6610F2;

    /* Shadows & Effects */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Spacing */
    --radius-md: 16px;
    --radius-lg: 24px;
}

body {
    font-family: 'Inter', 'Roboto', system-ui, -apple-system, sans-serif;
    background-color: #F3F4F6; /* Ganz leichtes Grau für den Hintergrund lässt weiße Karten besser poppen */
    color: var(--text-main);
    letter-spacing: -0.011em;
}

/* --- Layout & Header --- */
.main-header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-300);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--fujifilm-green) !important;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: var(--surface-300);
    color: var(--fujifilm-green) !important;
}

.nav-link.active {
    background-color: rgba(1, 145, 109, 0.1);
    color: var(--fujifilm-green) !important;
}

/* Inline icon + text nav links */
.nav-link-icon {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.nav-link-icon i {
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* --- Modern Cards --- */
.card-modern, .premium-card {
    background: var(--surface-100);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card-modern:hover, .premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

/* --- Premium Table Design (Live Feed) --- */
.table-modern {
    font-size: 0.875rem;
    color: var(--text-main);
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

/* Entfernt alle ungewollten Bootstrap-Hintergründe */
.table-modern,
.table-modern :not(caption) > * > * {
    background-color: transparent !important;
    box-shadow: none !important;
}

.table-modern thead th {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #8a92a6;
    letter-spacing: 0.05em;
    padding: 1.25rem 1rem;
    border-top: none;
    border-bottom: 2px solid var(--surface-200) !important;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.table-modern tbody td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--surface-200);
}

.table-modern.table-hover tbody tr:hover td {
    background-color: rgba(1, 145, 109, 0.03) !important;
}

.table-modern tbody tr:last-child td {
    border-bottom: none;
}

/* --- High-Contrast Badges --- */
.badge.rounded-pill {
    padding: 0.6em 1.25em !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}

.bg-success.bg-opacity-10 {
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
    border-color: #badbcc !important;
}

.bg-info.bg-opacity-10 {
    background-color: #cff4fc !important;
    color: #055160 !important;
    border-color: #b6effb !important;
}

.bg-warning.bg-opacity-10 {
    background-color: #fff3cd !important;
    color: #664d03 !important;
    border-color: #ffecb5 !important;
}

.bg-danger.bg-opacity-10 {
    background-color: #f8d7da !important;
    color: #842029 !important;
    border-color: #f5c2c7 !important;
}

/* --- Wizard Selection Cards (Step 3) --- */
.wizard-selection-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    margin-bottom: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.wizard-selection-card:hover {
    border-color: var(--fujifilm-green);
    box-shadow: var(--shadow-md);
}

.wizard-selection-card.selected {
    border-color: var(--fujifilm-green);
    border-width: 2px;
    background-color: rgba(1, 145, 109, 0.02);
}

.wizard-selection-card-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selection-card-label {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
}

.check-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s;
}

.wizard-selection-card.selected .check-circle {
    background-color: var(--fujifilm-green);
    border-color: var(--fujifilm-green);
    color: white;
}

.wizard-selection-card-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
    display: none;
}

.wizard-selection-card.selected .wizard-selection-card-body {
    display: block;
}

/* --- Buttons --- */
.btn-fuji {
    background-color: var(--fujifilm-green);
    border: none;
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(1, 145, 109, 0.2);
    transition: all 0.2s;
}

.btn-fuji:hover {
    background-color: var(--fujifilm-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(1, 145, 109, 0.3);
    color: white;
}

/* --- Utility & Animations --- */
.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.text-tiny {
    font-size: 0.7rem;
    font-weight: 500;
}
