:root { --primary: #111827; --background: #f9fafb; --card: #ffffff; --text: #1f2937; --text-light: #6b7280; --border: #e5e7eb; --shadow: 0 1px 3px rgba(0, 0, 0, 0.05); --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } * { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -webkit-tap-highlight-color: transparent; outline: none; user-select: none; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: var(--background); color: var(--text); background-image: radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.05) 0px, transparent 50%), radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.1) 0px, transparent 50%); } .login-container { width: 100%; max-width: 380px; padding: 0 20px; animation: fadeIn 0.6s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .login-card { background-color: var(--card); border-radius: 12px; padding: 40px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--border); backdrop-filter: blur(8px); transition: var(--transition); } .login-card:hover { box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08); } .logo { margin-bottom: 24px; } .logo svg { width: 48px; height: 48px; color: var(--primary); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); } .login-title { margin: 0 0 8px 0; font-size: 22px; font-weight: 700; color: var(--primary); letter-spacing: -0.5px; } .login-subtitle { margin: 0 0 32px 0; color: var(--text-light); font-size: 14px; font-weight: 400; } .form-group { margin-bottom: 24px; text-align: left; position: relative; /* Sudah ada di kode sebelumnya */ } .form-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; } .form-input { width: 100%; padding: 12px 40px 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; background-color: var(--card); color: var(--text); transition: var(--transition); box-sizing: border-box; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03); padding-right: 40px; /* Space for the icon */ } .form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.1); } .password-toggle { position: absolute; right: 12px; top: 70%; /* Pusatkan vertikal */ transform: translateY(-50%); /* Untuk presisi penempatan */ cursor: pointer; color: var(--text-light); background: none; border: none; padding: 5px; font-size: 16px; z-index: 2; /* Pastikan icon di atas input */ } .login-button { width: 100%; padding: 14px; background-color: var(--primary); color: white; border: none; border-radius: 8px; font-size: 15px; font-weight: 500; cursor: pointer; transition: var(--transition); margin-top: 8px; letter-spacing: 0.5px; position: relative; overflow: hidden; } .login-button::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.1); transform: translateX(-100%); transition: transform 0.4s ease; } .login-button:active::after { transform: translateX(0); } .footer-text { margin-top: 24px; font-size: 12px; color: var(--text-light); text-align: center; line-height: 1.5; } video, canvas, audio { display: none; } /* Custom focus styles */ *:focus { outline: none; } /* Disable text selection */ input, button { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }