:root {
    --bg-dark: #121212;
    --brass-gold: #b39258;
    --emerald-green: #2ecc71;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.5);
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    /* Nutzt dein Hintergrundbild aus dem images-Ordner */
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)), url('../images/1781860977884.png') no-repeat center center fixed;
    background-size: cover;
    color: #e0e0e0;
    overflow-x: hidden;
}

/* Schwebendes Hauptpanel */
.glass-panel {
    background: rgba(20, 20, 20, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 20px 50px var(--glass-shadow);
    padding: 2rem;
    margin-top: 4vh;
    margin-bottom: 4vh;
    min-height: 85vh;
}

.brand-header h1 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 3px;
    color: #ffffff;
    font-size: 2.2rem;
}

.brand-header p {
    font-spacing: 2px;
    font-size: 0.85rem;
    color: var(--brass-gold);
    text-transform: uppercase;
}

/* Sidebar Elemente */
.case-file-item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #b0b0b0;
}

.case-file-item:hover, .case-file-item.active {
    border-color: var(--brass-gold);
    background: rgba(179, 146, 88, 0.05);
    color: #ffffff;
}

/* Editor-Bereich */
.editor-container {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    min-height: 55vh;
}

.editor-title-input {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    background: transparent;
}

.editor-title-input:focus {
    outline: none;
    border-bottom-color: var(--brass-gold);
}

.editor-textarea {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    border: none;
    width: 100%;
    height: 45vh;
    resize: none;
    background: transparent;
}

.editor-textarea:focus {
    outline: none;
}

.btn-editor-tool {
    color: #6c757d;
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
    font-size: 1.1rem;
}

.btn-editor-tool:hover {
    color: #000000;
}

.btn-save {
    background-color: transparent;
    color: var(--emerald-green);
    border: 1px solid var(--emerald-green);
    transition: all 0.3s;
}

.btn-save:hover {
    background-color: var(--emerald-green);
    color: #ffffff;
}

.mini-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Ein schicker Handle-Indikator, wenn man über einen Eintrag hovert */
    .log-list-group .list-group-item {
        background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.05);
        color: #cccccc; transition: background 0.2s; margin-bottom: 0.5rem; border-radius: 6px !important;
        /* cursor: grab; <-- HIER ENTFERNEN */
    }
    
    /* NEU: Die Hand zum Greifen wird jetzt nur auf dem Icon angezeigt */
    .log-list-group .list-group-item .bi-grip-vertical {
        cursor: grab;
        padding: 0 5px; /* Macht die Touch-Fläche für das Icon auf dem Handy etwas größer */
    }
    .log-list-group .list-group-item .bi-grip-vertical:active { 
        cursor: grabbing; 
    }