Spaces:
Running
Running
File size: 9,766 Bytes
b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e 1684141 b89a86e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 |
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
/* Modern warm orange-inspired color palette */
--background: hsl(25, 25%, 96%);
--foreground: #1a1a1a;
--card: hsl(25, 30%, 97%);
--card-foreground: hsl(0, 0%, 0%);
--popover: hsl(45, 25%, 97%);
--popover-foreground: hsl(0, 0%, 100%);
--primary: hsl(24, 95%, 53%); /* Professional Orange like Amazon */
--primary-foreground: #ffffff;
--secondary: hsl(25, 35%, 88%); /* Warm neutral */
--secondary-foreground: hsl(25, 10%, 15%);
--muted: hsl(25, 25%, 90%);
--muted-foreground: hsl(25, 8%, 35%);
--accent: hsl(24, 95%, 53%); /* Orange accent */
--accent-foreground: hsl(0, 0%, 100%);
--destructive: hsl(0, 0%, 0%);
--destructive-foreground: #ffffff;
--border: hsl(25, 30%, 85%);
--input: #b5b5b5;
--ring: hsl(24, 95%, 53%); /* Orange focus ring */
--chart-1: hsl(203.8863, 88.2845%, 53.1373%);
--chart-2: hsl(159.7826, 100%, 36.0784%);
--chart-3: hsl(42.0290, 92.8251%, 56.2745%);
--chart-4: hsl(147.1429, 78.5047%, 41.9608%);
--chart-5: hsl(341.4894, 75.2000%, 50.9804%);
--sidebar: hsl(45, 25%, 97%);
--sidebar-foreground: hsl(20, 14%, 17%);
--sidebar-primary: hsl(9, 75%, 61%);
--sidebar-primary-foreground: hsl(0, 0%, 100%);
--sidebar-accent: hsl(25, 45%, 80%);
--sidebar-accent-foreground: hsl(20, 14%, 17%);
--sidebar-border: hsl(45, 15%, 80%);
--sidebar-ring: hsl(9, 75%, 61%);
--font-sans: 'Poppins', sans-serif;
--font-serif: 'Poppins', sans-serif;
--font-mono: Menlo, monospace;
/* Typography scale with fluid sizing */
--text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8rem);
--text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 0.9rem);
--text-base: clamp(1rem, 0.9rem + 0.4vw, 1.1rem);
--text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
--text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
--text-2xl: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
--text-3xl: clamp(1.875rem, 1.6rem + 1vw, 2.25rem);
--text-4xl: clamp(2.25rem, 1.9rem + 1.4vw, 3rem);
--radius: 0.8rem; /* Modern consistent radius */
--radius-sm: 0.5rem;
--radius-lg: 1rem;
--radius-xl: 1.5rem;
/* Refined shadow system */
--shadow-xs: 0px 2px 0px 0px hsl(9, 75%, 61% / 0.00);
--shadow-sm: 0px 2px 0px 0px hsl(9, 75%, 61% / 0.00), 0px 1px 2px -1px hsl(9, 75%, 61% / 0.00);
--shadow: 0px 2px 0px 0px hsl(9, 75%, 61% / 0.00), 0px 1px 2px -1px hsl(9, 75%, 61% / 0.00);
--shadow-md: 0px 2px 0px 0px hsl(9, 75%, 61% / 0.00), 0px 2px 4px -1px hsl(9, 75%, 61% / 0.00);
--shadow-lg: 0px 2px 0px 0px hsl(9, 75%, 61% / 0.00), 0px 4px 6px -1px hsl(9, 75%, 61% / 0.00);
--shadow-xl: 0px 2px 0px 0px hsl(9, 75%, 61% / 0.00), 0px 8px 10px -1px hsl(9, 75%, 61% / 0.00);
--tracking-normal: 0em;
/* 8px spacing system */
--spacing-1: 0.25rem; /* 4px */
--spacing-2: 0.5rem; /* 8px */
--spacing-3: 0.75rem; /* 12px */
--spacing-4: 1rem; /* 16px */
--spacing-5: 1.25rem; /* 20px */
--spacing-6: 1.5rem; /* 24px */
--spacing-8: 2rem; /* 32px */
--spacing-10: 2.5rem; /* 40px */
--spacing-12: 3rem; /* 48px */
/* Semantic state colors */
--success: hsl(142 76% 36%);
--success-foreground: hsl(0 0% 100%);
--warning: hsl(38 92% 50%);
--warning-foreground: hsl(0 0% 100%);
--info: hsl(199 89% 48%);
--info-foreground: hsl(0 0% 100%);
--gradient-primary: linear-gradient(135deg, hsl(24 95% 53%) 0%, hsl(16 95% 55%) 100%);
--gradient-secondary: linear-gradient(135deg, hsl(30 80% 60%) 0%, hsl(20 85% 65%) 100%);
--gradient-hero: linear-gradient(135deg, hsl(25 80% 97%) 0%, hsl(20 70% 96%) 50%, hsl(15 60% 98%) 100%);
--amazon-navy: hsl(210 29% 24%); /* Amazon dark blue */
--amazon-light-orange: hsl(25 80% 95%);
--amazon-gray: hsl(0 0% 55%);
--amazon-light-gray: hsl(0 0% 95%);
--spacing: 0.25rem;
--shadow-2xl: 0px 2px 0px 0px hsl(9, 75%, 61% / 0.00);
--shadow-2xs: 0px 2px 0px 0px hsl(9, 75%, 61% / 0.00);
}
/* Mobile bottom navigation safe areas and spacing */
@supports (padding: max(0px)) {
.safe-area-pb {
padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}
.h-safe-area-inset-bottom {
height: env(safe-area-inset-bottom);
}
}
/* Add padding to prevent overlap with fixed header and mobile bottom nav */
body {
padding-top: 64px; /* Modern header height */
}
@media (max-width: 768px) {
body {
padding-bottom: 80px; /* Height of bottom navigation */
}
}
.dark {
/* Dark mode with warm orange theme */
--background: hsl(25, 10%, 4%);
--foreground: hsl(25, 20%, 91%);
--card: hsl(25, 12%, 8%);
--card-foreground: hsl(25, 18%, 85%);
--popover: hsl(25, 10%, 4%);
--popover-foreground: hsl(25, 20%, 91%);
--primary: hsl(24, 95%, 53%);
--primary-foreground: hsl(0, 0%, 100%);
--secondary: hsl(25, 15%, 15%);
--secondary-foreground: hsl(25, 20%, 85%);
--muted: hsl(25, 12%, 12%);
--muted-foreground: hsl(25, 15%, 55%);
--accent: hsl(24, 95%, 53%);
--accent-foreground: hsl(0, 0%, 100%);
--destructive: hsl(0, 84%, 60%);
--destructive-foreground: hsl(0, 0%, 100%);
--border: hsl(25, 12%, 18%);
--input: hsl(25, 12%, 18%);
--ring: hsl(24, 95%, 53%);
--chart-1: hsl(203.8863, 88.2845%, 53.1373%);
--chart-2: hsl(159.7826, 100%, 36.0784%);
--chart-3: hsl(42.0290, 92.8251%, 56.2745%);
--chart-4: hsl(147.1429, 78.5047%, 41.9608%);
--chart-5: hsl(341.4894, 75.2000%, 50.9804%);
--sidebar: hsl(20, 14%, 8%);
--sidebar-foreground: hsl(45, 25%, 85%);
--sidebar-primary: hsl(9, 75%, 61%);
--sidebar-primary-foreground: hsl(0, 0%, 100%);
--sidebar-accent: hsl(25, 45%, 20%);
--sidebar-accent-foreground: hsl(45, 25%, 85%);
--sidebar-border: hsl(20, 14%, 15%);
--sidebar-ring: hsl(9, 75%, 61%);
--font-sans: 'Inter', system-ui, sans-serif;
--font-serif: Georgia, serif;
--font-mono: 'JetBrains Mono', monospace;
--radius: 1rem;
--shadow-2xs: 0px 1px 2px 0px hsla(24 95% 53% / 0.1);
--shadow-xs: 0px 1px 3px 0px hsla(24 95% 53% / 0.1), 0px 1px 2px 0px hsla(24 95% 53% / 0.06);
--shadow-sm: 0px 1px 3px 0px hsla(24 95% 53% / 0.1), 0px 1px 2px 0px hsla(24 95% 53% / 0.06);
--shadow: 0px 4px 6px -1px hsla(24 95% 53% / 0.1), 0px 2px 4px -1px hsla(24 95% 53% / 0.06);
--shadow-md: 0px 10px 15px -3px hsla(24 95% 53% / 0.1), 0px 4px 6px -2px hsla(24 95% 53% / 0.05);
--shadow-lg: 0px 20px 25px -5px hsla(24 95% 53% / 0.1), 0px 10px 10px -5px hsla(24 95% 53% / 0.04);
--shadow-xl: 0px 25px 50px -12px hsla(24 95% 53% / 0.25);
--shadow-2xl: 0px 25px 50px -12px hsla(24 95% 53% / 0.25);
--gradient-primary: linear-gradient(135deg, hsl(24 95% 53%) 0%, hsl(16 95% 55%) 100%);
--gradient-secondary: linear-gradient(135deg, hsl(25 30% 15%) 0%, hsl(20 25% 17%) 100%);
--glass-bg: hsla(240 20% 15% / 0.1);
--glass-border: hsla(240 20% 30% / 0.2);
--glass-backdrop: blur(15px);
}
/* Dark mode glass overrides with orange theme */
.dark .glass-card {
background: hsla(25, 12%, 8%, 0.98);
backdrop-filter: blur(10px);
border: 1px solid hsla(24, 95%, 53%, 0.2);
}
.dark .glass-strong {
background: hsla(25, 15%, 10%, 0.98);
backdrop-filter: blur(15px);
border: 1px solid hsla(24, 95%, 53%, 0.3);
}
.dark .glass-hero {
background: hsla(25, 20%, 12%, 0.92);
backdrop-filter: blur(20px);
border: 1px solid hsla(24, 95%, 53%, 0.2);
}
@layer base {
* {
@apply border-border;
}
body {
@apply font-sans antialiased text-foreground;
background: var(--background);
min-height: 100vh;
}
}
@layer components {
/* Enhanced Glass morphism utility classes */
.glass {
background: var(--glass-bg);
backdrop-filter: var(--glass-backdrop);
border: 1px solid var(--glass-border);
box-shadow: var(--shadow);
}
.glass-card {
background: white;
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
transition: all 0.2s ease;
}
.glass-card:hover {
box-shadow: var(--shadow-md);
transform: translateY(-1px);
}
.glass-strong {
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: var(--shadow-xl);
}
.glass-hero {
background: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.4);
box-shadow: var(--shadow-2xl);
}
/* Loading spinner */
.spinner {
width: 20px;
height: 20px;
border: 2px solid transparent;
border-top: 2px solid currentColor;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
/* Amazon-style page backgrounds */
.page-gradient {
background: var(--background);
}
.amazon-header {
background: var(--amazon-navy);
color: white;
}
.amazon-banner {
background: var(--gradient-hero);
}
.amazon-card {
background: white;
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
transition: all 0.2s ease;
}
.amazon-card:hover {
box-shadow: var(--shadow-md);
transform: translateY(-1px);
}
.amazon-button {
background: var(--primary);
color: var(--primary-foreground);
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: var(--radius);
font-weight: 400;
transition: all 0.15s ease;
}
.amazon-button:hover {
background: hsl(26 100% 50%);
box-shadow: var(--shadow);
}
.amazon-section {
background: var(--amazon-light-gray);
border-bottom: 1px solid var(--border);
}
/* Hide scrollbars */
.scrollbar-hide {
-ms-overflow-style: none; /* Internet Explorer 10+ */
scrollbar-width: none; /* Firefox */
}
.scrollbar-hide::-webkit-scrollbar {
display: none; /* Safari and Chrome */
}
} |