|
|
|
|
|
* {
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
body {
|
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
min-height: 100vh;
|
|
|
color: #333;
|
|
|
line-height: 1.6;
|
|
|
}
|
|
|
|
|
|
.container {
|
|
|
max-width: 1200px;
|
|
|
margin: 0 auto;
|
|
|
padding: 20px;
|
|
|
min-height: 100vh;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
}
|
|
|
|
|
|
|
|
|
.header {
|
|
|
text-align: center;
|
|
|
margin-bottom: 40px;
|
|
|
padding: 40px 0;
|
|
|
}
|
|
|
|
|
|
.header-content {
|
|
|
background: rgba(255, 255, 255, 0.1);
|
|
|
backdrop-filter: blur(10px);
|
|
|
border-radius: 20px;
|
|
|
padding: 40px;
|
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
}
|
|
|
|
|
|
.logo {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
gap: 15px;
|
|
|
margin-bottom: 15px;
|
|
|
}
|
|
|
|
|
|
.logo i {
|
|
|
font-size: 2.5rem;
|
|
|
color: #fff;
|
|
|
background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
|
|
|
-webkit-background-clip: text;
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
background-clip: text;
|
|
|
}
|
|
|
|
|
|
.logo h1 {
|
|
|
font-size: 2.5rem;
|
|
|
font-weight: 700;
|
|
|
color: #fff;
|
|
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
}
|
|
|
|
|
|
.subtitle {
|
|
|
font-size: 1.1rem;
|
|
|
color: rgba(255, 255, 255, 0.9);
|
|
|
font-weight: 400;
|
|
|
}
|
|
|
|
|
|
|
|
|
.main-content {
|
|
|
flex: 1;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: flex-start;
|
|
|
}
|
|
|
|
|
|
.upload-card {
|
|
|
background: #fff;
|
|
|
border-radius: 20px;
|
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
|
|
|
padding: 40px;
|
|
|
width: 100%;
|
|
|
max-width: 600px;
|
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
|
}
|
|
|
|
|
|
.upload-card:hover {
|
|
|
transform: translateY(-5px);
|
|
|
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
|
|
|
}
|
|
|
|
|
|
.card-header {
|
|
|
text-align: center;
|
|
|
margin-bottom: 30px;
|
|
|
}
|
|
|
|
|
|
.card-header h2 {
|
|
|
font-size: 1.8rem;
|
|
|
font-weight: 600;
|
|
|
color: #2d3748;
|
|
|
margin-bottom: 10px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
gap: 10px;
|
|
|
}
|
|
|
|
|
|
.card-header h2 i {
|
|
|
color: #667eea;
|
|
|
}
|
|
|
|
|
|
.card-header p {
|
|
|
color: #718096;
|
|
|
font-size: 1rem;
|
|
|
}
|
|
|
|
|
|
|
|
|
.upload-form {
|
|
|
margin-bottom: 30px;
|
|
|
}
|
|
|
|
|
|
.input-group {
|
|
|
margin-bottom: 25px;
|
|
|
}
|
|
|
|
|
|
.input-group label {
|
|
|
display: block;
|
|
|
font-weight: 500;
|
|
|
color: #2d3748;
|
|
|
margin-bottom: 8px;
|
|
|
font-size: 0.95rem;
|
|
|
}
|
|
|
|
|
|
.input-group textarea {
|
|
|
width: 100%;
|
|
|
padding: 15px;
|
|
|
border: 2px solid #e2e8f0;
|
|
|
border-radius: 12px;
|
|
|
font-size: 1rem;
|
|
|
font-family: inherit;
|
|
|
resize: vertical;
|
|
|
transition: border-color 0.3s ease, box-shadow 0.3s ease;
|
|
|
background: #f7fafc;
|
|
|
}
|
|
|
|
|
|
.input-group textarea:focus {
|
|
|
outline: none;
|
|
|
border-color: #667eea;
|
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
|
background: #fff;
|
|
|
}
|
|
|
|
|
|
.input-hint {
|
|
|
margin-top: 8px;
|
|
|
font-size: 0.85rem;
|
|
|
color: #718096;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
gap: 5px;
|
|
|
}
|
|
|
|
|
|
.input-hint i {
|
|
|
color: #667eea;
|
|
|
}
|
|
|
|
|
|
|
|
|
.upload-btn {
|
|
|
width: 100%;
|
|
|
padding: 15px 30px;
|
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
color: #fff;
|
|
|
border: none;
|
|
|
border-radius: 12px;
|
|
|
font-size: 1.1rem;
|
|
|
font-weight: 600;
|
|
|
cursor: pointer;
|
|
|
transition: all 0.3s ease;
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
|
|
|
.upload-btn:hover {
|
|
|
transform: translateY(-2px);
|
|
|
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
|
|
|
}
|
|
|
|
|
|
.upload-btn:active {
|
|
|
transform: translateY(0);
|
|
|
}
|
|
|
|
|
|
.upload-btn:disabled {
|
|
|
opacity: 0.7;
|
|
|
cursor: not-allowed;
|
|
|
transform: none;
|
|
|
}
|
|
|
|
|
|
.btn-text {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
gap: 10px;
|
|
|
}
|
|
|
|
|
|
.loading-spinner {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
gap: 10px;
|
|
|
}
|
|
|
|
|
|
|
|
|
.results-section {
|
|
|
margin-top: 30px;
|
|
|
padding-top: 30px;
|
|
|
border-top: 2px solid #e2e8f0;
|
|
|
}
|
|
|
|
|
|
.results-header {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
|
|
|
.results-header h3 {
|
|
|
font-size: 1.3rem;
|
|
|
font-weight: 600;
|
|
|
color: #2d3748;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
gap: 10px;
|
|
|
}
|
|
|
|
|
|
.results-header h3 i {
|
|
|
color: #667eea;
|
|
|
}
|
|
|
|
|
|
.clear-btn {
|
|
|
padding: 8px 16px;
|
|
|
background: #e53e3e;
|
|
|
color: #fff;
|
|
|
border: none;
|
|
|
border-radius: 8px;
|
|
|
font-size: 0.9rem;
|
|
|
cursor: pointer;
|
|
|
transition: background 0.3s ease;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
gap: 5px;
|
|
|
}
|
|
|
|
|
|
.clear-btn:hover {
|
|
|
background: #c53030;
|
|
|
}
|
|
|
|
|
|
.results-content {
|
|
|
background: #f7fafc;
|
|
|
border: 2px solid #e2e8f0;
|
|
|
border-radius: 12px;
|
|
|
padding: 20px;
|
|
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
|
font-size: 0.9rem;
|
|
|
line-height: 1.6;
|
|
|
white-space: pre-wrap;
|
|
|
max-height: 400px;
|
|
|
overflow-y: auto;
|
|
|
}
|
|
|
|
|
|
.results-content:empty::before {
|
|
|
content: "No results yet...";
|
|
|
color: #a0aec0;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
|
|
|
.results-content .success {
|
|
|
color: #38a169;
|
|
|
}
|
|
|
|
|
|
.results-content .error {
|
|
|
color: #e53e3e;
|
|
|
}
|
|
|
|
|
|
.results-content .warning {
|
|
|
color: #d69e2e;
|
|
|
}
|
|
|
|
|
|
|
|
|
.footer {
|
|
|
text-align: center;
|
|
|
padding: 20px 0;
|
|
|
margin-top: 40px;
|
|
|
color: rgba(255, 255, 255, 0.8);
|
|
|
font-size: 0.9rem;
|
|
|
}
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
.container {
|
|
|
padding: 15px;
|
|
|
}
|
|
|
|
|
|
.header-content {
|
|
|
padding: 30px 20px;
|
|
|
}
|
|
|
|
|
|
.logo h1 {
|
|
|
font-size: 2rem;
|
|
|
}
|
|
|
|
|
|
.upload-card {
|
|
|
padding: 30px 20px;
|
|
|
}
|
|
|
|
|
|
.results-header {
|
|
|
flex-direction: column;
|
|
|
gap: 15px;
|
|
|
align-items: stretch;
|
|
|
}
|
|
|
|
|
|
.clear-btn {
|
|
|
align-self: flex-end;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
.logo {
|
|
|
flex-direction: column;
|
|
|
gap: 10px;
|
|
|
}
|
|
|
|
|
|
.logo h1 {
|
|
|
font-size: 1.8rem;
|
|
|
}
|
|
|
|
|
|
.card-header h2 {
|
|
|
font-size: 1.5rem;
|
|
|
flex-direction: column;
|
|
|
gap: 5px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
@keyframes fadeInUp {
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
transform: translateY(20px);
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
transform: translateY(0);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.results-section {
|
|
|
animation: fadeInUp 0.5s ease;
|
|
|
}
|
|
|
|
|
|
|
|
|
.results-content::-webkit-scrollbar {
|
|
|
width: 8px;
|
|
|
}
|
|
|
|
|
|
.results-content::-webkit-scrollbar-track {
|
|
|
background: #e2e8f0;
|
|
|
border-radius: 4px;
|
|
|
}
|
|
|
|
|
|
.results-content::-webkit-scrollbar-thumb {
|
|
|
background: #cbd5e0;
|
|
|
border-radius: 4px;
|
|
|
}
|
|
|
|
|
|
.results-content::-webkit-scrollbar-thumb:hover {
|
|
|
background: #a0aec0;
|
|
|
}
|
|
|
|
|
|
|