* { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary: #2563eb; --primary-dark: #1e40af; --secondary: #64748b; --success: #10b981; --danger: #ef4444; --warning: #f59e0b; --bg: #ffffff; --bg-secondary: #f8fafc; --border: #e2e8f0; --text: #0f172a; --text-secondary: #64748b; --shadow: 0 1px 3px rgba(0, 0, 0, 0.1); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1); } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: var(--bg-secondary); color: var(--text); line-height: 1.6; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } #root { min-height: 100vh; } /* Scrollbar styling */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--bg-secondary); } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--secondary); } /* Utility classes */ .container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; } .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem; border: none; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.2s; text-decoration: none; } .btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--shadow); } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btn-primary { background: var(--primary); color: white; } .btn-primary:hover:not(:disabled) { background: var(--primary-dark); } .btn-secondary { background: var(--secondary); color: white; } .btn-success { background: var(--success); color: white; } .btn-danger { background: var(--danger); color: white; } .btn-icon { background: none; border: none; cursor: pointer; padding: 0.5rem; border-radius: 0.375rem; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all 0.2s; } .btn-icon:hover { background: var(--bg-secondary); color: var(--text); } .card { background: var(--bg); border-radius: 0.5rem; padding: 1.5rem; box-shadow: var(--shadow); } .input, textarea { width: 100%; padding: 0.625rem; border: 1px solid var(--border); border-radius: 0.375rem; font-size: 0.875rem; transition: border-color 0.2s; font-family: inherit; } .input:focus, textarea:focus { outline: none; border-color: var(--primary); } textarea { resize: vertical; } .label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); } .grid { display: grid; gap: 1.5rem; } .grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } .loading { display: flex; justify-content: center; align-items: center; min-height: 200px; } .error { color: var(--danger); padding: 1rem; background: #fee2e2; border-radius: 0.375rem; margin: 1rem 0; } /* Modal styles */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; } .modal-content { background: var(--bg); border-radius: 0.5rem; box-shadow: var(--shadow-lg); max-width: 800px; width: 100%; max-height: 90vh; overflow-y: auto; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--border); } .modal-header h2 { font-size: 1.5rem; font-weight: 600; } .modal-body { padding: 1.5rem; } .modal-footer { display: flex; justify-content: flex-end; gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); margin-top: 1.5rem; } /* Form styles */ .form-group { margin-bottom: 1rem; } .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; } select.input { background: white; cursor: pointer; }