anycoder-250fdd37 / index.html
Jagathratchagan's picture
Upload folder using huggingface_hub
08f6f8d verified
Raw History Blame Contribute Delete
31.4 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>SecureID — Authentication System</title> <script src="https://cdn.tailwindcss.com"></script> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"> <script> tailwind.config = { theme: { extend: { fontFamily: { sans: ['Inter', 'system-ui', 'sans-serif'], display: ['Outfit', 'system-ui', 'sans-serif'], mono: ['IBM Plex Mono', 'monospace'], }, colors: { ocean: { 50: '#f0f9ff', 100: '#e0f2fe', 200: '#bae6fd', 300: '#7dd3fc', 400: '#38bdf8', 500: '#0ea5e9', 600: '#0284c7', 700: '#0369a1', 800: '#075985', 900: '#0c4a6e', 950: '#082f49', } }, animation: { 'fade-in-up': 'fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards', 'fade-in': 'fadeIn 0.5s ease-out forwards', 'slide-in-right': 'slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards', 'slide-in-left': 'slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards', 'scale-in': 'scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards', 'float': 'float 6s ease-in-out infinite', 'pulse-glow': 'pulseGlow 2s ease-in-out infinite', 'spin-slow': 'spin 20s linear infinite', 'bounce-subtle': 'bounceSubtle 2s ease-in-out infinite', 'bar-grow': 'barGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards', 'type-cursor': 'typeCursor 0.8s step-end infinite', 'shake': 'shake 0.5s cubic-bezier(.36,.07,.19,.97) both', 'wave': 'wave 2s ease-in-out infinite', }, keyframes: { fadeInUp: { '0%': { opacity: '0', transform: 'translateY(30px) scale(0.97)' }, '100%': { opacity: '1', transform: 'translateY(0) scale(1)' }, }, fadeIn: { '0%': { opacity: '0' }, '100%': { opacity: '1' }, }, slideInRight: { '0%': { opacity: '0', transform: 'translateX(40px)' }, '100%': { opacity: '1', transform: 'translateX(0)' }, }, slideInLeft: { '0%': { opacity: '0', transform: 'translateX(-40px)' }, '100%': { opacity: '1', transform: 'translateX(0)' }, }, scaleIn: { '0%': { opacity: '0', transform: 'scale(0.9)' }, '100%': { opacity: '1', transform: 'scale(1)' }, }, float: { '0%, 100%': { transform: 'translateY(0px) rotate(0deg)' }, '33%': { transform: 'translateY(-12px) rotate(1deg)' }, '66%': { transform: 'translateY(6px) rotate(-1deg)' }, }, pulseGlow: { '0%, 100%': { opacity: '0.4', transform: 'scale(1)' }, '50%': { opacity: '0.8', transform: 'scale(1.05)' }, }, bounceSubtle: { '0%, 100%': { transform: 'translateY(0)' }, '50%': { transform: 'translateY(-4px)' }, }, barGrow: { '0%': { width: '0%' }, }, shake: { '10%, 90%': { transform: 'translate3d(-1px, 0, 0)' }, '20%, 80%': { transform: 'translate3d(2px, 0, 0)' }, '30%, 50%, 70%': { transform: 'translate3d(-4px, 0, 0)' }, '40%, 60%': { transform: 'translate3d(4px, 0, 0)' }, }, wave: { '0%, 100%': { transform: 'scaleY(1)' }, '50%': { transform: 'scaleY(1.5)' }, }, } } } } </script> <style> :root { --ocean-50: #f0f9ff; --ocean-100: #e0f2fe; --ocean-500: #0ea5e9; --ocean-600: #0284c7; --ocean-700: #0369a1; --ocean-900: #0c4a6e; --ocean-950: #082f49; --success: #10b981; --error: #ef4444; --warning: #f59e0b; } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { font-family: 'Inter', system-ui, sans-serif; background: #f8fafc; min-height: 100vh; color: #0f172a; overflow-x: hidden; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 7px; height: 7px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: #64748b; } /* Login page mesh gradient background */ .auth-bg { background: radial-gradient(ellipse 80% 60% at 10% 20%, rgba(14,165,233,0.12) 0%, transparent 70%), radial-gradient(ellipse 60% 50% at 80% 80%, rgba(99,102,241,0.08) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 50% 10%, rgba(16,185,129,0.06) 0%, transparent 60%), #f8fafc; } /* Glass morphism */ .glass { background: rgba(255,255,255,0.72); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); border: 1px solid rgba(255,255,255,0.6); box-shadow: 0 1px 1px rgba(0,0,0,0.03), 0 4px 16px rgba(0,0,0,0.04), 0 8px 48px rgba(0,0,0,0.02); } .glass-strong { background: rgba(255,255,255,0.88); backdrop-filter: blur(32px) saturate(1.8); -webkit-backdrop-filter: blur(32px) saturate(1.8); border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 4px 24px rgba(0,0,0,0.05), 0 12px 48px rgba(14,165,233,0.06); } .glass-dark { background: rgba(8,47,73,0.92); backdrop-filter: blur(32px) saturate(1.5); -webkit-backdrop-filter: blur(32px) saturate(1.5); border: 1px solid rgba(56,189,248,0.1); } /* Animated mesh on login */ .mesh-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; pointer-events: none; } .mesh-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(14,165,233,0.25), transparent 70%); top: -100px; left: -100px; animation: orbFloat1 15s ease-in-out infinite; } .mesh-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(99,102,241,0.18), transparent 70%); bottom: -50px; right: -80px; animation: orbFloat2 18s ease-in-out infinite; } .mesh-orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(16,185,129,0.12), transparent 70%); top: 50%; left: 60%; animation: orbFloat3 20s ease-in-out infinite; } @keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, 60px) scale(1.1); } 66% { transform: translate(-30px, -20px) scale(0.95); } } @keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-50px, -40px) scale(1.08); } 66% { transform: translate(30px, 30px) scale(0.92); } } @keyframes orbFloat3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-80px, 20px) scale(1.15); } } /* Input styling */ .form-input { width: 100%; padding: 14px 18px 14px 46px; border: 1.5px solid #e2e8f0; border-radius: 14px; background: #fff; font-size: 0.875rem; font-family: 'Inter', sans-serif; color: #0f172a; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); outline: none; } .form-input::placeholder { color: #94a3b8; font-weight: 400; } .form-input:hover { border-color: #cbd5e1; } .form-input:focus { border-color: #0ea5e9; box-shadow: 0 0 0 4px rgba(14,165,233,0.1); background: #fff; } .form-input.is-error { border-color: var(--error); box-shadow: 0 0 0 4px rgba(239,68,68,0.08); animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both; } /* Button styles */ .btn-primary { position: relative; background: #0c4a6e; color: #fff; padding: 14px 28px; border-radius: 14px; font-weight: 600; font-size: 0.875rem; font-family: 'Inter', sans-serif; letter-spacing: 0.01em; border: none; cursor: pointer; overflow: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 1px 3px rgba(12,74,110,0.2), 0 4px 12px rgba(12,74,110,0.12); } .btn-primary:hover { background: #075985; box-shadow: 0 2px 6px rgba(12,74,110,0.25), 0 8px 24px rgba(12,74,110,0.18); transform: translateY(-1px); } .btn-primary:active { transform: translateY(0) scale(0.98); } .btn-primary::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 50%); pointer-events: none; } .btn-ghost { background: transparent; color: #475569; padding: 10px 18px; border-radius: 12px; font-weight: 500; font-size: 0.875rem; font-family: 'Inter', sans-serif; border: 1.5px solid #e2e8f0; cursor: pointer; transition: all 0.25s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; } .btn-ghost:hover { background: #f1f5f9; border-color: #cbd5e1; color: #0f172a; transform: translateY(-1px); } .btn-oauth { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 18px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; font-size: 0.8rem; font-weight: 500; color: #334155; cursor: pointer; transition: all 0.25s ease; font-family: 'Inter', sans-serif; } .btn-oauth:hover { border-color: #cbd5e1; background: #f8fafc; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transform: translateY(-1px); } /* Divider */ .divider { display: flex; align-items: center; gap: 16px; color: #94a3b8; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; } .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; } /* Checkbox */ .custom-checkbox { appearance: none; width: 18px; height: 18px; border: 2px solid #cbd5e1; border-radius: 6px; cursor: pointer; position: relative; transition: all 0.2s ease; flex-shrink: 0; } .custom-checkbox:checked { background: #0ea5e9; border-color: #0ea5e9; } .custom-checkbox:checked::after { content: ''; position: absolute; top: 1px; left: 5px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); } /* Dashboard layout */ .app-container { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; background: #f1f5f9; } @media (max-width: 1024px) { .app-container { grid-template-columns: 1fr; } } /* Sidebar */ .sidebar { position: fixed; top: 0; left: 0; width: 280px; height: 100vh; z-index: 50; background: #fff; border-right: 1px solid #e2e8f0; display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .sidebar-nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 12px; color: #64748b; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.25s ease; border: none; background: none; width: 100%; text-align: left; font-family: 'Inter', sans-serif; } .sidebar-nav-item:hover { background: #f0f9ff; color: #0284c7; } .sidebar-nav-item.is-active { background: #0c4a6e; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(12,74,110,0.2); } /* Main area */ .main-area { margin-left: 280px; min-height: 100vh; display: flex; flex-direction: column; } @media (max-width: 1024px) { .main-area { margin-left: 0; } .sidebar { transform: translateX(-100%); } .sidebar.is-open { transform: translateX(0); } .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.4); backdrop-filter: blur(4px); z-index: 40; } .sidebar-overlay.is-visible { display: block; } } /* Cards */ .dash-card { background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; padding: 24px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .dash-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 16px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03); transform: translateY(-2px); } /* Stat cards with gradient backgrounds */ .stat-card { border-radius: 16px; padding: 24px; position: relative; overflow: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .stat-card::before { content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px; background: rgba(255,255,255,0.06); border-radius: 50%; transform: translate(30%, -30%); } .stat-card:hover { transform: translateY(-3px); } .stat-card-blue { background: #0c4a6e; color: #fff; } .stat-card-sky { background: #0ea5e9; color: #fff; } .stat-card-emerald { background: #059669; color: #fff; } .stat-card-violet { background: #7c3aed; color: #fff; } /* Status pills */ .pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; font-family: 'Inter', sans-serif; white-space: nowrap; } .pill-success { background: #d1fae5; color: #065f46; } .pill-danger { background: #fee2e2; color: #991b1b; } .pill-warning { background: #fef3c7; color: #92400e; } .pill-info { background: #e0f2fe; color: #0c4a6e; } .pill-neutral { background: #f1f5f9; color: #475569; } /* Toast */ .toast-container { position: fixed; top: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; } .toast { pointer-events: all; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px 20px; min-width: 320px; max-width: 400px; display: flex; align-items: center; gap: 14px; box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.05); animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards, fadeOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) 3.6s forwards; cursor: pointer; overflow: hidden; position: relative; } .toast::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #0ea5e9; animation: toastProgress 3s linear forwards; border-radius: 0 0 14px 14px; } .toast.is-success::after { background: var(--success); } .toast.is-error::after { background: var(--error); } .toast.is-warning::after { background: var(--warning); } @keyframes fadeOut { to { opacity: 0; transform: translateX(40px); } } @keyframes toastProgress { from { width: 100%; } to { width: 0%; } } /* Modal */ .modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(15,23,42,0.5); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .modal-overlay.is-visible { opacity: 1; visibility: visible; } .modal-panel { background: #fff; border-radius: 20px; width: 100%; max-width: 480px; max-height: 85vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.08); transform: scale(0.92) translateY(20px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); } .modal-overlay.is-visible .modal-panel { transform: scale(1) translateY(0); } /* Loader */ .loader-ring { width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Password strength meter */ .strength-meter { display: flex; gap: 4px; height: 4px; border-radius: 2px; overflow: hidden; margin-top: 8px; } .strength-segment { flex: 1; border-radius: 2px; background: #e2e8f0; transition: all 0.3s ease; } .strength-segment.weak { background: #ef4444; } .strength-segment.fair { background: #f59e0b; } .strength-segment.good { background: #3b82f6; } .strength-segment.strong { background: #10b981; } /* Progress bar for charts */ .progress-track { background: #f1f5f9; border-radius: 999px; height: 8px; overflow: hidden; } .progress-fill { height: 100%; border-radius: 999px; transition: width 1s cubic-bezier(0.16, 1, 0.3, 1); } /* Animated bars */ .bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; } .bar-chart-bar { flex: 1; border-radius: 6px 6px 0 0; background: #e2e8f0; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); position: relative; } .bar-chart-bar.is-active { background: #0ea5e9; } .bar-chart-bar.is-active::after { content: attr(data-value); position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-size: 0.65rem; font-weight: 600; color: #64748b; font-family: 'IBM Plex Mono', monospace; } /* Session row hover effect */ .session-row { transition: all 0.2s ease; border-radius: 10px; } .session-row:hover { background: #f8fafc; } /* Mobile bottom nav */ @media (max-width: 1024px) { .mobile-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #e2e8f0; z-index: 40; justify-content: space-around; padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); } .mobile-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 12px; border-radius: 12px; color: #94a3b8; font-size: 0.65rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; border: none; background: none; font-family: 'Inter', sans-serif; } .mobile-nav-item.is-active { color: #0284c7; } .mobile-nav-item i { font-size: 1.15rem; } } @media (min-width: 1025px) { .mobile-nav { display: none; } } /* Avatar ring */ .avatar-ring { position: relative; } .avatar-ring::before { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #0ea5e9; opacity: 0.3; } /* Tag */ .tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 600; font-family: 'Inter', sans-serif; } /* Spark line animation */ .spark-line { fill: none; stroke: #0ea5e9; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: drawLine 2s ease forwards; } @keyframes drawLine { to { stroke-dashoffset: 0; } } /* Hide password toggle */ .password-toggle { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; cursor: pointer; transition: color 0.2s; font-size: 0.875rem; border: none; background: none; padding: 4px; z-index: 2; } .password-toggle:hover { color: #475569; } /* Tooltip */ .has-tooltip { position: relative; } .has-tooltip .tooltip-text { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(-6px); background: #0f172a; color: #fff; font-size: 0.7rem; padding: 6px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 10; } .has-tooltip:hover .tooltip-text { opacity: 1; transform: translateX(-50%) translateY(-2px); } /* View switching */ .view-section { display: none; animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; } .view-section.is-active { display: block; } /* Responsive grid adjustments */ @media (max-width: 768px) { .stat-grid { grid-template-columns: 1fr 1fr !important; } } @media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr !important; } } /* Subtle grid pattern */ .bg-grid { background-image: linear-gradient(rgba(148,163,184,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,0.08) 1px, transparent 1px); background-size: 40px 40px; } /* Account card special */ .account-card { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 16px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; } .account-card:hover { border-color: #0ea5e9; box-shadow: 0 8px 30px rgba(14,165,233,0.08); } /* Tab style */ .tab-btn { padding: 8px 20px; border-radius: 10px; font-size: 0.8rem; font-weight: 500; color: #64748b; cursor: pointer; transition: all 0.2s ease; border: none; background: none; font-family: 'Inter', sans-serif; } .tab-btn:hover { background: #f1f5f9; color: #334155; } .tab-btn.is-active { background: #0c4a6e; color: #fff; font-weight: 600; } /* Secure chip effect */ .secure-chip { position: relative; background: rgba(14,165,233,0.08); border: 1px solid rgba(14,165,233,0.15); border-radius: 12px; padding: 16px; } .secure-chip::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: #0ea5e9; border-radius: 0 0 0 12px; opacity: 0.5; } /* Login illustration */ .login-illustration { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; } /* Rotating ring decoration */ .orbit-ring { position: absolute; border: 1px solid rgba(14,165,233,0.15); border-radius: 50%; animation: spin 30s linear infinite; } .orbit-dot { position: absolute; width: 8px; height: 8px; background: #0ea5e9; border-radius: 50%; box-shadow: 0 0 12px rgba(14,165,233,0.5); } /* Breathing card effect */ @keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } } .breathe { animation: breathe 4s ease-in-out infinite; } </style> </head> <body> <!-- ========================================== --> <!-- TOAST CONTAINER --> <!-- ========================================== --> <div class="toast-container" id="toastContainer"></div> <!-- ========================================== --> <!-- LOGIN PAGE --> <!-- ========================================== --> <div id="loginPage" class="auth-bg min-h-screen flex items-center justify-center relative overflow-hidden"> <!-- Animated mesh orbs --> <div class="mesh-orb mesh-orb-1"></div> <div class="mesh-orb mesh-orb-2"></div> <div class="mesh-orb mesh-orb-3"></div> <div class="relative z-10 w-full max-w-[1100px] mx-4 animate-fade-in-up"> <div class="glass-strong rounded-[24px] overflow-hidden shadow-2xl" style="box-shadow: 0 24px 80px rgba(12,74,110,0.08), 0 8px 24px rgba(0,0,0,0.04);"> <div class="grid grid-cols-1 lg:grid-cols-2"> <!-- Left: Visual --> <div class="relative hidden lg:flex flex-col items-center justify-center p-12 bg-grid" style="background-color: #f8fafc;"> <!-- Orbit rings --> <div class="absolute inset-0 flex items-center justify-center pointer-events-none"> <div class="orbit-ring" style="width: 300px; height: 300px;"></div> <div class="orbit-ring" style="width: 220px; height: 220px; animation-direction: reverse; animation-duration: 20s;"></div> </div> <!-- Central illustration --> <div class="relative z-10 breathe"> <div class="relative w-48 h-48"> <!-- Outer glow --> <div class="absolute inset-0 rounded-full bg-ocean-500/10 blur-xl"></div> <!-- Main circle --> <div class="absolute inset-4 rounded-full bg-white shadow-xl flex items-center justify-center border border-ocean-100"> <i class="fa-solid fa-shield-halved text-5xl text-ocean-700"></i> </div> <!-- Orbiting dots --> <div class="absolute inset-0 animate-spin-slow"> <div class="orbit-dot" style="top: -4px; left: 50%; transform: translateX(-50%);"></div> </div> <div class="absolute inset-0 animate-spin-slow" style="animation-direction: reverse; animation-duration: 15s;"> <div class="orbit-dot" style="bottom: -4px; left: 50%; transform: translateX(-50%); background: #6366f1; box-shadow: 0 0 12px rgba(99,102,241,0.5);"></div> </div> </div> </div> <div class="mt-8 text-center z-10"> <p class="font-display font-bold text-2xl text-slate-800 mb-2">SecureID</p> <p class="text-sm text-slate-500 max-w-[240px] leading-relaxed">Enterprise-grade authentication with biometric-ready security architecture.</p> </div> <!-- Feature tags --> <div class="mt-6 flex flex-wrap gap-2 justify-center z-10"> <span class="tag pill-info"><i class="fa-solid fa-fingerprint text-[10px]"></i> Biometric</span> <span class="tag pill-success"><i class="fa-solid fa-lock text-[10px]"></i> AES-256</span> <span class="tag pill-warning"><i class="fa-solid fa-clock text-[10px]"></i> MFA</span> </div> <!-- Bottom attribution --> <div class="absolute bottom-6 left-6 text-[11px] text-slate-400"> <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="hover:text-ocean-600 transition-colors"> Built with <span class="font-medium text-ocean-600">anycoder</span> </a> </div> </div> <!-- Right: Form --> <div class="p-8 lg:p-12 flex flex-col justify-center"> <!-- Mobile header --> <div class="lg:hidden mb-6 text-center"> <div class="w-14 h-14 rounded-2xl bg-ocean-900 flex items-center justify-center mx-auto mb-3 shadow-lg"> <i class="fa-solid fa-shield-halved text-xl text-white"></i> </div> <h2 class="font-display font-bold text-xl text-slate-800">SecureID</h2> <p class="text-xs text-slate-400 mt-1">Authentication Portal</p> </div> <!-- Desktop header --> <div class="hidden lg:block mb-8"> <h2 class="font-display font-bold text-3xl text-slate-900 mb-2 tracking-tight">Welcome back</h2> <p class="text-sm text-slate-500">Enter your credentials to access the dashboard.</p> </div> <!-- Login Form --> <form id="loginForm" autocomplete="on"> <div class="space-y-5"> <!-- Email --> <div class="group"> <label class="block text-xs font-semibold text-slate-700 mb-2 tracking-wide uppercase">Email Address</label> <div class="relative"> <i class="fa-regular fa-envelope absolute left-4 top-1/2 -translate-y-1/2 text-slate-400 text-sm pointer-events-none transition-colors group-focus-within:text-ocean-600"></i> <input type="email" id="emailInput" class="form-input" placeholder="you@company.com" autocomplete="email" value="demo@secureid.io" > </div> <p id="emailError" class="text-xs text-red-500 mt-1.5 hidden font-medium"></p> </div> <!-- Password --> <div class="group"> <label class="block text-xs font-semibold text-slate-700 mb-2 tracking-wide uppercase">Password</label> <div class="relative"> <i class="fa-solid fa-lock absolute left-4 top-1/2 -translate-y-1/2 text-slate-400 text-sm pointer-events-none transition-colors group-focus-within:text-ocean-600"></i> <input
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SecureID — Authentication System</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
display: ['Outfit', 'system-ui', 'sans-serif'],
mono: ['IBM Plex Mono', 'monospace'],
},
colors: {
ocean: {
50: '#f0f9ff',
100: '#e0f2fe',
200: '#bae6fd',
300: '#7dd3fc',
400: '#38bdf8',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
950: '#082f49',
}
},
animation: {
'fade-in-up': 'fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards',
'fade-in': 'fadeIn 0.5s ease-out forwards',
'slide-in-right': 'slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards',
'slide-in-left': 'slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards',
'scale-in': 'scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards',
'float': 'float 6s ease-in-out infinite',
'pulse-glow': 'pulseGlow 2s ease-in-out infinite',
'spin-slow': 'spin 20s linear infinite',
'bounce-subtle': 'bounceSubtle 2s ease-in-out infinite',
'bar-grow': 'barGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards',
'type-cursor': 'typeCursor 0.8s step-end infinite',
'shake': 'shake 0.5s cubic-bezier(.36,.07,.19,.97) both',
'wave': 'wave 2s ease-in-out infinite',
},
keyframes: {
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(30px) scale(0.97)' },
'100%': { opacity: '1', transform: 'translateY(0) scale(1)' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideInRight: {
'0%': { opacity: '0', transform: 'translateX(40px)' },
'100%': { opacity: '1', transform: 'translateX(0)' },
},
slideInLeft: {
'0%': { opacity: '0', transform: 'translateX(-40px)' },
'100%': { opacity: '1', transform: 'translateX(0)' },
},
scaleIn: {
'0%': { opacity: '0', transform: 'scale(0.9)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
float: {
'0%, 100%': { transform: 'translateY(0px) rotate(0deg)' },
'33%': { transform: 'translateY(-12px) rotate(1deg)' },
'66%': { transform: 'translateY(6px) rotate(-1deg)' },
},
pulseGlow: {
'0%, 100%': { opacity: '0.4', transform: 'scale(1)' },
'50%': { opacity: '0.8', transform: 'scale(1.05)' },
},
bounceSubtle: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-4px)' },
},
barGrow: {
'0%': { width: '0%' },
},
shake: {
'10%, 90%': { transform: 'translate3d(-1px, 0, 0)' },
'20%, 80%': { transform: 'translate3d(2px, 0, 0)' },
'30%, 50%, 70%': { transform: 'translate3d(-4px, 0, 0)' },
'40%, 60%': { transform: 'translate3d(4px, 0, 0)' },
},
wave: {
'0%, 100%': { transform: 'scaleY(1)' },
'50%': { transform: 'scaleY(1.5)' },
},
}
}