|
|
:root { |
|
|
--primary: #2563eb; |
|
|
--primary-light: #3b82f6; |
|
|
--primary-dark: #1d4ed8; |
|
|
--danger: #ef4444; |
|
|
--success: #10b981; |
|
|
--warning: #f59e0b; |
|
|
--gray-100: #f3f4f6; |
|
|
--gray-200: #e5e7eb; |
|
|
--gray-300: #d1d5db; |
|
|
--gray-400: #9ca3af; |
|
|
--gray-500: #6b7280; |
|
|
--gray-600: #4b5563; |
|
|
--gray-700: #374151; |
|
|
--gray-800: #1f2937; |
|
|
--gray-900: #111827; |
|
|
--transition: all 0.2s ease; |
|
|
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); |
|
|
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); |
|
|
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); |
|
|
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); |
|
|
} |
|
|
|
|
|
* { |
|
|
box-sizing: border-box; |
|
|
margin: 0; |
|
|
padding: 0; |
|
|
} |
|
|
|
|
|
body { |
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; |
|
|
line-height: 1.6; |
|
|
color: var(--gray-800); |
|
|
background-color: #f8fafc; |
|
|
max-width: 1200px; |
|
|
margin: 0 auto; |
|
|
padding: 2rem; |
|
|
} |
|
|
|
|
|
@media (max-width: 768px) { |
|
|
body { |
|
|
padding: 1rem; |
|
|
} |
|
|
} |
|
|
|
|
|
.container { |
|
|
max-width: 1000px; |
|
|
margin: 0 auto; |
|
|
} |
|
|
|
|
|
.header { |
|
|
margin-bottom: 2.5rem; |
|
|
text-align: center; |
|
|
} |
|
|
|
|
|
.logo { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
margin-bottom: 1rem; |
|
|
} |
|
|
|
|
|
.logo-icon { |
|
|
width: 40px; |
|
|
height: 40px; |
|
|
background-color: var(--primary); |
|
|
border-radius: 8px; |
|
|
color: white; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
font-weight: bold; |
|
|
font-size: 1.5rem; |
|
|
margin-right: 10px; |
|
|
} |
|
|
|
|
|
h1 { |
|
|
font-size: 2rem; |
|
|
font-weight: 700; |
|
|
color: var(--gray-900); |
|
|
margin-bottom: 0.5rem; |
|
|
} |
|
|
|
|
|
h2 { |
|
|
font-size: 1.5rem; |
|
|
font-weight: 600; |
|
|
color: var(--gray-800); |
|
|
margin-bottom: 1.5rem; |
|
|
} |
|
|
|
|
|
p { |
|
|
color: var(--gray-600); |
|
|
margin-bottom: 1rem; |
|
|
} |
|
|
|
|
|
.card { |
|
|
background-color: white; |
|
|
border-radius: 0.75rem; |
|
|
box-shadow: var(--shadow); |
|
|
padding: 2rem; |
|
|
margin-bottom: 2rem; |
|
|
} |
|
|
|
|
|
.form-group { |
|
|
margin-bottom: 1.5rem; |
|
|
} |
|
|
|
|
|
label { |
|
|
display: block; |
|
|
margin-bottom: 0.5rem; |
|
|
font-weight: 500; |
|
|
color: var(--gray-700); |
|
|
} |
|
|
|
|
|
#userInput { |
|
|
width: 100%; |
|
|
padding: 0.75rem; |
|
|
border: 1px solid var(--gray-300); |
|
|
border-radius: 0.5rem; |
|
|
min-height: 150px; |
|
|
font-family: inherit; |
|
|
resize: vertical; |
|
|
transition: var(--transition); |
|
|
} |
|
|
|
|
|
#userInput:focus { |
|
|
outline: none; |
|
|
border-color: var(--primary); |
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); |
|
|
} |
|
|
|
|
|
.btn { |
|
|
display: inline-flex; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
padding: 0.625rem 1.25rem; |
|
|
border: none; |
|
|
border-radius: 0.5rem; |
|
|
font-weight: 500; |
|
|
font-size: 0.875rem; |
|
|
cursor: pointer; |
|
|
transition: var(--transition); |
|
|
gap: 0.5rem; |
|
|
} |
|
|
|
|
|
.btn-primary { |
|
|
background-color: var(--primary); |
|
|
color: white; |
|
|
} |
|
|
|
|
|
.btn-primary:hover { |
|
|
background-color: var(--primary-dark); |
|
|
} |
|
|
|
|
|
.btn-secondary { |
|
|
background-color: var(--gray-100); |
|
|
color: var(--gray-700); |
|
|
} |
|
|
|
|
|
.btn-secondary:hover { |
|
|
background-color: var(--gray-200); |
|
|
} |
|
|
|
|
|
.btn-danger { |
|
|
background-color: var(--danger); |
|
|
color: white; |
|
|
} |
|
|
|
|
|
.btn-danger:hover { |
|
|
background-color: #dc2626; |
|
|
} |
|
|
|
|
|
.btn-success { |
|
|
background-color: var(--success); |
|
|
color: white; |
|
|
} |
|
|
|
|
|
.btn-success:hover { |
|
|
background-color: #059669; |
|
|
} |
|
|
|
|
|
.btn-warning { |
|
|
background-color: var(--warning); |
|
|
color: white; |
|
|
} |
|
|
|
|
|
.btn-warning:hover { |
|
|
background-color: #d97706; |
|
|
} |
|
|
|
|
|
.query-item { |
|
|
background-color: white; |
|
|
border-radius: 0.75rem; |
|
|
box-shadow: var(--shadow); |
|
|
padding: 1.5rem; |
|
|
margin-bottom: 1.5rem; |
|
|
} |
|
|
|
|
|
.query-container { |
|
|
display: flex; |
|
|
margin-bottom: 1rem; |
|
|
align-items: center; |
|
|
gap: 0.5rem; |
|
|
} |
|
|
|
|
|
.query-field { |
|
|
flex-grow: 1; |
|
|
padding: 0.625rem 0.75rem; |
|
|
border: 1px solid var(--gray-300); |
|
|
border-radius: 0.5rem; |
|
|
transition: var(--transition); |
|
|
} |
|
|
|
|
|
.query-field:focus { |
|
|
outline: none; |
|
|
border-color: var(--primary); |
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); |
|
|
} |
|
|
|
|
|
.action-button { |
|
|
background-color: hsl(192, 83%, 66%); |
|
|
color: white; |
|
|
padding: 8px 12px; |
|
|
border: none; |
|
|
border-radius: 4px; |
|
|
cursor: pointer; |
|
|
margin-right: 5px; |
|
|
} |
|
|
.delete-button { |
|
|
background-color: #f44336; |
|
|
} |
|
|
.search-button { |
|
|
background-color: #2196F3; |
|
|
} |
|
|
button:hover { |
|
|
opacity: 0.9; |
|
|
} |
|
|
|
|
|
#resultsContainer { |
|
|
margin-top: 20px; |
|
|
display: none; |
|
|
} |
|
|
#queriesContainer { |
|
|
margin-bottom: 15px; |
|
|
} |
|
|
#loadingIndicator { |
|
|
display: none; |
|
|
margin-top: 20px; |
|
|
text-align: center; |
|
|
color: #666; |
|
|
} |
|
|
.button-container { |
|
|
margin-top: 15px; |
|
|
} |
|
|
.results-table { |
|
|
width: 100%; |
|
|
border-collapse: collapse; |
|
|
margin-top: 10px; |
|
|
display: none; |
|
|
} |
|
|
.results-table th, .results-table td { |
|
|
border: 1px solid #ddd; |
|
|
padding: 8px; |
|
|
text-align: left; |
|
|
} |
|
|
.results-table th { |
|
|
background-color: #f2f2f2; |
|
|
} |
|
|
.results-table tr:nth-child(even) { |
|
|
background-color: #f9f9f9; |
|
|
} |
|
|
.results-table tr:hover { |
|
|
background-color: #f1f1f1; |
|
|
} |
|
|
.search-loading { |
|
|
display: none; |
|
|
margin: 10px 0; |
|
|
font-style: italic; |
|
|
color: #666; |
|
|
} |
|
|
.url-link { |
|
|
color: #0066cc; |
|
|
text-decoration: none; |
|
|
word-break: break-all; |
|
|
} |
|
|
.url-link:hover { |
|
|
text-decoration: underline; |
|
|
} |
|
|
|
|
|
.analyze-button { |
|
|
margin-top: 5px; |
|
|
padding: 3px 8px; |
|
|
font-size: 0.8em; |
|
|
} |
|
|
|
|
|
.loading-spinner { |
|
|
border: 4px solid #f3f3f3; |
|
|
border-top: 4px solid #3498db; |
|
|
border-radius: 50%; |
|
|
width: 20px; |
|
|
height: 20px; |
|
|
animation: spin 2s linear infinite; |
|
|
margin: 0 auto; |
|
|
} |
|
|
|
|
|
@keyframes spin { |
|
|
0% { transform: rotate(0deg); } |
|
|
100% { transform: rotate(360deg); } |
|
|
} |
|
|
|
|
|
.score-cell, .justification-cell { |
|
|
max-width: 150px; |
|
|
overflow: hidden; |
|
|
text-overflow: ellipsis; |
|
|
} |
|
|
|
|
|
.score-cell { |
|
|
font-weight: bold; |
|
|
text-align: center; |
|
|
} |
|
|
|
|
|
.floating-buttons { |
|
|
position: fixed; |
|
|
bottom: 2rem; |
|
|
right: 2rem; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
gap: 0.75rem; |
|
|
z-index: 100; |
|
|
} |
|
|
|
|
|
.floating-button { |
|
|
padding: 0.75rem; |
|
|
border-radius: 0.5rem; |
|
|
box-shadow: var(--shadow-md); |
|
|
transition: all 0.3s ease; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
gap: 0.5rem; |
|
|
width: auto; |
|
|
white-space: nowrap; |
|
|
} |
|
|
|
|
|
.floating-button:hover { |
|
|
transform: translateY(-2px); |
|
|
box-shadow: var(--shadow-lg); |
|
|
} |
|
|
|
|
|
.loading-overlay { |
|
|
position: fixed; |
|
|
top: 0; |
|
|
left: 0; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
background-color: rgba(0, 0, 0, 0.5); |
|
|
display: none; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
z-index: 1000; |
|
|
} |
|
|
|
|
|
.loading-content { |
|
|
background-color: white; |
|
|
padding: 2rem; |
|
|
border-radius: 0.75rem; |
|
|
text-align: center; |
|
|
box-shadow: var(--shadow-lg); |
|
|
max-width: 80%; |
|
|
} |
|
|
|
|
|
.loading-content .loading-spinner { |
|
|
width: 40px; |
|
|
height: 40px; |
|
|
border-width: 4px; |
|
|
margin-bottom: 1rem; |
|
|
} |
|
|
|
|
|
.progress-text { |
|
|
font-size: 1rem; |
|
|
margin-top: 0.75rem; |
|
|
color: var(--gray-700); |
|
|
} |
|
|
|
|
|
.button-container { |
|
|
margin-top: 1.5rem; |
|
|
display: flex; |
|
|
justify-content: flex-start; |
|
|
gap: 0.75rem; |
|
|
} |
|
|
|
|
|
|
|
|
.icon { |
|
|
display: inline-block; |
|
|
width: 20px; |
|
|
height: 20px; |
|
|
background-size: contain; |
|
|
background-repeat: no-repeat; |
|
|
background-position: center; |
|
|
} |
|
|
|
|
|
.table-container { |
|
|
margin-top: 1rem; |
|
|
overflow-x: auto; |
|
|
border-radius: 0.5rem; |
|
|
border: 1px solid var(--gray-200); |
|
|
} |
|
|
|
|
|
|
|
|
@media (max-width: 768px) { |
|
|
.query-container { |
|
|
flex-direction: column; |
|
|
align-items: stretch; |
|
|
} |
|
|
|
|
|
.query-container .btn { |
|
|
margin-top: 0.5rem; |
|
|
} |
|
|
|
|
|
.floating-buttons { |
|
|
bottom: 1rem; |
|
|
right: 1rem; |
|
|
} |
|
|
} |
|
|
|
|
|
.search-options { |
|
|
margin-bottom: 20px; |
|
|
text-align: center; |
|
|
} |
|
|
|
|
|
.checkbox-group { |
|
|
display: flex; |
|
|
gap: 15px; |
|
|
margin-top: 5px; |
|
|
justify-content: center; |
|
|
} |
|
|
|
|
|
.checkbox-item { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
gap: 5px; |
|
|
} |