/* Existing styles from the previous CSS file */ body { font-family: 'Inter', sans-serif; scrollbar-width: thin; scrollbar-color: rgba(250, 204, 21, 0.5) transparent; color: #f3f4f6; max-width: 100%; overflow-x: hidden; background-color: #111827; } /* Scrollbar Styles */ body::-webkit-scrollbar { width: 8px; } body::-webkit-scrollbar-track { background: #1f2937; } body::-webkit-scrollbar-thumb { background-color: rgba(250, 204, 21, 0.5); border-radius: 20px; } /* Glow Effects */ .glow-effect { box-shadow: 0 0 15px rgba(250, 204, 21, 0.15); transition: box-shadow 0.3s ease; } .glow-effect:hover { box-shadow: 0 0 25px rgba(250, 204, 21, 0.25); } .glow-text { text-shadow: 0 0 10px rgba(250, 204, 21, 0.3); } /* Preview Container */ #previewContainer { opacity: 0; transition: all 0.5s ease-in-out; width: 100%; max-width: 100%; } #previewContainer.visible { opacity: 1; } #previewContent { width: 100%; word-wrap: break-word; overflow-wrap: break-word; } /* Preview Item Styles */ .preview-item { animation: fadeIn 0.5s ease-out; color: #f3f4f6; } .preview-item h2 { color: #facc15; } .preview-item p { color: #9ca3af; } .preview-item img { max-width: 100%; height: auto; border-radius: 0.75rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2); border: 2px solid rgba(250, 204, 21, 0.2); } /* Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes pop-in { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } } .animate-pop-in { animation: pop-in 0.3s ease-out forwards; } /* Loading spinner animation */ @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .fa-spin { animation: spin 1s linear infinite; } /* Success checkmark animation */ @keyframes checkmark { 0% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } } .fa-check { animation: checkmark 0.5s ease-in-out forwards; } /* Success Dialog Animation */ #successDialog .glow-effect { animation: successGlow 2s infinite alternate; } @keyframes successGlow { from { box-shadow: 0 0 10px rgba(250, 204, 21, 0.2); } to { box-shadow: 0 0 25px rgba(250, 204, 21, 0.4); } } /* Pending Notice Animation */ @keyframes slide-in-bottom { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .slide-in-bottom { animation: slide-in-bottom 0.3s ease-out forwards; } /* Group Hover Animation */ .group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); } /* Status Badge Pulse */ @keyframes status-pulse { 0%, 100% { background-color: rgba(234, 179, 8, 0.1); } 50% { background-color: rgba(234, 179, 8, 0.2); } } .bg-yellow-500\/10 { animation: status-pulse 2s infinite; } /* Button Styles */ .btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.3s ease; } .btn-original-link { background-color: #facc15; color: #111827; } .btn-original-link:hover { background-color: #eab308; transform: scale(1.05); box-shadow: 0 0 15px rgba(250, 204, 21, 0.3); } .btn-report-user { background-color: #ef4444; color: #fff; } .btn-report-user:hover { background-color: #dc2626; transform: scale(1.05); box-shadow: 0 0 15px rgba(239, 68, 68, 0.3); } /* Language Button Styles */ .language-btn { @apply inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 cursor-pointer opacity-100 active:opacity-50 text-primary-foreground relative h-full bg-transparent p-2 shadow-none transition-transform ease-in-out hover:scale-108 hover:bg-transparent scale-105; } .language-btn img { @apply rounded-lg; border: 2px solid rgba(250, 204, 21, 0.2); transition: all 0.3s ease; } .language-btn:hover img { border-color: rgba(250, 204, 21, 0.5); transform: scale(1.05); box-shadow: 0 0 15px rgba(250, 204, 21, 0.2); } /* Meenu Button Styles */ #meenuButton { animation: meenuButtonPulse 2s infinite; } @keyframes meenuButtonPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } /* Customer Support FAB Styles */ .customer-fab-btn { position: relative; animation: customer-fab-pulse 2s infinite; } .customer-fab-notification { animation: customer-fab-badge-pulse 1s infinite alternate; } @keyframes customer-fab-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } @keyframes customer-fab-badge-pulse { 0% { transform: scale(0.8); } 100% { transform: scale(1); } } /* Money Transfer Modal Styles */ #moneyTransferModal .bg-green-500/20 { animation: greenGlow 2s infinite alternate; } @keyframes greenGlow { from { box-shadow: 0 0 10px rgba(34, 197, 94, 0.2); } to { box-shadow: 0 0 25px rgba(34, 197, 94, 0.4); } } /* New Warning Notice Animation */ @keyframes pulse-warning { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.02); opacity: 0.9; } } #warningNotice { animation: pulse-warning 2s infinite; } /* Loading Animations */ @keyframes pulse-loading { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } } .pulse-loading { animation: pulse-loading 1s ease-in-out infinite; } @keyframes slide-up { 0% { transform: translateY(20px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } .animate-slide-up { animation: slide-up 0.3s ease-out forwards; } /* Loading Spinner */ .loading-spinner { display: inline-block; width: 2rem; height: 2rem; border: 3px solid rgba(250, 204, 21, 0.3); border-radius: 50%; border-top-color: #facc15; animation: spin 1s linear infinite; } .loading-overlay { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); } /* Processing State */ .processing { position: relative; pointer-events: none; } .processing::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); border-radius: inherit; } /* Success Animation */ @keyframes success-bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } } .success-bounce { animation: success-bounce 1s ease-out; } /* Error Shake Animation */ @keyframes error-shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); } 20%, 40%, 60%, 80% { transform: translateX(5px); } } .error-shake { animation: error-shake 0.6s ease-in-out; } /* Responsive Styles */ @media (max-width: 480px) { body { padding: 0.5rem; } .container { max-width: 100%; padding: 1rem; } .preview-item { font-size: 0.9rem; } .preview-item h2 { font-size: 1.5rem; } .btn { padding: 0.5rem; font-size: 0.8rem; } .btn i { margin-right: 0; } .btn span { display: none; } } @media (max-width: 640px) { .container { padding: 0.5rem; width: 100%; max-width: 100%; } input, select, button { font-size: 0.875rem; padding: 0.5rem 1rem; } .text-sm { font-size: 0.75rem; } } /* Input Focus States */ input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.2); } /* Modal Backdrop */ .backdrop-blur-sm { backdrop-filter: blur(8px); }