/* Custom styles for Learning Companion */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 56px;
    /* 为固定的navbar留出空间 */
}

/* Header Styles */
.navbar {
    position: fixed;
    /* 固定navbar */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    /* 确保navbar在最上层 */
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 56px;
    /* Height of navbar */
    bottom: 0;
    left: 0;
    z-index: 1020;
    /* 低于navbar */
    padding: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    /* 允许侧边栏滚动 */
}

.sidebar .position-sticky {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: static;
    /* 改为static，因为父容器已经是fixed */
}

.sidebar-header {
    padding: 0 1rem;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
}

.sidebar-heading {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.sidebar .nav-link {
    color: #495057;
    padding: 0.75rem 1rem;
    margin: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
}

.sidebar .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    transform: translateX(2px);
}

.sidebar .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.3);
}

.sidebar .nav-link i {
    width: 16px;
    text-align: center;
}

.sidebar-footer {
    padding: 0 1rem;
    margin-top: auto;
    padding-bottom: 2rem;
}

/* Main Content Styles - 保持原有的Bootstrap布局 */
.content-wrapper {
    padding-top: 2rem;
    min-height: calc(100vh - 56px);
}

.main-content {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 2rem;
}

/* Card Enhancements */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.2s ease-in-out;
    border-radius: 0.5rem;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* Form Enhancements */
.form-control,
.form-select {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    transition: all 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Button Enhancements */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(13, 110, 253, 0.3);
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* List Group Enhancements */
.list-group-item {
    border: none;
    border-radius: 0.375rem !important;
    margin-bottom: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.2s ease-in-out;
}

.list-group-item:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Modern Chat Window Styles */
#chat-window {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    scroll-behavior: smooth;
}

/* User Message Styles */
.user-message {
    max-width: 80%;
    word-wrap: break-word;
    white-space: pre-wrap;
    text-align: left;
    animation: slideInRight 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

/* AI Message Styles */
.ai-message {
    max-width: 85%;
    word-wrap: break-word;
    animation: slideInLeft 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.ai-message .markdown-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.ai-message .markdown-content h1,
.ai-message .markdown-content h2,
.ai-message .markdown-content h3,
.ai-message .markdown-content h4,
.ai-message .markdown-content h5,
.ai-message .markdown-content h6 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #495057;
}

.ai-message .markdown-content p {
    margin-bottom: 0.75rem;
}

.ai-message .markdown-content ul,
.ai-message .markdown-content ol {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
}

.ai-message .markdown-content li {
    margin-bottom: 0.25rem;
}

.ai-message .markdown-content code {
    background-color: #f1f3f4;
    color: #d63384;
    padding: 0.1rem 0.3rem;
    border-radius: 0.2rem;
    font-size: 0.85em;
}

.ai-message .markdown-content pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.3rem;
    padding: 0.75rem;
    margin: 0.5rem 0;
    overflow-x: auto;
    font-size: 0.85rem;
}

.ai-message .markdown-content blockquote {
    border-left: 3px solid #0d6efd;
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    border-radius: 0.3rem;
    font-style: italic;
}

/* Chat animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Gradient background for chat header */
.bg-gradient-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
}

/* Chat input enhancements */
#question-input {
    border-radius: 2rem 0 0 2rem !important;
    border-right: none !important;
    padding-left: 1.5rem;
    font-size: 1rem;
}

#chat-form button[type="submit"] {
    border-radius: 0 2rem 2rem 0 !important;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: 1px solid #0d6efd;
}

#chat-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: scale(1.05);
}

/* Welcome message styles */
.chat-welcome {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px dashed #dee2e6;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin: 2rem;
}

.chat-welcome i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.chat-welcome h5 {
    color: #495057;
    margin-bottom: 1rem;
}

.chat-welcome p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.chat-welcome .badge {
    margin: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

/* Thinking indicator styles */
.thinking .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Toast container positioning */
#toast-container {
    z-index: 9999;
}

/* Responsive chat styles */
@media (max-width: 767.98px) {
    .user-message,
    .ai-message {
        max-width: 95%;
        font-size: 0.9rem;
    }
    
    #chat-window {
        height: 350px !important;
    }
    
    .chat-welcome {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .chat-welcome i {
        font-size: 3rem;
    }
}

/* Loading Spinner */
.spinner-border {
    color: #0d6efd;
}

/* Alert Enhancements */
.alert {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .sidebar {
        position: relative;
        top: 0;
        height: auto;
    }

    .content-wrapper {
        padding-top: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    body {
        padding-top: 56px;
        /* 保持navbar的padding */
    }
}

/* Animation for page transitions */
.main-content {
    animation: fadeIn 0.3s ease-in-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.status-online {
    background-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.3);
}

.status-offline {
    background-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.3);
}

/* System Info Styles */
.system-info {
    background: rgba(248, 249, 250, 0.5);
    border-radius: 0.375rem;
    padding: 0.75rem;
    border: 1px solid rgba(222, 226, 230, 0.5);
}

.system-info-item {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    gap: 0.25rem;
}

.system-info-item:not(:last-child) {
    border-bottom: 1px solid rgba(222, 226, 230, 0.3);
    margin-bottom: 0.25rem;
    padding-bottom: 0.5rem;
}

.system-info-item i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.system-info-item span:first-of-type {
    flex: 1;
}

.system-info-item span:last-of-type {
    margin-left: auto;
}

/* Device ID Autocomplete Dropdown Styles */
#device-id-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    display: none;
}

#device-id-dropdown.show {
    display: block;
}

#device-id-dropdown .dropdown-item {
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    color: #495057;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
}

#device-id-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

#device-id-dropdown .dropdown-item:focus {
    background-color: #e9ecef;
    color: #0d6efd;
    outline: none;
}

#device-id-dropdown .dropdown-item i {
    color: #6c757d;
    transition: color 0.2s ease-in-out;
}

#device-id-dropdown .dropdown-item:hover i {
    color: #0d6efd;
}

#device-id-dropdown .dropdown-item-text {
    padding: 0.75rem 1rem;
    color: #6c757d;
    font-size: 0.875rem;
    cursor: default;
}

#device-id-dropdown .dropdown-item-text i {
    color: #6c757d;
}
/* Ma
rkdown Content Styles */
.markdown-content {
    line-height: 1.6;
    color: #333;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.markdown-content h1 {
    font-size: 2rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.markdown-content h2 {
    font-size: 1.75rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.3rem;
}

.markdown-content h3 {
    font-size: 1.5rem;
    color: #0d6efd;
}

.markdown-content h4 {
    font-size: 1.25rem;
}

.markdown-content h5 {
    font-size: 1.1rem;
}

.markdown-content h6 {
    font-size: 1rem;
    color: #6c757d;
}

.markdown-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
}

.markdown-content blockquote {
    border-left: 4px solid #0d6efd;
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 0.375rem;
    font-style: italic;
}

.markdown-content blockquote p:last-child {
    margin-bottom: 0;
}

.markdown-content code {
    background-color: #f8f9fa;
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.markdown-content pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.4;
}

.markdown-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: #fff;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.markdown-content th,
.markdown-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.markdown-content th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.markdown-content tr:hover {
    background-color: #f8f9fa;
}

.markdown-content a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.markdown-content a:hover {
    color: #0b5ed7;
    text-decoration: underline;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin: 1rem 0;
}

.markdown-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
    margin: 2rem 0;
}

/* Mermaid Diagram Styles */
.mermaid-diagram,
.mermaid {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.mermaid-diagram svg,
.mermaid svg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Ensure mermaid diagrams are visible */
.mermaid {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for mermaid loading state */
.mermaid:empty::before {
    content: "正在加载图表...";
    color: #6c757d;
    font-style: italic;
}

/* Responsive adjustments for markdown content */
@media (max-width: 767.98px) {
    .markdown-content {
        font-size: 0.9rem;
    }
    
    .markdown-content h1 {
        font-size: 1.75rem;
    }
    
    .markdown-content h2 {
        font-size: 1.5rem;
    }
    
    .markdown-content h3 {
        font-size: 1.25rem;
    }
    
    .markdown-content pre {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .markdown-content table {
        font-size: 0.875rem;
    }
    
    .markdown-content th,
    .markdown-content td {
        padding: 0.5rem;
    }
}

/* Loading state for markdown content */
.markdown-content .spinner-border {
    width: 2rem;
    height: 2rem;
}

/* Enhanced code syntax highlighting */
.markdown-content pre code.language-javascript,
.markdown-content pre code.language-python,
.markdown-content pre code.language-java,
.markdown-content pre code.language-css,
.markdown-content pre code.language-html {
    color: #333;
}

/* Mermaid theme customization */
.mermaid .node rect,
.mermaid .node circle,
.mermaid .node ellipse,
.mermaid .node polygon {
    fill: #f8f9fa;
    stroke: #0d6efd;
    stroke-width: 2px;
}

.mermaid .node .label {
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mermaid .edgePath .path {
    stroke: #6c757d;
    stroke-width: 2px;
}

.mermaid .edgeLabel {
    background-color: #fff;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Session Detail Tabs Styles */
#sessionDetailTabs {
    border-bottom: none;
    background: none;
    padding: 0;
}

#sessionDetailTabs .nav-link {
    border: none;
    border-radius: 0;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 1.5rem;
    transition: all 0.2s ease-in-out;
    position: relative;
}

#sessionDetailTabs .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

#sessionDetailTabs .nav-link.active {
    color: #0d6efd;
    background-color: #ffffff;
    border-bottom: 3px solid #0d6efd;
    font-weight: 600;
}

#sessionDetailTabs .nav-link i {
    font-size: 1rem;
}

/* Tab header container styles */
.tab-header-container {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 0 1rem;
}

/* Badge styles in tab header */
.tab-header-container .badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

/* Pending feature styles */
.nav-link:contains("【待做】") {
    color: #6c757d !important;
    font-style: italic;
}

.nav-link:contains("【待做】"):hover {
    color: #495057 !important;
}

/* Pending feature content styles */
.pending-feature {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 2rem 0;
}

.pending-feature i {
    opacity: 0.6;
}

.pending-feature h4 {
    color: #6c757d;
    font-weight: 500;
}

.tab-content {
    background-color: #ffffff;
}

.tab-pane {
    min-height: 400px;
}

/* Full Text Content Styles */
.fulltext-content .bg-light {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef;
    font-size: 0.95rem;
    color: #495057;
}

.fulltext-content .bg-light::-webkit-scrollbar {
    width: 8px;
}

.fulltext-content .bg-light::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.fulltext-content .bg-light::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.fulltext-content .bg-light::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Session info styles */
.session-info-row {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
}

.session-info-row .text-muted {
    font-size: 0.875rem;
}

.session-info-row i {
    color: #6c757d;
    width: 16px;
    text-align: center;
}

/* Evaluation Content Styles */
.evaluation-content {
    line-height: 1.7;
}

.evaluation-content h1,
.evaluation-content h2,
.evaluation-content h3,
.evaluation-content h4,
.evaluation-content h5,
.evaluation-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.evaluation-content h1 {
    color: #0d6efd;
    font-size: 2rem;
    border-bottom: 3px solid #0d6efd;
    padding-bottom: 0.5rem;
}

.evaluation-content h2 {
    color: #198754;
    font-size: 1.5rem;
    border-left: 4px solid #198754;
    padding-left: 1rem;
}

.evaluation-content h3 {
    color: #fd7e14;
    font-size: 1.25rem;
}

.evaluation-content h4 {
    color: #6f42c1;
    font-size: 1.1rem;
}

/* Evaluation Tables */
.evaluation-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.evaluation-content th {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    font-weight: 600;
    padding: 1rem 0.75rem;
    text-align: center;
    font-size: 0.9rem;
}

.evaluation-content td {
    padding: 0.75rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.evaluation-content tr:nth-child(even) {
    background-color: #f8f9fa;
}

.evaluation-content tr:hover {
    background-color: #e3f2fd;
    transition: background-color 0.2s ease;
}

/* Star Rating Styles */
.evaluation-content td:contains("⭐") {
    font-size: 1.1rem;
}

.evaluation-content td:contains("★") {
    color: #ffc107;
    font-size: 1.1rem;
}

/* Blockquote Styles for Evaluation */
.evaluation-content blockquote {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    font-style: italic;
    font-weight: 500;
    color: #155724;
}

.evaluation-content blockquote p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Mermaid Radar Chart Styles */
.evaluation-content .mermaid {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

/* List Styles for Evaluation */
.evaluation-content ul {
    padding-left: 0;
    list-style: none;
}

.evaluation-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 2rem;
}

.evaluation-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

.evaluation-content li:last-child {
    border-bottom: none;
}

/* Badge Styles in Evaluation */
.evaluation-content .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
}

/* Evaluation Cards */
.evaluation-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.evaluation-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.evaluation-card h6 {
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive Design for Evaluation */
@media (max-width: 767.98px) {
    .evaluation-content table {
        font-size: 0.8rem;
    }
    
    .evaluation-content th,
    .evaluation-content td {
        padding: 0.5rem 0.25rem;
    }
    
    .evaluation-content h1 {
        font-size: 1.5rem;
    }
    
    .evaluation-content h2 {
        font-size: 1.25rem;
    }
    
    .evaluation-content .mermaid {
        padding: 1rem;
        margin: 1rem 0;
    }
}