/* Golden Prompt Generator - Main Stylesheet */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    border-bottom: 2px solid #333;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.subtitle {
    color: #888;
    font-size: 1.1em;
}

.input-section {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff;
    font-size: 1.1em;
}

textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    color: #e0e0e0;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

textarea::placeholder {
    color: #666;
}

select {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    color: #e0e0e0;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.3s;
    margin-bottom: 15px;
}

select:focus {
    outline: none;
    border-color: #4a90e2;
}

select option {
    background: #1a1a1a;
    color: #e0e0e0;
}

.debug-toggle {
    margin-bottom: 15px;
}

.debug-toggle label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1em;
}

.debug-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

button {
    background: #4a90e2;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

button:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    background: #333;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.loading {
    display: none;
    text-align: center;
    margin: 30px 0;
    color: #4a90e2;
    font-size: 1.1em;
}

.loading.active {
    display: block;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(74, 144, 226, 0.3);
    border-radius: 50%;
    border-top-color: #4a90e2;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

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

.result-section {
    margin-top: 40px;
    display: none;
}

.result-section.active {
    display: block;
}

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

.result-header h2 {
    color: #fff;
    font-size: 1.5em;
}

.copy-btn {
    padding: 8px 20px;
    font-size: 0.9em;
    background: #2d2d2d;
}

.copy-btn:hover {
    background: #3d3d3d;
}

.result-box {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.prompt-content {
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #e0e0e0;
}

.metadata {
    background: #0d0d0d;
    border: 1px solid #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    font-size: 0.9em;
}

.metadata-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2d2d2d;
}

.metadata-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.metadata-label {
    color: #888;
    font-weight: 600;
    display: inline-block;
    min-width: 150px;
}

.metadata-value {
    color: #4a90e2;
}

.error {
    background: #2d1a1a;
    border: 2px solid #d32f2f;
    color: #ff6b6b;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.error-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.cached-badge {
    display: inline-block;
    background: #2d4a2d;
    color: #66ff66;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    margin-left: 10px;
}

/* Debug Section Styles */
.debug-section {
    margin-top: 30px;
    background: #0d0d0d;
    border: 2px solid #444;
    border-radius: 8px;
}

.debug-header {
    background: #1a1a1a;
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.debug-header:hover {
    background: #222;
}

.debug-header h3 {
    color: #ff9800;
    font-size: 1.2em;
    margin: 0;
}

.debug-toggle-icon {
    color: #888;
    font-size: 1.5em;
    transition: transform 0.3s;
}

.debug-header.expanded .debug-toggle-icon {
    transform: rotate(180deg);
}

.debug-content {
    display: none;
    padding: 20px;
}

.debug-content.expanded {
    display: block;
}

.debug-stage {
    margin-bottom: 30px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
}

.debug-stage h4 {
    color: #4a90e2;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.debug-subsection {
    margin-bottom: 20px;
}

.debug-subsection h5 {
    color: #888;
    margin-bottom: 10px;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.debug-json {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
    margin-bottom: 10px;
}

.debug-json pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #e0e0e0;
    line-height: 1.5;
}

.debug-text {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
    margin-bottom: 10px;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #e0e0e0;
    line-height: 1.5;
}

.debug-label {
    color: #66ff66;
    font-weight: 600;
    margin-bottom: 5px;
}

.debug-warning {
    color: #ff9800;
    font-style: italic;
    padding: 10px;
    background: #2d2410;
    border-radius: 4px;
    margin-bottom: 10px;
}

.phrase-list {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
}

.phrase-list-item {
    padding: 5px 0;
    border-bottom: 1px solid #222;
}

.phrase-list-item:last-child {
    border-bottom: none;
}

.phrase-source-llm {
    color: #66ff66;
}

.phrase-source-db {
    color: #4a90e2;
}

.model-loading {
    color: #888;
    font-style: italic;
    padding: 10px;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 0;
}

.tab-button {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 15px 25px;
    font-size: 1em;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0;
}

.tab-button:hover {
    color: #4a90e2;
    background: transparent;
    transform: none;
    box-shadow: none;
}

.tab-button.active {
    color: #fff;
    border-bottom-color: #4a90e2;
    background: transparent;
}

.tab-content {
    display: none;
}

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

/* LLM Logs Tab Styles */
.logs-filters {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

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

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.9em;
    margin: 0;
    color: #888;
}

.filter-group select,
.filter-group input {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #0a0a0a;
    color: #e0e0e0;
}

.filters-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-button {
    padding: 10px 20px;
    font-size: 0.9em;
    background: #2d2d2d;
}

.filter-button:hover {
    background: #3d3d3d;
}

.auto-refresh-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #888;
}

.auto-refresh-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.logs-table-container {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

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

.logs-table thead {
    background: #0d0d0d;
    border-bottom: 2px solid #333;
}

.logs-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logs-table tbody tr {
    border-bottom: 1px solid #2d2d2d;
    cursor: pointer;
    transition: background 0.2s;
}

.logs-table tbody tr:hover {
    background: #222;
}

.logs-table tbody tr.expanded {
    background: #1d1d1d;
}

.logs-table td {
    padding: 12px 15px;
    font-size: 0.85em;
}

.log-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
}

.log-status.success {
    background: #2d4a2d;
    color: #66ff66;
}

.log-status.error {
    background: #4a2d2d;
    color: #ff6666;
}

.log-details {
    display: none;
    padding: 20px;
    background: #0d0d0d;
    border-top: 2px solid #333;
}

.log-details.expanded {
    display: block;
}

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

.log-detail-section {
    background: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    padding: 15px;
}

.log-detail-section h4 {
    color: #4a90e2;
    margin-bottom: 10px;
    font-size: 1em;
}

.log-detail-content {
    color: #e0e0e0;
    font-size: 0.85em;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 300px;
    overflow-y: auto;
}

.log-detail-content code {
    background: #0a0a0a;
    padding: 10px;
    border-radius: 4px;
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.truncated {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logs-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.logs-empty-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.logs-loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

/* Configuration Tab Styles */
.config-section {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.config-section-header {
    background: #2d2d2d;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.config-section-header:hover {
    background: #333;
}

.config-section-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-section-arrow {
    transition: transform 0.3s;
    color: #888;
}

.config-section.collapsed .config-section-arrow {
    transform: rotate(-90deg);
}

.config-section-content {
    padding: 20px;
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
}

.config-section.collapsed .config-section-content {
    max-height: 0;
    padding: 0 20px;
}

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

.config-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #888;
    font-size: 0.9em;
    font-weight: 600;
}

.config-textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #e0e0e0;
    resize: vertical;
}

.config-textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.config-slider-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.config-slider {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.config-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.config-slider-label {
    color: #888;
    font-size: 0.9em;
}

.config-slider-value {
    color: #4a90e2;
    font-weight: 600;
    font-size: 0.9em;
}

.config-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #333;
    outline: none;
    -webkit-appearance: none;
}

.config-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4a90e2;
    cursor: pointer;
}

.config-slider input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4a90e2;
    cursor: pointer;
    border: none;
}

.config-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.config-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.config-checkbox label {
    margin: 0;
    cursor: pointer;
    color: #e0e0e0;
    font-size: 0.95em;
    font-weight: normal;
}

.config-input-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.config-input {
    padding: 8px 12px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 0.9em;
    width: 80px;
}

.config-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.config-preset-item {
    background: #2d2d2d;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.config-preset-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.config-preset-name {
    color: #e0e0e0;
    font-weight: 600;
}

.config-preset-desc {
    color: #888;
    font-size: 0.85em;
}

.config-preset-badge {
    background: #4a90e2;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    margin-left: 8px;
}

.config-preset-actions {
    display: flex;
    gap: 10px;
}

.config-button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.config-button {
    padding: 10px 20px;
    font-size: 0.9em;
    background: #2d2d2d;
    border: 1px solid #333;
    border-radius: 6px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
}

.config-button:hover {
    background: #333;
    border-color: #4a90e2;
}

.config-button.primary {
    background: #4a90e2;
    border-color: #4a90e2;
    color: #fff;
    font-weight: 600;
}

.config-button.primary:hover {
    background: #357abd;
    border-color: #357abd;
}

.config-button.danger {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.config-button.danger:hover {
    background: #c82333;
    border-color: #c82333;
}

.config-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.config-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.config-message.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.config-message.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.config-message.visible {
    display: block;
}

.config-select {
    padding: 10px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 0.9em;
    width: 100%;
    max-width: 300px;
}

.config-select:focus {
    outline: none;
    border-color: #4a90e2;
}

/* Debug Tab Styles */
.debug-toggle {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.debug-toggle-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.debug-toggle-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.debug-toggle-switch input[type="checkbox"] {
    width: 40px;
    height: 20px;
    cursor: pointer;
}

.debug-info-panel {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.debug-info-section {
    margin-bottom: 20px;
}

.debug-info-section h3 {
    color: #4a90e2;
    font-size: 1em;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.debug-code-block {
    background: #0a0a0a;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    padding: 15px;
    overflow-x: auto;
    position: relative;
}

.debug-code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: #e0e0e0;
    white-space: pre-wrap;
    word-break: break-all;
}

.debug-copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 0.75em;
    background: #2d2d2d;
    border: 1px solid #333;
    border-radius: 4px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
}

.debug-copy-button:hover {
    background: #333;
    border-color: #4a90e2;
}

.debug-empty {
    text-align: center;
    padding: 40px;
    color: #666;
}

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

.debug-stat-card {
    background: #2d2d2d;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.debug-stat-label {
    color: #888;
    font-size: 0.85em;
    margin-bottom: 5px;
}

.debug-stat-value {
    color: #4a90e2;
    font-size: 1.5em;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* Transparency Tab Styles */
.transparency-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-box {
    background: #1a1a1a;
    border: 2px solid #2d2d2d;
    border-radius: 8px;
    padding: 20px;
}

.info-box.warning {
    border-color: #ff9800;
    background: #1a1407;
}

.info-box h3 {
    color: #4a90e2;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.info-box p {
    margin-bottom: 10px;
    color: #ccc;
}

.info-box ul, .info-box ol {
    margin-left: 20px;
    color: #aaa;
}

.info-box li {
    margin-bottom: 8px;
}

.transparency-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.transparency-logs-container {
    margin-top: 20px;
}

.transparency-log-card {
    background: #1a1a1a;
    border: 2px solid #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.transparency-log-card:hover {
    border-color: #4a90e2;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2d2d2d;
}

.log-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.log-icon {
    font-size: 1.5em;
}

.log-model {
    background: #2d2d2d;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #4a90e2;
}

.log-verified {
    background: #1a3a1a;
    color: #4ade80;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
}

.log-hashes {
    display: flex;
    gap: 10px;
}

.hash-badge {
    background: #2d2d2d;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.75em;
    color: #888;
}

.log-body {
    margin-bottom: 15px;
}

.log-section {
    margin-bottom: 20px;
}

.log-section h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1em;
}

.log-detail {
    margin-bottom: 10px;
}

.log-detail strong {
    color: #4a90e2;
    display: inline-block;
    min-width: 120px;
}

.log-content {
    background: #0a0a0a;
    border: 1px solid #2d2d2d;
    border-radius: 4px;
    padding: 15px;
    margin-top: 5px;
    font-family: monospace;
    font-size: 0.9em;
    color: #e0e0e0;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 300px;
    overflow-y: auto;
}

.log-content.user-prompt {
    border-left: 4px solid #4a90e2;
}

.log-content.system-prompt {
    border-left: 4px solid #ff9800;
}

.log-content.response-content {
    border-left: 4px solid #4ade80;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-badge.success {
    background: #1a3a1a;
    color: #4ade80;
}

.raw-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #2d2d2d;
}

.raw-data pre {
    background: #0a0a0a;
    border: 1px solid #2d2d2d;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
    max-height: 400px;
}

.raw-data code {
    font-family: monospace;
    font-size: 0.85em;
    color: #e0e0e0;
}

.log-footer {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #2d2d2d;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85em;
    background: #2d2d2d;
    border: 1px solid #333;
    border-radius: 4px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-small:hover {
    background: #333;
    border-color: #4a90e2;
    color: #4a90e2;
}

.filter-button.warning {
    background: #1a0a00;
    border-color: #ff4444;
    color: #ff4444;
}

.filter-button.warning:hover {
    background: #2a0a00;
    border-color: #ff6666;
    color: #ff6666;
}


/* Chain Comparison Styles */
.chain-comparison-container {
    background: #1a1a1a;
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.chain-comparison-card {
    background: #0a0a0a;
    border: 1px solid #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.chain-step {
    background: #1a1a1a;
    border-left: 4px solid #4a90e2;
    padding: 15px;
    margin: 10px 0;
}

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

.chain-step-number {
    background: #4a90e2;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.chain-arrow {
    text-align: center;
    font-size: 2em;
    color: #ff9800;
    margin: 10px 0;
}

.warning-box {
    background: #1a0a00;
    border: 2px solid #ff4444;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.warning-box h4 {
    color: #ff4444;
    margin-bottom: 10px;
}

.warning-box code {
    background: #2a0a00;
    padding: 2px 8px;
    border-radius: 4px;
    color: #ff6666;
    font-family: monospace;
}

