Changed around line 1
+ :root {
+ --primary-color: #4a90e2;
+ --secondary-color: #50e3c2;
+ --background-color: #f5f7fa;
+ --text-color: #333;
+ --border-radius: 8px;
+ --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ }
+
+ body {
+ font-family: 'Segoe UI', sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ margin-bottom: 0.5rem;
+ }
+
+ p {
+ font-size: 1.1rem;
+ }
+
+ main {
+ max-width: 800px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+ }
+
+ section {
+ background: white;
+ border-radius: var(--border-radius);
+ box-shadow: var(--box-shadow);
+ padding: 1.5rem;
+ margin-bottom: 1.5rem;
+ }
+
+ .upload-section {
+ text-align: center;
+ }
+
+ .upload-label {
+ display: inline-block;
+ background: var(--primary-color);
+ color: white;
+ padding: 0.75rem 1.5rem;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+ transition: background 0.3s ease;
+ }
+
+ .upload-label:hover {
+ background: #357abd;
+ }
+
+ #imageUpload {
+ display: none;
+ }
+
+ .model-section select {
+ width: 100%;
+ padding: 0.75rem;
+ border-radius: var(--border-radius);
+ border: 1px solid #ddd;
+ background: white;
+ font-size: 1rem;
+ }
+
+ .preview-section {
+ text-align: center;
+ }
+
+ #imagePreview {
+ margin: 1rem 0;
+ min-height: 200px;
+ background: #f0f0f0;
+ border-radius: var(--border-radius);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: #666;
+ }
+
+ #processButton {
+ background: var(--secondary-color);
+ color: white;
+ border: none;
+ padding: 0.75rem 1.5rem;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background 0.3s ease;
+ }
+
+ #processButton:disabled {
+ background: #ccc;
+ cursor: not-allowed;
+ }
+
+ #processButton:hover:not(:disabled) {
+ background: #3fc1a8;
+ }
+
+ .results-section {
+ display: none;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background: white;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 600px) {
+ h1 {
+ font-size: 2rem;
+ }
+
+ main {
+ padding: 0 0.5rem;
+ }
+
+ section {
+ padding: 1rem;
+ }
+ }