
/* Custom styles for light theme */
body {
    min-height: 100vh;
    background-color: #f5f6f7;
    color: #2c3e50;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.query-container {
    max-width: 800px;
    margin: 2rem auto;
}

.history-container {
    max-height: 400px;
    overflow-y: auto;
}

.source-item {
    border-left: 3px solid #007bff;
    padding-left: 1rem;
    margin-left: 0.5rem;
}

/* Source modal styling */
.modal-content {
    background-color: #ffffff;
    color: #333333;
    text-align: center;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    justify-content: center;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    justify-content: center;
}

.source-content {
    padding: 2rem;
    background-color: #ffffff;
    text-align: center;
}

.source-title {
    color: #007bff;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.source-text {
    white-space: pre-wrap;
    font-family: monospace;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
    text-align: left;
}

.source-highlights {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 2rem;
}

.highlight-text {
    padding: 1rem;
    margin: 1rem 0;
    background-color: #ffffff;
    border-left: 3px solid #007bff;
    text-align: left;
}

.source-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

.source-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.source-reference {
    font-size: 0.9em;
    color: #666666;
    margin-top: 1rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #007bff;
}

/* Loading spinner styles */
.spinner-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

/* Analysis content styling */
.analysis-content {
    margin-top: 1rem;
}

.evidence-block {
    margin: 1rem 0;
    padding: 1rem 0;
    border-bottom: 1px dotted #dee2e6;
}

/* Card styling */
.card {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #3498db;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
}
