/* Base Styles */
body {
    background-color: #0d1117; /* Very dark professional grey */
    color: #c9d1d9;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(145deg, rgba(30, 36, 45, 0.6) 0%, rgba(22, 27, 34, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.glass-panel {
    background: rgba(13, 17, 23, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Legal Highlights */
.hl-critical {
    background-color: rgba(192, 38, 211, 0.3); /* Fuchsia */
    border-bottom: 2px solid rgba(192, 38, 211, 0.8);
    cursor: pointer;
    transition: all 0.2s;
    animation: pulse 2s infinite;
}
.hl-critical:hover { background-color: rgba(192, 38, 211, 0.5); }

@keyframes pulse {
    0% { background-color: rgba(192, 38, 211, 0.2); }
    50% { background-color: rgba(192, 38, 211, 0.4); }
    100% { background-color: rgba(192, 38, 211, 0.2); }
}

.hl-severe {
    background-color: rgba(239, 68, 68, 0.3); /* Red */
    border-bottom: 2px solid rgba(239, 68, 68, 0.8);
    cursor: pointer;
    transition: all 0.2s;
}
.hl-severe:hover { background-color: rgba(239, 68, 68, 0.5); }

.hl-aggressive {
    background-color: rgba(249, 115, 22, 0.3); /* Orange */
    border-bottom: 2px solid rgba(249, 115, 22, 0.8);
    cursor: pointer;
    transition: all 0.2s;
}
.hl-aggressive:hover { background-color: rgba(249, 115, 22, 0.5); }

.hl-moderate {
    background-color: rgba(234, 179, 8, 0.3); /* Yellow */
    border-bottom: 2px solid rgba(234, 179, 8, 0.8);
    cursor: pointer;
    transition: all 0.2s;
}
.hl-moderate:hover { background-color: rgba(234, 179, 8, 0.5); }

.hl-minimal {
    background-color: rgba(59, 130, 246, 0.2); /* Blue */
    border-bottom: 2px solid rgba(59, 130, 246, 0.6);
    cursor: pointer;
    transition: all 0.2s;
}

.hl-safe {
    background-color: rgba(34, 197, 94, 0.2);
    border-bottom: 2px solid rgba(34, 197, 94, 0.5);
}

.hl-date {
    background-color: rgba(6, 182, 212, 0.3); /* Cyan */
    border-bottom: 2px solid rgba(6, 182, 212, 0.8);
    cursor: pointer;
    transition: all 0.2s;
}
.hl-date:hover { background-color: rgba(6, 182, 212, 0.5); }

/* Split Pane Scrollbars */
.split-pane-scroll::-webkit-scrollbar {
    width: 6px;
}
.split-pane-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.split-pane-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.spin-slow {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}
