Spaces:
Running
Running
| /* Base Styles */ | |
| :root { | |
| --primary: #6366F1; | |
| --primary-hover: #4F46E5; | |
| --secondary: #EC4899; | |
| --dark: #1F2937; | |
| --light: #F9FAFB; | |
| --gray: #E5E7EB; | |
| --dark-gray: #6B7280; | |
| } | |
| /* Custom styles that can't be achieved with Tailwind */ | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; | |
| line-height: 1.5; | |
| color: #1F2937; | |
| } | |
| /* Form Container */ | |
| .container { | |
| max-width: 100%; | |
| padding: 0 1rem; | |
| } | |
| /* Card Styles */ | |
| .rounded-xl { | |
| border-radius: 1rem; | |
| } | |
| .shadow-md { | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); | |
| } | |
| /* Form Elements */ | |
| input, textarea, select { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); | |
| } | |
| input:focus, textarea:focus, select:focus { | |
| box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); | |
| border-color: var(--primary); | |
| } | |
| /* Buttons */ | |
| button { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| button[type="submit"]:hover { | |
| background-color: var(--primary-hover); | |
| transform: translateY(-1px); | |
| } | |
| /* JSON Output */ | |
| #jsonOutput pre { | |
| background-color: var(--dark); | |
| border-radius: 0 0 1rem 1rem; | |
| } | |
| #jsonOutput code { | |
| font-family: 'Fira Code', 'Courier New', monospace; | |
| font-size: 0.875rem; | |
| line-height: 1.5; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: var(--gray); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--dark-gray); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #9CA3AF; | |
| } | |
| /* Responsive Adjustments */ | |
| @media (max-width: 640px) { | |
| .container { | |
| padding: 0 0.5rem; | |
| } | |
| .grid-cols-2 { | |
| grid-template-columns: 1fr ; | |
| } | |
| .flex-col { | |
| flex-direction: column; | |
| } | |
| .space-y-6 > * + * { | |
| margin-top: 1.5rem; | |
| } | |
| } | |
| /* Animations */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| #jsonOutput { | |
| animation: fadeIn 0.3s ease-out forwards; | |
| } | |