|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); |
|
|
|
:root { |
|
--primary-color: #4a6fa5; |
|
--secondary-color: #166088; |
|
--accent-color: #4fc3dc; |
|
--background-color: #f5f7fa; |
|
--card-color: #ffffff; |
|
--text-color: #333333; |
|
--light-text: #777777; |
|
--success-color: #28a745; |
|
--warning-color: #ffc107; |
|
--danger-color: #dc3545; |
|
--border-radius: 12px; |
|
--box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); |
|
--transition: all 0.3s ease; |
|
} |
|
|
|
* { |
|
margin: 0; |
|
padding: 0; |
|
box-sizing: border-box; |
|
font-family: 'Poppins', sans-serif; |
|
} |
|
|
|
body { |
|
background-color: var(--background-color); |
|
color: var(--text-color); |
|
min-height: 100vh; |
|
display: flex; |
|
flex-direction: column; |
|
background-image: linear-gradient(135deg, rgba(74, 111, 165, 0.1) 0%, rgba(79, 195, 220, 0.1) 100%); |
|
} |
|
|
|
.container { |
|
max-width: 1200px; |
|
margin: 0 auto; |
|
padding: 2rem; |
|
flex: 1; |
|
} |
|
|
|
header { |
|
text-align: center; |
|
margin-bottom: 3rem; |
|
} |
|
|
|
header h1 { |
|
color: var(--primary-color); |
|
font-size: 2.5rem; |
|
margin-bottom: 0.5rem; |
|
} |
|
|
|
header p { |
|
color: var(--light-text); |
|
font-size: 1.1rem; |
|
} |
|
|
|
|
|
.evaluation-flow { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
margin-bottom: 3rem; |
|
padding: 0 1rem; |
|
} |
|
|
|
.flow-step { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
position: relative; |
|
z-index: 1; |
|
} |
|
|
|
.step-icon { |
|
width: 60px; |
|
height: 60px; |
|
border-radius: 50%; |
|
background-color: var(--card-color); |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
box-shadow: var(--box-shadow); |
|
color: var(--light-text); |
|
font-size: 1.5rem; |
|
margin-bottom: 0.5rem; |
|
transition: var(--transition); |
|
} |
|
|
|
.flow-step.active .step-icon, |
|
.flow-step.completed .step-icon { |
|
background-color: var(--primary-color); |
|
color: white; |
|
} |
|
|
|
.flow-step.completed .step-icon { |
|
background-color: var(--success-color); |
|
} |
|
|
|
.step-label { |
|
font-weight: 500; |
|
color: var(--light-text); |
|
transition: var(--transition); |
|
} |
|
|
|
.flow-step.active .step-label, |
|
.flow-step.completed .step-label { |
|
color: var(--primary-color); |
|
font-weight: 600; |
|
} |
|
|
|
.flow-step.completed .step-label { |
|
color: var(--success-color); |
|
} |
|
|
|
.flow-connector { |
|
flex-grow: 1; |
|
height: 3px; |
|
background-color: #e0e0e0; |
|
margin: 0 10px; |
|
position: relative; |
|
top: -30px; |
|
z-index: 0; |
|
} |
|
|
|
|
|
.upload-section { |
|
margin-bottom: 3rem; |
|
} |
|
|
|
.upload-cards { |
|
display: grid; |
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
|
gap: 1.5rem; |
|
margin-bottom: 2rem; |
|
} |
|
|
|
.upload-card { |
|
background-color: var(--card-color); |
|
border-radius: var(--border-radius); |
|
box-shadow: var(--box-shadow); |
|
overflow: hidden; |
|
transition: var(--transition); |
|
} |
|
|
|
.upload-card:hover { |
|
transform: translateY(-5px); |
|
} |
|
|
|
.card-header { |
|
padding: 1rem; |
|
background-color: var(--primary-color); |
|
color: white; |
|
display: flex; |
|
align-items: center; |
|
} |
|
|
|
.card-header i { |
|
font-size: 1.5rem; |
|
margin-right: 0.5rem; |
|
} |
|
|
|
.upload-area { |
|
padding: 2rem; |
|
text-align: center; |
|
border: 2px dashed #e0e0e0; |
|
margin: 1rem; |
|
border-radius: var(--border-radius); |
|
cursor: pointer; |
|
transition: var(--transition); |
|
} |
|
|
|
.upload-area:hover { |
|
border-color: var(--primary-color); |
|
background-color: rgba(74, 111, 165, 0.05); |
|
} |
|
|
|
.upload-area i { |
|
font-size: 2.5rem; |
|
color: var(--light-text); |
|
margin-bottom: 1rem; |
|
} |
|
|
|
.preview { |
|
padding: 0 1rem 1rem; |
|
display: none; |
|
} |
|
|
|
.preview img { |
|
width: 100%; |
|
border-radius: var(--border-radius); |
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); |
|
} |
|
|
|
button { |
|
background-color: var(--primary-color); |
|
color: white; |
|
border: none; |
|
padding: 1rem 2rem; |
|
font-size: 1.1rem; |
|
border-radius: var(--border-radius); |
|
cursor: pointer; |
|
display: block; |
|
margin: 0 auto; |
|
transition: var(--transition); |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
} |
|
|
|
button:hover { |
|
background-color: var(--secondary-color); |
|
transform: translateY(-2px); |
|
} |
|
|
|
button:disabled { |
|
background-color: #cccccc; |
|
cursor: not-allowed; |
|
transform: none; |
|
} |
|
|
|
button i { |
|
margin-right: 0.5rem; |
|
} |
|
|
|
|
|
.results-section { |
|
background-color: var(--card-color); |
|
border-radius: var(--border-radius); |
|
box-shadow: var(--box-shadow); |
|
padding: 2rem; |
|
animation: fadeIn 0.5s ease; |
|
} |
|
|
|
.results-header { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
margin-bottom: 2rem; |
|
padding-bottom: 1rem; |
|
border-bottom: 1px solid #eee; |
|
} |
|
|
|
.results-header h2 { |
|
color: var(--primary-color); |
|
} |
|
|
|
#new-evaluation-btn { |
|
background-color: var(--accent-color); |
|
} |
|
|
|
.extracted-text { |
|
display: grid; |
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
|
gap: 1.5rem; |
|
margin-bottom: 2rem; |
|
} |
|
|
|
.text-section { |
|
background-color: #f9f9f9; |
|
border-radius: var(--border-radius); |
|
padding: 1.5rem; |
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); |
|
} |
|
|
|
.text-section h3 { |
|
display: flex; |
|
align-items: center; |
|
color: var(--primary-color); |
|
margin-bottom: 1rem; |
|
font-size: 1.2rem; |
|
} |
|
|
|
.text-section h3 i { |
|
margin-right: 0.5rem; |
|
} |
|
|
|
.text-content { |
|
max-height: 200px; |
|
overflow-y: auto; |
|
padding: 1rem; |
|
background-color: white; |
|
border-radius: 8px; |
|
border: 1px solid #eee; |
|
font-size: 0.95rem; |
|
line-height: 1.6; |
|
} |
|
|
|
|
|
.score-display { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
padding: 2rem 0; |
|
} |
|
|
|
.score-circle { |
|
position: relative; |
|
width: 200px; |
|
height: 200px; |
|
margin-bottom: 1.5rem; |
|
} |
|
|
|
.score-value { |
|
position: absolute; |
|
top: 50%; |
|
left: 50%; |
|
transform: translate(-50%, -50%); |
|
font-size: 3rem; |
|
font-weight: 700; |
|
color: var(--primary-color); |
|
} |
|
|
|
.score-svg { |
|
transform: rotate(-90deg); |
|
} |
|
|
|
.score-background { |
|
fill: none; |
|
stroke: #f0f0f0; |
|
stroke-width: 15; |
|
} |
|
|
|
.score-progress { |
|
fill: none; |
|
stroke: var(--primary-color); |
|
stroke-width: 15; |
|
stroke-dasharray: 565.48; |
|
stroke-dashoffset: 565.48; |
|
transition: stroke-dashoffset 1.5s ease, stroke 0.5s ease; |
|
} |
|
|
|
.score-label { |
|
font-size: 1.5rem; |
|
font-weight: 600; |
|
color: var(--primary-color); |
|
margin-bottom: 1rem; |
|
} |
|
|
|
.score-message { |
|
text-align: center; |
|
font-size: 1.1rem; |
|
color: var(--light-text); |
|
max-width: 600px; |
|
} |
|
|
|
|
|
.loading-overlay { |
|
position: fixed; |
|
top: 0; |
|
left: 0; |
|
width: 100%; |
|
height: 100%; |
|
background-color: rgba(255, 255, 255, 0.9); |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
z-index: 1000; |
|
} |
|
|
|
.loading-content { |
|
text-align: center; |
|
} |
|
|
|
.spinner { |
|
width: 70px; |
|
height: 70px; |
|
border: 8px solid rgba(74, 111, 165, 0.1); |
|
border-radius: 50%; |
|
border-top-color: var(--primary-color); |
|
animation: spin 1s linear infinite; |
|
margin: 0 auto 1.5rem; |
|
} |
|
|
|
.loading-step { |
|
font-size: 1.2rem; |
|
color: var(--primary-color); |
|
font-weight: 500; |
|
} |
|
|
|
|
|
footer { |
|
text-align: center; |
|
padding: 1.5rem; |
|
background-color: var(--primary-color); |
|
color: white; |
|
margin-top: auto; |
|
} |
|
|
|
|
|
@keyframes fadeIn { |
|
from { opacity: 0; transform: translateY(20px); } |
|
to { opacity: 1; transform: translateY(0); } |
|
} |
|
|
|
@keyframes spin { |
|
to { transform: rotate(360deg); } |
|
} |
|
|
|
|
|
@media (max-width: 768px) { |
|
.container { |
|
padding: 1rem; |
|
} |
|
|
|
header h1 { |
|
font-size: 2rem; |
|
} |
|
|
|
.evaluation-flow { |
|
flex-direction: column; |
|
gap: 1.5rem; |
|
} |
|
|
|
.flow-connector { |
|
width: 3px; |
|
height: 30px; |
|
margin: 0; |
|
top: 0; |
|
} |
|
|
|
.results-header { |
|
flex-direction: column; |
|
gap: 1rem; |
|
} |
|
|
|
.score-circle { |
|
width: 150px; |
|
height: 150px; |
|
} |
|
|
|
.score-value { |
|
font-size: 2.5rem; |
|
} |
|
} |
|
.extracted-text { |
|
display: none !important; |
|
} |
|
|