        /* Base styles that match your existing website */
        :root {
            --primary-color: #212529;
            --secondary-color: #495057;
            --accent-color: #6c757d;
            --text-color: #333333;
            --light-bg: #f8f9fa;
            --dark-bg: #212529;
            --border-radius: 4px;
            --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --info-color: #17a2b8;
        }

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

        body {
            font-family: "Times New Roman", Times, serif;
            font-style: italic;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-bg);
            position: relative;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
            position: relative;
            z-index: 1;
        }

        /* Header styles */
        header {
            background-color: var(--primary-color);
            color: white;
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        header:after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            display: flex;
            align-items: center;
        }

        .logo i {
            margin-right: 10px;
            color: #adb5bd;
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 30px;
        }

        .nav-links a {
            color: white;
            font-weight: 500;
            position: relative;
            text-decoration: none;
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 1px;
            background-color: white;
            transition: width 0.3s;
        }

        .nav-links a:hover {
            color: white;
        }

        .nav-links a:hover:after {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            cursor: pointer;
            font-size: 24px;
        }

        /* Main content styles */
        .main-content {
            padding: 60px 0;
        }

        .page-title {
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--primary-color);
            position: relative;
            display: inline-block;
        }

        .page-title:after {
            content: "";
            position: absolute;
            height: 2px;
            width: 60px;
            background-color: var(--secondary-color);
            bottom: -12px;
            left: 0;
        }

        .page-description {
            font-size: 18px;
            color: var(--secondary-color);
            margin-bottom: 40px;
            max-width: 800px;
        }

        /* Lab interface styles */
        .lab-interface {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 30px;
            margin-top: 40px;
            min-height: 700px;
        }

        .lab-sidebar {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 20px;
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .sidebar-title {
            font-size: 20px;
            margin-bottom: 20px;
            color: var(--primary-color);
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }

        .sidebar-menu {
            list-style: none;
        }

        .sidebar-menu-item {
            margin-bottom: 10px;
        }

        .sidebar-menu-item a {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            color: var(--text-color);
            text-decoration: none;
            border-radius: var(--border-radius);
            transition: all 0.3s;
        }

        .sidebar-menu-item a:hover {
            background-color: var(--light-bg);
            color: var(--secondary-color);
        }

        .sidebar-menu-item a.active {
            background-color: var(--secondary-color);
            color: white;
        }

        .sidebar-menu-item i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }

        .lab-content {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 30px;
        }

        .dashboard-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .dashboard-title {
            font-size: 24px;
            color: var(--primary-color);
        }

        .dashboard-controls {
            display: flex;
            gap: 15px;
        }

        .dashboard-btn {
            padding: 8px 15px;
            background-color: var(--light-bg);
            border: none;
            border-radius: var(--border-radius);
            color: var(--text-color);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }

        .dashboard-btn i {
            margin-right: 8px;
        }

        .dashboard-btn:hover {
            background-color: var(--secondary-color);
            color: white;
        }

        .refresh-btn {
            background-color: var(--info-color);
            color: white;
        }

        .alert-level {
            background-color: var(--success-color);
            color: white;
        }

        .alert-level.medium {
            background-color: var(--warning-color);
            color: var(--dark-bg);
        }

        .alert-level.high {
            background-color: var(--danger-color);
            color: white;
        }

        .alert-panel {
            margin-bottom: 30px;
        }

        .panel-header {
            background-color: var(--light-bg);
            padding: 15px;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .panel-title {
            font-size: 18px;
            font-weight: bold;
            color: var(--primary-color);
        }

        .panel-controls {
            display: flex;
            gap: 10px;
        }

        .panel-body {
            border: 1px solid var(--light-bg);
            border-top: none;
            border-radius: 0 0 var(--border-radius) var(--border-radius);
            overflow: hidden;
        }

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

        .alerts-table th,
        .alerts-table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }

        .alerts-table th {
            background-color: #f8f9fa;
            font-weight: 600;
            color: var(--secondary-color);
        }

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

        .alerts-table tbody tr:hover {
            background-color: rgba(248, 249, 250, 0.5);
        }

        .alert-severity {
            padding: 4px 8px;
            border-radius: 3px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .severity-low {
            background-color: rgba(40, 167, 69, 0.1);
            color: #28a745;
        }

        .severity-medium {
            background-color: rgba(255, 193, 7, 0.1);
            color: #d39e00;
        }

        .severity-high {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }

        .severity-critical {
            background-color: rgba(220, 53, 69, 0.2);
            color: #bd2130;
            font-weight: 700;
        }

        .alert-status {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 5px;
        }

        .status-new {
            background-color: #dc3545;
        }

        .status-investigating {
            background-color: #ffc107;
        }

        .status-resolved {
            background-color: #28a745;
        }

        .alert-actions {
            display: flex;
            gap: 5px;
        }

        .alert-action-btn {
            background: none;
            border: none;
            color: var(--secondary-color);
            cursor: pointer;
            font-size: 16px;
            transition: color 0.3s;
        }

        .alert-action-btn:hover {
            color: var(--primary-color);
        }

        .dashboard-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .dashboard-card {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            border: 1px solid #eee;
            display: flex;
            flex-direction: column;
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .card-title {
            font-size: 16px;
            color: var(--secondary-color);
            font-weight: 500;
        }

        .card-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .icon-purple {
            background-color: rgba(111, 66, 193, 0.1);
            color: #6f42c1;
        }

        .icon-blue {
            background-color: rgba(13, 110, 253, 0.1);
            color: #0d6efd;
        }

        .icon-green {
            background-color: rgba(40, 167, 69, 0.1);
            color: #28a745;
        }

        .icon-red {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }

        .card-value {
            font-size: 28px;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 5px;
        }

        .card-trend {
            font-size: 14px;
            color: var(--secondary-color);
            display: flex;
            align-items: center;
        }

        .trend-up {
            color: #dc3545;
        }

        .trend-down {
            color: #28a745;
        }

        .trend-icon {
            margin-right: 5px;
        }

        .endpoint-info {
            background-color: var(--light-bg);
            border-radius: var(--border-radius);
            padding: 20px;
            margin-bottom: 30px;
        }

        .endpoint-title {
            font-size: 18px;
            color: var(--primary-color);
            font-weight: bold;
            margin-bottom: 15px;
        }

        .endpoint-details {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }

        .endpoint-detail {
            display: flex;
            flex-direction: column;
        }

        .detail-label {
            font-size: 14px;
            color: var(--secondary-color);
            margin-bottom: 5px;
        }

        .detail-value {
            font-size: 16px;
            font-weight: 500;
            color: var(--text-color);
        }

        .tabs {
            display: flex;
            border-bottom: 1px solid #eee;
            margin-bottom: 20px;
        }

        .tab {
            padding: 10px 20px;
            cursor: pointer;
            color: var(--secondary-color);
            border-bottom: 2px solid transparent;
            transition: all 0.3s;
        }

        .tab:hover {
            color: var(--primary-color);
        }

        .tab.active {
            color: var(--primary-color);
            border-bottom-color: var(--secondary-color);
            font-weight: 500;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .event-timeline {
            margin-top: 20px;
        }

        .timeline-item {
            display: flex;
            margin-bottom: 15px;
            position: relative;
        }

        .timeline-item:last-child {
            margin-bottom: 0;
        }

        .timeline-item:before {
            content: '';
            position: absolute;
            top: 30px;
            left: 11px;
            width: 2px;
            height: calc(100% - 15px);
            background-color: #eee;
        }

        .timeline-item:last-child:before {
            display: none;
        }

        .timeline-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            margin-right: 15px;
            flex-shrink: 0;
            position: relative;
            z-index: 1;
        }

        .icon-alert {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }

        .icon-process {
            background-color: rgba(13, 110, 253, 0.1);
            color: #0d6efd;
        }

        .icon-file {
            background-color: rgba(111, 66, 193, 0.1);
            color: #6f42c1;
        }

        .icon-network {
            background-color: rgba(23, 162, 184, 0.1);
            color: #17a2b8;
        }

        .icon-registry {
            background-color: rgba(108, 117, 125, 0.1);
            color: #6c757d;
        }

        .timeline-content {
            flex-grow: 1;
        }

        .timeline-time {
            font-size: 14px;
            color: var(--secondary-color);
            margin-bottom: 5px;
            display: flex;
            justify-content: space-between;
        }

        .timeline-title {
            font-size: 16px;
            font-weight: 500;
            color: var(--primary-color);
            margin-bottom: 5px;
        }

        .timeline-description {
            font-size: 14px;
            color: var(--text-color);
        }

        .timeline-details {
            font-size: 14px;
            background-color: #f8f9fa;
            padding: 10px;
            border-radius: var(--border-radius);
            margin-top: 10px;
            font-family: monospace;
        }

        .process-tree {
            margin-top: 20px;
        }

        .process-node {
            margin-bottom: 10px;
        }

        .process-parent {
            font-weight: 500;
            color: var(--primary-color);
            margin-bottom: 5px;
            display: flex;
            align-items: center;
        }

        .process-parent i {
            margin-right: 10px;
            color: var(--secondary-color);
        }

        .process-children {
            margin-left: 25px;
            border-left: 1px dashed #eee;
            padding-left: 15px;
        }

        .process-child {
            margin-bottom: 5px;
            position: relative;
        }

        .process-child:before {
            content: '';
            position: absolute;
            top: 10px;
            left: -15px;
            width: 10px;
            height: 1px;
            background-color: #eee;
        }

        .process-suspicious {
            color: #dc3545;
        }

        .process-details {
            font-size: 14px;
            color: var(--secondary-color);
            margin-top: 2px;
        }

        .file-details {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 20px;
        }

        .file-item {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: var(--border-radius);
            border-left: 3px solid var(--secondary-color);
        }

        .file-name {
            font-weight: 500;
            color: var(--primary-color);
            margin-bottom: 5px;
            display: flex;
            align-items: center;
        }

        .file-name i {
            margin-right: 10px;
            color: var(--secondary-color);
        }

        .file-path {
            font-size: 14px;
            font-family: monospace;
            margin-bottom: 10px;
        }

        .file-attributes {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            font-size: 14px;
        }

        .file-attribute {
            background-color: white;
            padding: 3px 8px;
            border-radius: 3px;
            border: 1px solid #eee;
        }

        .file-malicious {
            border-left-color: #dc3545;
        }

        .file-malicious .file-name {
            color: #dc3545;
        }

        .hex-viewer {
            font-family: monospace;
            font-size: 14px;
            background-color: #212529;
            color: #f8f9fa;
            padding: 15px;
            border-radius: var(--border-radius);
            overflow-x: auto;
            margin-top: 20px;
        }

        .hex-row {
            display: grid;
            grid-template-columns: 80px 350px 150px;
            margin-bottom: 5px;
        }

        .hex-offset {
            color: #6c757d;
        }

        .hex-values {
            letter-spacing: 1px;
        }

        .hex-ascii {
            color: #6c757d;
        }

        .malware-highlight {
            color: #dc3545;
            font-weight: bold;
        }

        .analysis-tools {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .analysis-tool {
            flex: 1 0 calc(33.333% - 15px);
            background-color: white;
            border: 1px solid #eee;
            border-radius: var(--border-radius);
            overflow: hidden;
            transition: all 0.3s;
        }

        .analysis-tool:hover {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-3px);
            border-color: var(--secondary-color);
        }

        .tool-header {
            padding: 15px;
            background-color: var(--light-bg);
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }

        .tool-icon {
            width: 40px;
            height: 40px;
            background-color: white;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-right: 15px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .tool-title {
            font-size: 16px;
            font-weight: 500;
            color: var(--primary-color);
        }

        .tool-body {
            padding: 15px;
        }

        .tool-description {
            font-size: 14px;
            color: var(--secondary-color);
            margin-bottom: 15px;
        }

        .tool-btn {
            display: inline-block;
            padding: 8px 15px;
            background-color: var(--light-bg);
            color: var(--secondary-color);
            text-decoration: none;
            border-radius: var(--border-radius);
            font-size: 14px;
            transition: all 0.3s;
        }

        .tool-btn:hover {
            background-color: var(--secondary-color);
            color: white;
        }

        .network-connections {
            margin-top: 20px;
        }

        .connection-item {
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: var(--border-radius);
            margin-bottom: 15px;
            border-left: 3px solid var(--secondary-color);
        }

        .connection-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .connection-title {
            font-weight: 500;
            color: var(--primary-color);
            display: flex;
            align-items: center;
        }

        .connection-title i {
            margin-right: 10px;
            color: var(--secondary-color);
        }

        .connection-time {
            font-size: 14px;
            color: var(--secondary-color);
        }

        .connection-details {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 10px;
        }

        .connection-detail {
            display: flex;
            flex-direction: column;
        }

        .connection-label {
            font-size: 14px;
            color: var(--secondary-color);
            margin-bottom: 5px;
        }

        .connection-value {
            font-weight: 500;
        }

        .connection-suspicious {
            border-left-color: #dc3545;
        }

        .connection-suspicious .connection-title {
            color: #dc3545;
        }

        .packet-data {
            font-family: monospace;
            font-size: 14px;
            background-color: #f8f9fa;
            padding: 10px;
            border-radius: var(--border-radius);
            overflow-x: auto;
            margin-top: 10px;
        }

        .simulation-controls {
            background-color: var(--dark-bg);
            color: white;
            padding: 15px;
            border-radius: var(--border-radius);
            margin-top: 30px;
        }

        .control-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .control-title {
            font-size: 18px;
            font-weight: 500;
        }

        .scenario-selector {
            display: flex;
            margin-bottom: 15px;
        }

        .scenario-option {
            padding: 8px 15px;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            cursor: pointer;
            transition: all 0.3s;
        }

        .scenario-option:first-child {
            border-radius: 4px 0 0 4px;
        }

        .scenario-option:last-child {
            border-radius: 0 4px 4px 0;
        }

        .scenario-option.active {
            background-color: rgba(255, 255, 255, 0.2);
            font-weight: 500;
        }

        .scenario-option:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

        .control-buttons {
            display: flex;
            gap: 15px;
        }

        .control-btn {
            padding: 10px 20px;
            border: none;
            border-radius: var(--border-radius);
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }

        .control-btn i {
            margin-right: 10px;
        }

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

        .pause-btn {
            background-color: #ffc107;
            color: #212529;
        }

        .reset-btn {
            background-color: #dc3545;
            color: white;
        }

        .step-btn {
            background-color: #17a2b8;
            color: white;
        }

        .control-btn:hover {
            filter: brightness(90%);
        }

        .scenario-description {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 15px;
        }

        .instruction-box {
            background-color: var(--light-bg);
            border-radius: var(--border-radius);
            padding: 20px;
            margin-bottom: 30px;
            border-left: 4px solid var(--secondary-color);
        }

        .instruction-title {
            font-size: 18px;
            font-weight: 500;
            color: var(--primary-color);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .instruction-title i {
            margin-right: 10px;
            color: var(--secondary-color);
        }

        .instruction-steps {
            list-style-position: inside;
            margin-top: 15px;
        }

        .instruction-steps li {
            margin-bottom: 8px;
        }

        /* Response actions */
        .response-actions {
            margin-top: 30px;
        }

        .action-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }

        .action-item {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: var(--border-radius);
            transition: all 0.3s;
            border: 1px solid #eee;
            cursor: pointer;
        }

        .action-item:hover {
            background-color: white;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            border-color: var(--secondary-color);
        }

        .action-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .action-icon {
            width: 36px;
            height: 36px;
            background-color: white;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            margin-right: 12px;
            color: var(--secondary-color);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .action-title {
            font-weight: 500;
            color: var(--primary-color);
        }

        .action-description {
            font-size: 14px;
            color: var(--secondary-color);
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1050;
            overflow-y: auto;
            padding: 50px 0;
        }

        .modal-dialog {
            max-width: 800px;
            margin: 0 auto;
            background-color: white;
            border-radius: 5px;
            overflow: hidden;
        }

        .modal-content {
            position: relative;
            padding: 30px;
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            color: var(--secondary-color);
            cursor: pointer;
            background: none;
            border: none;
        }

        .modal-header {
            margin-bottom: 20px;
        }

        .modal-title {
            font-size: 24px;
            color: var(--primary-color);
        }

        .modal-body {
            margin-bottom: 20px;
        }

        .modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
        }

        .modal-btn {
            padding: 8px 15px;
            border-radius: var(--border-radius);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-secondary {
            background-color: var(--light-bg);
            color: var(--text-color);
            border: 1px solid #eee;
        }

        .btn-primary {
            background-color: var(--secondary-color);
            color: white;
            border: 1px solid var(--secondary-color);
        }

        .btn-danger {
            background-color: var(--danger-color);
            color: white;
            border: 1px solid var(--danger-color);
        }

        .modal-btn:hover {
            filter: brightness(95%);
        }

        .alert-details-modal .modal-dialog {
            max-width: 1000px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--primary-color);
        }

        .form-control {
            width: 100%;
            padding: 10px;
            border: 1px solid #eee;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: inherit;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--secondary-color);
        }

        textarea.form-control {
            min-height: 100px;
            resize: vertical;
        }

        .form-select {
            width: 100%;
            padding: 10px;
            border: 1px solid #eee;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: inherit;
            background-color: white;
            cursor: pointer;
        }

        .form-select:focus {
            outline: none;
            border-color: var(--secondary-color);
        }

        .checkbox-group {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
        }

        .checkbox-item input {
            margin-right: 8px;
        }

        /* Bottom of page score panel */
        .score-panel {
            background-color: var(--primary-color);
            color: white;
            padding: 20px;
            border-radius: var(--border-radius);
            margin-top: 40px;
        }

        .score-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .score-title {
            font-size: 20px;
            font-weight: 500;
        }

        .score-value {
            font-size: 24px;
            font-weight: bold;
        }

        .progress-bar {
            height: 10px;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 5px;
            overflow: hidden;
            margin-bottom: 15px;
        }

        .progress {
            height: 100%;
            background-color: var(--success-color);
            width: 70%;
            border-radius: 5px;
        }

        .score-feedback {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }

        .score-details {
            margin-top: 20px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

        .score-metric {
            background-color: rgba(255, 255, 255, 0.1);
            padding: 10px;
            border-radius: var(--border-radius);
        }

        .metric-label {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 5px;
        }

        .metric-value {
            font-size: 18px;
            font-weight: 500;
        }

        .score-actions {
            margin-top: 20px;
            display: flex;
            justify-content: flex-end;
            gap: 15px;
        }

        .score-btn {
            padding: 8px 15px;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            border: none;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.3s;
        }

        .score-btn:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .finish-btn {
            background-color: var(--success-color);
        }

        /* Responsive styles */
        @media (max-width: 992px) {
            .lab-interface {
                grid-template-columns: 1fr;
            }

            .lab-sidebar {
                position: static;
                margin-bottom: 30px;
            }

            .dashboard-cards {
                grid-template-columns: 1fr 1fr;
            }

            .score-details {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .dashboard-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .dashboard-cards {
                grid-template-columns: 1fr;
            }

            .endpoint-details {
                grid-template-columns: 1fr;
            }

            .analysis-tool {
                flex: 1 0 100%;
            }

            .connection-details {
                grid-template-columns: 1fr;
            }

            .score-details {
                grid-template-columns: 1fr;
            }

            .mobile-menu-btn {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                flex-direction: column;
                background-color: var(--primary-color);
                padding: 20px;
                transform: translateY(-150%);
                transition: transform 0.3s;
                z-index: 1000;
            }

            .nav-links.active {
                transform: translateY(0);
            }

            .nav-links li {
                margin: 15px 0;
            }
        }
        /* Additional styles for chat environment */

/* Fix for container sizing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Ensure proper display of modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    margin: 50px auto;
    max-width: 500px;
}

.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Improve responsiveness for chat interface */
@media screen and (max-width: 768px) {
    .lab-interface {
        flex-direction: column;
    }

    .lab-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .lab-content {
        width: 100%;
    }

    .dashboard-cards {
        flex-direction: column;
    }

    .dashboard-card {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Better visibility for action states */
.action-item.selected {
    border: 2px solid #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    position: relative;
}

.action-item.selected::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    color: #28a745;
    font-size: 16px;
    font-weight: bold;
}

/* Improve tab visibility */
.tab {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab:hover {
    background-color: #e0e0e0;
}

.tab.active {
    background-color: #007bff;
    color: white;
}

/* Animation for refresh button */
.fa-spin {
    animation: fa-spin 2s linear infinite;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Better alert highlighting */
.alert-severity {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.severity-critical {
    background-color: #dc3545;
    color: white;
}

.severity-high {
    background-color: #fd7e14;
    color: white;
}

.severity-medium {
    background-color: #ffc107;
    color: #333;
}

.severity-low {
    background-color: #6c757d;
    color: white;
}

/* Make process tree more visible */
.process-node {
    margin-bottom: 20px;
}

.process-parent, .process-child {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
}

.process-children {
    margin-left: 30px;
    position: relative;
}

.process-children::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 0;
    height: 100%;
    border-left: 1px dashed #ccc;
}

.process-suspicious {
    border-left: 3px solid #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

/* Button states */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary, .modal-btn.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-secondary, .modal-btn.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-danger, .modal-btn.btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* Alert level button states */
.alert-level {
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    background-color: #28a745;
    color: white;
    border: none;
}

.alert-level.medium {
    background-color: #ffc107;
    color: #333;
}

.alert-level.high {
    background-color: #dc3545;
}