Spaces:
Running
Running
I need total white background and transparent headers and footers. It should be dark and light mode supported
5eb286b verified | /* OneSearch Custom Styles with shadcn/ui Inspiration and Dark Mode Support */ | |
| /* Color Variables */ | |
| :root { | |
| --primary-color: #3b82f6; /* blue-500 */ | |
| --secondary-color: #10b981; /* green-500 */ | |
| --primary-hover: #2563eb; /* blue-600 */ | |
| --secondary-hover: #059669; /* green-600 */ | |
| --gray-50: #ffffff; | |
| --gray-100: #f9fafb; | |
| --gray-200: #f3f4f6; | |
| --gray-300: #e5e7eb; | |
| --gray-400: #d1d5db; | |
| --gray-500: #9ca3af; | |
| --gray-600: #6b7280; | |
| --gray-700: #4b5563; | |
| --gray-800: #374151; | |
| --gray-900: #1f2937; | |
| --border-radius: 0.75rem; | |
| --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); | |
| --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); | |
| --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); | |
| --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); | |
| --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); | |
| --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25); | |
| } | |
| /* Dark mode variables */ | |
| .dark { | |
| --gray-50: #111827; | |
| --gray-100: #1f2937; | |
| --gray-200: #374151; | |
| --gray-300: #4b5563; | |
| --gray-400: #6b7280; | |
| --gray-500: #9ca3af; | |
| --gray-600: #d1d5db; | |
| --gray-700: #e5e7eb; | |
| --gray-800: #f3f4f6; | |
| --gray-900: #ffffff; | |
| /* Dark mode shadow adjustments */ | |
| --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3); | |
| --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4); | |
| --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4); | |
| --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4); | |
| --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4); | |
| --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.6); | |
| } | |
| /* Global Styles */ | |
| * { | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif; | |
| line-height: 1.6; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| background-color: white; | |
| } | |
| /* Dark mode transitions */ | |
| * { | |
| transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; | |
| } | |
| .dark body { | |
| background-color: #111827; | |
| } | |
| /* Header Styles */ | |
| header { | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| background-color: rgba(255, 255, 255, 0.6); | |
| border: 0 ; | |
| } | |
| .dark header { | |
| background-color: rgba(17, 24, 39, 0.6); | |
| } | |
| /* Glassmorphism effects */ | |
| .glass { | |
| background: rgba(255, 255, 255, 0.25); | |
| backdrop-filter: blur(10px); | |
| -webkit-backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.18); | |
| } | |
| .dark .glass { | |
| background: rgba(17, 24, 39, 0.25); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| /* Trust Score Styling */ | |
| .trust-score { | |
| position: relative; | |
| display: inline-block; | |
| } | |
| .trust-score-bar { | |
| height: 6px; | |
| background: linear-gradient(90deg, var(--gray-200), var(--gray-100)); | |
| border-radius: 9999px; | |
| overflow: hidden; | |
| margin-top: 4px; | |
| box-shadow: inset 0 1px 2px 0 rgb(0 0 0 / 0.05); | |
| } | |
| .trust-score-fill { | |
| height: 100%; | |
| border-radius: 9999px; | |
| transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .trust-score-fill::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: linear-gradient( | |
| 90deg, | |
| transparent, | |
| rgba(255, 255, 255, 0.4), | |
| transparent | |
| ); | |
| animation: shimmer 2s infinite; | |
| } | |
| @keyframes shimmer { | |
| 0% { | |
| transform: translateX(-100%); | |
| } | |
| 100% { | |
| transform: translateX(100%); | |
| } | |
| } | |
| .trust-score-excellent { | |
| background: linear-gradient(90deg, #10b981, #059669); | |
| } | |
| .trust-score-good { | |
| background: linear-gradient(90deg, #3b82f6, #2563eb); | |
| } | |
| .trust-score-average { | |
| background: linear-gradient(90deg, #f59e0b, #d97706); | |
| } | |
| .trust-score-poor { | |
| background: linear-gradient(90deg, #ef4444, #dc2626); | |
| } | |
| /* Mind Map Styles */ | |
| #mindmap-container { | |
| position: relative; | |
| background: rgba(255, 255, 255, 0.8); | |
| border-radius: var(--border-radius); | |
| overflow: hidden; | |
| box-shadow: var(--shadow-lg); | |
| } | |
| .dark #mindmap-container { | |
| background: rgba(31, 41, 55, 0.8); | |
| } | |
| .mindmap-node { | |
| cursor: pointer; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.1)); | |
| } | |
| .mindmap-node:hover { | |
| transform: scale(1.05) translateY(-2px); | |
| filter: drop-shadow(0 8px 12px rgb(0 0 0 / 0.15)); | |
| } | |
| .mindmap-node.primary { | |
| background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)); | |
| color: white; | |
| box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); | |
| } | |
| .mindmap-node.secondary { | |
| background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover)); | |
| color: white; | |
| box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4); | |
| } | |
| .mindmap-node.tertiary { | |
| background: linear-gradient(135deg, var(--gray-100), var(--gray-200)); | |
| color: var(--gray-700); | |
| border: 1px solid var(--gray-300); | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| } | |
| .dark .mindmap-node.tertiary { | |
| background: linear-gradient(135deg, var(--gray-800), var(--gray-700)); | |
| color: var(--gray-200); | |
| border: 1px solid var(--gray-600); | |
| } | |
| /* Search Results Styling */ | |
| .search-result { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| border-left: 4px solid transparent; | |
| background: white; | |
| border-radius: var(--border-radius); | |
| margin-bottom: 1rem; | |
| overflow: hidden; | |
| } | |
| .dark .search-result { | |
| background: #1f2937; | |
| } | |
| .search-result:hover { | |
| border-left-color: var(--primary-color); | |
| background: rgba(255, 255, 255, 0.95); | |
| transform: translateX(4px); | |
| box-shadow: var(--shadow-lg); | |
| } | |
| .dark .search-result:hover { | |
| background: rgba(31, 41, 55, 0.95); | |
| } | |
| .search-result-item { | |
| padding: 2rem; | |
| border-bottom: 1px solid rgba(229, 231, 235, 0.5); | |
| } | |
| .dark .search-result-item { | |
| border-bottom-color: rgba(75, 85, 99, 0.5); | |
| } | |
| .search-result-item:last-child { | |
| border-bottom: none; | |
| } | |
| .result-score { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .score-circle { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 700; | |
| font-size: 14px; | |
| color: white; | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .score-circle::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: linear-gradient( | |
| 45deg, | |
| transparent 30%, | |
| rgba(255, 255, 255, 0.3) 50%, | |
| transparent 70% | |
| ); | |
| animation: rotate 3s linear infinite; | |
| } | |
| @keyframes rotate { | |
| 0% { | |
| transform: rotate(0deg); | |
| } | |
| 100% { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| /* QR Scanner Styles */ | |
| .qr-scanner { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .qr-overlay { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| width: 200px; | |
| height: 200px; | |
| border: 2px solid var(--primary-color); | |
| border-radius: 8px; | |
| } | |
| .qr-overlay::before { | |
| content: ''; | |
| position: absolute; | |
| top: -2px; | |
| left: -2px; | |
| right: -2px; | |
| bottom: -2px; | |
| border: 2px solid transparent; | |
| border-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) 1; | |
| animation: qr-scan 2s linear infinite; | |
| } | |
| @keyframes qr-scan { | |
| 0%, 100% { | |
| border-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) 1; | |
| } | |
| 50% { | |
| border-image: linear-gradient(45deg, var(--secondary-color), var(--primary-color)) 1; | |
| } | |
| } | |
| /* Review System Styles */ | |
| .review-card { | |
| background: rgba(255, 255, 255, 0.9); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid var(--gray-200); | |
| border-radius: var(--border-radius); | |
| padding: 2rem; | |
| margin-bottom: 1.5rem; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| box-shadow: var(--shadow); | |
| } | |
| .dark .review-card { | |
| background: rgba(31, 41, 55, 0.9); | |
| border-color: var(--gray-700); | |
| } | |
| .review-card:hover { | |
| box-shadow: var(--shadow-xl); | |
| transform: translateY(-2px); | |
| background: rgba(255, 255, 255, 0.95); | |
| } | |
| .dark .review-card:hover { | |
| background: rgba(31, 41, 55, 0.95); | |
| } | |
| .review-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-start; | |
| margin-bottom: 1rem; | |
| } | |
| .reviewer-info { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .reviewer-avatar { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: white; | |
| font-weight: 600; | |
| font-size: 14px; | |
| } | |
| .review-dimensions { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | |
| gap: 16px; | |
| margin: 1rem 0; | |
| padding: 1rem; | |
| background-color: var(--gray-50); | |
| border-radius: 6px; | |
| } | |
| .dark .review-dimensions { | |
| background-color: var(--gray-800); | |
| } | |
| .dimension-item { | |
| text-align: center; | |
| } | |
| .dimension-value { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 4px; | |
| font-weight: 600; | |
| margin-top: 4px; | |
| } | |
| .dimension-positive { | |
| color: #10b981; | |
| } | |
| .dimension-negative { | |
| color: #ef4444; | |
| } | |
| .review-actions { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding-top: 1rem; | |
| border-top: 1px solid var(--gray-200); | |
| } | |
| .dark .review-actions { | |
| border-top-color: var(--gray-700); | |
| } | |
| .peer-agreements { | |
| display: flex; | |
| gap: 16px; | |
| font-size: 14px; | |
| } | |
| .agreement-btn { | |
| display: flex; | |
| align-items: center; | |
| gap: 4px; | |
| padding: 4px 8px; | |
| border-radius: 4px; | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| transition: background-color 0.2s ease; | |
| } | |
| .agreement-btn:hover { | |
| background-color: var(--gray-100); | |
| } | |
| .dark .agreement-btn:hover { | |
| background-color: var(--gray-700); | |
| } | |
| .agreement-agree:hover { | |
| background-color: rgba(16, 185, 129, 0.1); | |
| color: #10b981; | |
| } | |
| .dark .agreement-agree:hover { | |
| background-color: rgba(16, 185, 129, 0.2); | |
| } | |
| .agreement-disagree:hover { | |
| background-color: rgba(239, 68, 68, 0.1); | |
| color: #ef4444; | |
| } | |
| .dark .agreement-disagree:hover { | |
| background-color: rgba(239, 68, 68, 0.2); | |
| } | |
| /* Wallet Styles */ | |
| .wallet-card { | |
| background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)); | |
| color: white; | |
| border-radius: var(--border-radius); | |
| padding: 2rem; | |
| text-align: center; | |
| position: relative; | |
| overflow: hidden; | |
| box-shadow: var(--shadow-xl); | |
| } | |
| .wallet-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| right: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%); | |
| animation: pulse 4s ease-in-out infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { | |
| transform: scale(1); | |
| opacity: 0.5; | |
| } | |
| 50% { | |
| transform: scale(1.1); | |
| opacity: 0.8; | |
| } | |
| } | |
| .wallet-card.earnings { | |
| background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover)); | |
| } | |
| .wallet-card.reputation { | |
| background: linear-gradient(135deg, #8b5cf6, #7c3aed); | |
| } | |
| .wallet-value { | |
| font-size: 2.5rem; | |
| font-weight: 700; | |
| line-height: 1; | |
| margin: 12px 0; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .wallet-label { | |
| opacity: 0.9; | |
| font-size: 14px; | |
| font-weight: 500; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .wallet-subtext { | |
| opacity: 0.8; | |
| font-size: 12px; | |
| margin-top: 4px; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .transaction-item { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 12px 16px; | |
| border: 1px solid var(--gray-200); | |
| border-radius: 6px; | |
| margin-bottom: 8px; | |
| background: white; | |
| } | |
| .transaction-info { | |
| flex: 1; | |
| } | |
| .transaction-title { | |
| font-weight: 500; | |
| font-size: 14px; | |
| margin-bottom: 2px; | |
| } | |
| .transaction-desc { | |
| font-size: 12px; | |
| color: var(--gray-600); | |
| } | |
| .transaction-amount { | |
| font-weight: 600; | |
| color: #10b981; | |
| } | |
| .transparency-badge { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 4px; | |
| background: rgba(16, 185, 129, 0.1); | |
| color: #10b981; | |
| padding: 4px 8px; | |
| border-radius: 4px; | |
| font-size: 12px; | |
| font-weight: 500; | |
| } | |
| /* QR Generation Modal */ | |
| .modal-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: rgba(0, 0, 0, 0.4); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| z-index: 50; | |
| backdrop-filter: blur(8px); | |
| -webkit-backdrop-filter: blur(8px); | |
| animation: fadeIn 0.2s ease-out; | |
| } | |
| .modal { | |
| background: rgba(255, 255, 255, 0.95); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| border-radius: var(--border-radius); | |
| box-shadow: var(--shadow-2xl); | |
| max-width: 520px; | |
| width: 90%; | |
| max-height: 90vh; | |
| overflow-y: auto; | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .modal-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 1.5rem; | |
| border-bottom: 1px solid var(--gray-200); | |
| } | |
| .dark .modal-header { | |
| border-bottom-color: var(--gray-700); | |
| } | |
| .modal-title { | |
| font-size: 1.25rem; | |
| font-weight: 600; | |
| color: var(--gray-900); | |
| } | |
| .dark .modal-title { | |
| color: var(--gray-100); | |
| } | |
| .modal-close { | |
| background: none; | |
| border: none; | |
| color: var(--gray-400); | |
| cursor: pointer; | |
| padding: 4px; | |
| border-radius: 4px; | |
| transition: color 0.2s ease; | |
| } | |
| .modal-close:hover { | |
| color: var(--gray-600); | |
| } | |
| .dark .modal-close:hover { | |
| color: var(--gray-300); | |
| } | |
| .modal-content { | |
| padding: 1.5rem; | |
| } | |
| .form-group { | |
| margin-bottom: 1rem; | |
| } | |
| .form-label { | |
| display: block; | |
| font-size: 14px; | |
| font-weight: 500; | |
| color: var(--gray-700); | |
| margin-bottom: 8px; | |
| } | |
| .form-input, | |
| .form-select, | |
| .form-textarea { | |
| width: 100%; | |
| border: 1px solid var(--gray-200); | |
| border-radius: calc(var(--border-radius) - 2px); | |
| padding: 12px 16px; | |
| font-size: 14px; | |
| transition: all 0.2s ease; | |
| background: rgba(255, 255, 255, 0.8); | |
| color: var(--gray-900); | |
| } | |
| .dark .form-input, | |
| .dark .form-select, | |
| .dark .form-textarea { | |
| background: rgba(31, 41, 55, 0.8); | |
| border-color: var(--gray-600); | |
| color: var(--gray-100); | |
| } | |
| .form-input:focus, | |
| .form-select:focus, | |
| .form-textarea:focus { | |
| outline: none; | |
| border-color: var(--primary-color); | |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); | |
| background: white; | |
| } | |
| .dark .form-input:focus, | |
| .dark .form-select:focus, | |
| .dark .form-textarea:focus { | |
| background: rgba(31, 41, 55, 1); | |
| } | |
| .form-input::placeholder, | |
| .form-textarea::placeholder { | |
| color: var(--gray-400); | |
| } | |
| .dark .form-input::placeholder, | |
| .dark .form-textarea::placeholder { | |
| color: var(--gray-500); | |
| } | |
| .modal-actions { | |
| display: flex; | |
| gap: 12px; | |
| padding: 1.5rem; | |
| border-top: 1px solid var(--gray-200); | |
| } | |
| .dark .modal-actions { | |
| border-top-color: var(--gray-700); | |
| } | |
| .btn { | |
| padding: 12px 20px; | |
| border-radius: calc(var(--border-radius) - 2px); | |
| font-size: 14px; | |
| font-weight: 500; | |
| cursor: pointer; | |
| border: none; | |
| transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); | |
| flex: 1; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .btn::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%); | |
| transform: translateX(-100%); | |
| transition: transform 0.6s; | |
| } | |
| .btn:hover::before { | |
| transform: translateX(100%); | |
| } | |
| .btn-primary { | |
| background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)); | |
| color: white; | |
| box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); | |
| } | |
| .btn-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); | |
| } | |
| .btn-secondary { | |
| background: linear-gradient(135deg, var(--gray-200), var(--gray-300)); | |
| color: var(--gray-700); | |
| } | |
| .btn-secondary:hover { | |
| background: linear-gradient(135deg, var(--gray-300), var(--gray-400)); | |
| transform: translateY(-1px); | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .search-result-item { | |
| padding: 1rem; | |
| } | |
| .review-dimensions { | |
| grid-template-columns: 1fr 1fr; | |
| gap: 12px; | |
| } | |
| .wallet-card { | |
| padding: 1rem; | |
| } | |
| .wallet-value { | |
| font-size: 1.5rem; | |
| } | |
| .modal { | |
| margin: 1rem; | |
| width: calc(100% - 2rem); | |
| } | |
| } | |
| /* Loading States */ | |
| .loading { | |
| opacity: 0.6; | |
| pointer-events: none; | |
| } | |
| .spinner { | |
| display: inline-block; | |
| width: 20px; | |
| height: 20px; | |
| border: 2px solid var(--gray-300); | |
| border-radius: 50%; | |
| border-top-color: var(--primary-color); | |
| animation: spin 1s ease-in-out infinite; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| /* Accessibility */ | |
| .sr-only { | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| padding: 0; | |
| margin: -1px; | |
| overflow: hidden; | |
| clip: rect(0, 0, 0, 0); | |
| white-space: nowrap; | |
| border: 0; | |
| } | |
| /* Focus States */ | |
| button:focus, | |
| input:focus, | |
| select:focus, | |
| textarea:focus { | |
| outline: 2px solid var(--primary-color); | |
| outline-offset: 2px; | |
| } | |
| /* Animations */ | |
| .fade-in { | |
| animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .slide-up { | |
| animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| @keyframes slideUp { | |
| from { | |
| transform: translateY(20px); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateY(0); | |
| opacity: 1; | |
| } | |
| } | |
| /* Enhanced loading states */ | |
| .loading { | |
| opacity: 0.6; | |
| pointer-events: none; | |
| } | |
| .spinner { | |
| display: inline-block; | |
| width: 20px; | |
| height: 20px; | |
| border: 2px solid var(--gray-300); | |
| border-radius: 50%; | |
| border-top-color: var(--primary-color); | |
| animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| /* Enhanced focus states */ | |
| button:focus, | |
| input:focus, | |
| select:focus, | |
| textarea:focus { | |
| outline: 2px solid var(--primary-color); | |
| outline-offset: 2px; | |
| } | |
| /* Additional glassmorphism utilities */ | |
| .glass-morphism { | |
| background: rgba(255, 255, 255, 0.25); | |
| backdrop-filter: blur(16px); | |
| -webkit-backdrop-filter: blur(16px); | |
| border: 1px solid rgba(255, 255, 255, 0.18); | |
| } | |
| .gradient-text { | |
| background: linear-gradient(135deg, var(--primary-color), #9333ea); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| /* Enhanced hover effects */ | |
| .hover-lift { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .hover-lift:hover { | |
| transform: translateY(-4px); | |
| box-shadow: var(--shadow-xl); | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: var(--gray-100); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--gray-300); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--gray-400); | |
| } | |
| /* Remove old media query since we now use proper dark mode classes */ | |