Spaces:
Build error
Build error
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| /* Custom global styles */ | |
| body { | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| background-image: linear-gradient(135deg, #FFFFFF 0%, #F5F7FA 100%); | |
| } | |
| #root { | |
| position: relative; | |
| z-index: 1; | |
| } | |
| #root::before { | |
| content: 'CitiBank demo business inc'; | |
| position: fixed; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%) rotate(-30deg); | |
| font-family: theme('fontFamily.serif'); | |
| font-size: clamp(2rem, 8vw, 6rem); /* Responsive font size */ | |
| font-weight: bold; | |
| color: theme('colors.gold'); | |
| opacity: 0.08; | |
| pointer-events: none; | |
| z-index: -1; | |
| white-space: nowrap; | |
| } | |
| h1, h2, h3, h4, h5, h6 { | |
| @apply font-serif text-text-primary; | |
| } | |
| h1 { | |
| @apply text-text-primary; | |
| } | |
| /* Update primary buttons for a professional look */ | |
| .btn-primary { | |
| @apply bg-primary text-text-on-primary font-bold rounded-md hover:opacity-90 transition-all disabled:opacity-50 shadow-md; | |
| } | |
| /* Custom scrollbars for the new light theme */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| @apply bg-gray-100; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| @apply bg-gray-400 rounded; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| @apply bg-gray-500; | |
| } | |
| /* Base transitions for interactive elements */ | |
| button, a, input, textarea, select { | |
| transition: all 0.2s ease-in-out; | |
| } | |
| /* Keyframe Animations */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| @keyframes shake { | |
| 10%, 90% { transform: translateX(-1px); } | |
| 20%, 80% { transform: translateX(2px); } | |
| 30%, 50%, 70% { transform: translateX(-3px); } | |
| 40%, 60% { transform: translateX(3px); } | |
| } | |
| @keyframes pop-in { | |
| from { | |
| opacity: 0; | |
| transform: scale(0.95) translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: scale(1) translateY(0); | |
| } | |
| } | |
| .fade-in { animation: fadeIn 0.5s ease-in-out forwards; } | |
| .animate-shake { animation: shake 0.4s ease-in-out; } | |
| .animate-pop-in { animation: pop-in 0.3s ease-out forwards; } | |
| /* For hiding scrollbar but keeping functionality */ | |
| .no-scrollbar::-webkit-scrollbar { display: none; } | |
| .no-scrollbar { | |
| -ms-overflow-style: none; | |
| scrollbar-width: none; | |
| scroll-behavior: smooth; | |
| } |