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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    color: #1a1a2e;
    line-height: 1.6;
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-card h1 {
    text-align: center;
    margin-bottom: 8px;
    color: #1a1a2e;
    font-size: 28px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.default-hint {
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-size: 13px;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 220px;
    background: #1a1a2e;
    color: white;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar.collapsed .nav-text,
.sidebar.collapsed .user-info .nav-text,
.sidebar.collapsed .sidebar-header h2 {
    display: none;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h2 {
    font-size: 20px;
    white-space: nowrap;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.sidebar-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.sidebar-nav {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.nav-item.active {
    background: rgba(102, 126, 234, 0.3);
    color: white;
    border-right: 3px solid #667eea;
}

.nav-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.nav-section {
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 8px;
}

.nav-section-toggle {
    cursor: pointer;
    user-select: none;
}

.nav-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.2s;
    color: rgba(255,255,255,0.5);
}

.nav-section-toggle.expanded .nav-arrow {
    transform: rotate(90deg);
}

.nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.nav-submenu.open {
    max-height: 200px;
}

.nav-sub-item {
    padding-left: 44px;
    font-size: 14px;
}

.sidebar.collapsed .nav-submenu {
    display: none;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.user-info {
    padding: 8px 0;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.top-bar {
    background: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
}

.content-area {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-hint {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #5568d3;
}

.btn-secondary {
    background: #e9ecef;
    color: #333;
}

.btn-secondary:hover:not(:disabled) {
    background: #dee2e6;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover:not(:disabled) {
    background: #059669;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #dc2626;
}

.btn-info {
    background: #3b82f6;
    color: white;
}

.btn-info:hover:not(:disabled) {
    background: #2563eb;
}

.btn-text {
    background: none;
    color: rgba(255,255,255,0.7);
    padding: 8px 12px;
}

.btn-text:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.page-actions {
    margin-bottom: 24px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.item-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.item-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.format-tag {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.format-openai {
    background: #dbeafe;
    color: #1e40af;
}

.format-anthropic {
    background: #fce7f3;
    color: #9d174d;
}

.item-body p {
    color: #666;
    font-size: 14px;
    margin-bottom: 6px;
    word-break: break-all;
}

.cap-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    background: #e0e7ff;
    color: #3730a3;
    margin-right: 4px;
}

.cap-checkbox {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    cursor: pointer;
}

.cap-checkbox input {
    cursor: pointer;
}

.item-body p strong {
    color: #333;
}

.meta-time {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

.empty-text {
    color: #999;
    text-align: center;
    padding: 40px 20px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 700px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0 4px;
}

.modal-close:hover {
    color: #333;
}

#modelForm,
#testsetForm {
    padding: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.test-result {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.test-result.success {
    background: #d1fae5;
    color: #065f46;
}

.test-result.error {
    background: #fee2e2;
    color: #991b1b;
}

.test-result.info {
    background: #dbeafe;
    color: #1e40af;
}

.checklist {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.check-item:hover {
    background: #f5f7fa;
}

.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.check-item span {
    font-size: 14px;
}

.setup-panel {
    max-width: 700px;
    margin: 0 auto;
}

.form-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.form-card h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.running-panel {
    width: 100%;
}

.run-header {
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 10;
}

.run-header h2 {
    margin-bottom: 16px;
    font-size: 20px;
}

.run-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-container.large {
    margin-bottom: 24px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.comparison-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prompt-comparison {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.prompt-header {
    background: #f8fafc;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eee;
}

.prompt-index {
    font-weight: 600;
    color: #667eea;
    font-size: 16px;
}

.prompt-status {
    font-size: 13px;
    color: #999;
}

.prompt-status.done {
    color: #10b981;
}

.prompt-content {
    padding: 16px 20px;
    background: #fefce8;
    border-bottom: 1px solid #fde047;
    font-size: 15px;
    line-height: 1.7;
}

.responses-grid {
    display: grid;
    gap: 1px;
    background: #eee;
}

.response-card {
    background: white;
    min-width: 0;
}

.response-header {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    background: #f8fafc;
    border-bottom: 1px solid #eee;
}

.model-color-0 { background: #eff6ff; color: #1e40af; border-bottom-color: #bfdbfe; }
.model-color-1 { background: #f0fdf4; color: #166534; border-bottom-color: #bbf7d0; }
.model-color-2 { background: #fef3c7; color: #92400e; border-bottom-color: #fde68a; }
.model-color-3 { background: #fce7f3; color: #9d174d; border-bottom-color: #fbcfe8; }
.model-color-4 { background: #e0e7ff; color: #3730a3; border-bottom-color: #c7d2fe; }
.model-color-5 { background: #fef2f2; color: #991b1b; border-bottom-color: #fecaca; }

.response-body {
    padding: 16px;
}

.response-text {
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.waiting-text {
    color: #999;
    font-style: italic;
    font-size: 14px;
}

.error-text {
    color: #dc2626;
    background: #fee2e2;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

.response-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #999;
}

.dashboard {
    max-width: 1000px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stat-icon {
    font-size: 40px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.quick-actions {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.quick-actions h2,
.recent-runs h2,
.result-header h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.recent-runs {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.runs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.run-card {
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.run-card:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.run-name {
    font-weight: 600;
    margin-bottom: 8px;
}

.run-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
    align-items: center;
}

.runs-list-full {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.run-card-large {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.2s;
}

.run-card-large:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.run-card-main h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.run-card-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
    align-items: center;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-running {
    background: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.status-cancelled {
    background: #e5e7eb;
    color: #4b5563;
}

.result-header {
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.result-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
    align-items: center;
}

.progress-section {
    margin-bottom: 24px;
}

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 24px;
    border-radius: 8px;
    background: #1a1a2e;
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.error {
    background: #dc2626;
}

.toast.success {
    background: #059669;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -220px;
        height: 100vh;
        z-index: 100;
        transition: left 0.3s;
    }

    .sidebar.mobile-open {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .responses-grid {
        grid-template-columns: 1fr !important;
    }

    .result-header {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .chat-layout {
        flex-direction: column;
    }

    .chat-sidebar {
        width: 100% !important;
        max-height: 200px;
    }
}

.chat-layout {
    display: flex;
    gap: 20px;
    height: calc(100vh - 140px);
}

.chat-sidebar {
    width: 260px;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.chat-sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.chat-sidebar-header h3 {
    font-size: 16px;
}

.model-select-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.model-select-item {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 4px;
}

.model-select-item:hover {
    background: #f5f7fa;
}

.model-select-item.active {
    background: #eef2ff;
    border-left: 3px solid #667eea;
}

.model-item-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.model-item-id {
    font-size: 12px;
    color: #999;
}

.chat-sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid #eee;
}

.chat-main {
    flex: 1;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    min-width: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.chat-welcome {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.welcome-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.chat-welcome h2 {
    margin-bottom: 8px;
    color: #333;
}

.message-group {
    margin-bottom: 24px;
}

.message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.user-avatar {
    background: #667eea;
    color: white;
}

.model-avatar {
    background: #10b981;
    color: white;
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.7;
    font-size: 14px;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.user-bubble {
    background: #eef2ff;
    color: #1e1b4b;
    border-bottom-left-radius: 4px;
}

.model-bubble {
    background: #f0fdf4;
    color: #14532d;
    border-bottom-left-radius: 4px;
}

.model-bubble.waiting {
    color: #999;
    font-style: italic;
}

.error-bubble {
    background: #fef2f2;
    color: #991b1b;
}

.message-meta {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.delete-msg-btn {
    margin-top: 8px;
    padding: 4px 8px;
    font-size: 12px;
    color: #999;
}

.delete-msg-btn:hover {
    color: #ef4444;
}

.chat-input-area {
    border-top: 1px solid #eee;
    padding: 16px 20px;
}

.image-preview-area {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.img-preview-item {
    position: relative;
    width: 64px;
    height: 64px;
}

.img-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.img-preview-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e53e3e;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.media-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.media-container {
    position: relative;
    display: inline-block;
}

.chat-image {
    max-width: 300px;
    max-height: 300px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.media-label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.chat-video {
    max-width: 300px;
    border-radius: 8px;
}

.model-cap-icons {
    font-size: 12px;
    margin-left: 4px;
}

.input-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.input-row textarea {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
}

.input-row textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.send-btn {
    padding: 12px 24px;
    height: fit-content;
}

.send-loading {
    text-align: center;
    padding: 12px;
    color: #667eea;
    font-size: 14px;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.response-text-content {
    white-space: pre-wrap;
}
