@import "tailwindcss"; @theme { --color-brand-primary: #00e5ff; --color-brand-secondary: #0051ff; --color-dark-bg: #0a0c10; --color-dark-card: #161a22; --animate-fade-in-up: fade-in-up 0.5s ease-out; --animate-glow: glow 2s infinite alternate; --animate-fade-in: fade-in 0.3s ease-out forwards; --animate-scale-up: scale-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; @keyframes fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes glow { from { box-shadow: 0 0 5px rgba(0, 229, 255, 0.2); } to { box-shadow: 0 0 20px rgba(0, 229, 255, 0.6); } } @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes scale-up { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } } /* Clases de utilidad personalizadas (fuera de @theme) */ .animate-fade-in { animation: var(--animate-fade-in); } .animate-scale-up { animation: var(--animate-scale-up); } .animate-fade-in-up { animation: var(--animate-fade-in-up); } :root { background-color: var(--color-dark-bg); color: white; font-family: 'Inter', system-ui, -apple-system, sans-serif; } body { margin: 0; padding: 0; } /* Glassmorphism utility */ .glass { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); } .glass-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; } .glass-card:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--color-brand-primary); transform: translateY(-5px); } .text-gradient { background: linear-gradient(to right, #00e5ff, #0051ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } /* FIX PARA AUTOCOMPLETE EN TEMA OSCURO */ input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { /* Pintamos el fondo usando una sombra interior sólida del color de tu input (#0a0c10) */ -webkit-box-shadow: 0 0 0 30px #0a0c10 inset !important; /* Forzamos el color del texto a blanco */ -webkit-text-fill-color: white !important; /* Mantenemos el color del cursor */ caret-color: white !important; /* Forzamos que el borde se mantenga (opcional si usas border en tailwind) */ transition: background-color 5000s ease-in-out 0s; } /* Ocultar scrollbar manteniendo funcionalidad */ .no-scrollbar::-webkit-scrollbar { display: none; } .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }