:root { --accent: #4facfe; --bg: #0b0b0d; --card: #16161a; }
* { box-sizing: border-box; margin: 0; padding: 0; font-family: sans-serif; }
body { background: var(--bg); color: white; display: flex; justify-content: center; padding: 20px; }
.wrapper { width: 100%; max-width: 360px; }
.card { background: var(--card); padding: 20px; border-radius: 18px; border: 1px solid #222; margin-bottom: 12px; }
h1 { font-size: 18px; }
.header p { color: var(--accent); font-weight: 800; font-size: 8px; letter-spacing: 1px; margin-bottom: 15px; }
label { font-size: 9px; color: #666; font-weight: bold; display: block; margin-bottom: 5px; }
input[type="text"] { width: 100%; padding: 10px; font-size: 12px; background: #0f0f11; border: 1px solid #222; border-radius: 10px; color: white; margin-bottom: 15px; outline: none; }
.upload-area { border: 2px dashed #333; padding: 25px; border-radius: 12px; text-align: center; cursor: pointer; margin-bottom: 15px; }
.main-txt { font-weight: bold; color: var(--accent); font-size: 13px; }
.sub-txt { font-size: 9px; color: #555; }
.captcha-box { margin-bottom: 15px; display: flex; justify-content: center; }
#launchBtn { width: 100%; padding: 12px; font-size: 12px; font-weight: bold; background: linear-gradient(to right, #4facfe, #00f2fe); border: none; border-radius: 12px; color: white; cursor: pointer; }

/* Toast & Actions */
#toast-container { position: fixed; top: 10px; right: 10px; z-index: 9999; }
.toast { background: rgba(20, 20, 25, 0.95); border: 1px solid #333; padding: 12px; border-radius: 12px; font-size: 11px; border-left: 4px solid var(--accent); margin-bottom: 8px; animation: slideIn 0.3s forwards; }
.toast-actions { display: flex; gap: 6px; margin-top: 8px; }
.btn-toast { background: #25252d; border: 1px solid #333; color: white; padding: 4px 8px; border-radius: 6px; font-size: 9px; cursor: pointer; }
.btn-open { background: var(--accent); border: none; }

/* Activity Log */
.log-item { font-size: 10px; padding: 8px 0; border-bottom: 1px solid #222; color: #aaa; }
.log-item b { color: var(--accent); }

/* Bottom Sheet */
.sheet-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: none; align-items: flex-end; z-index: 9000; }
.sheet-content { width: 100%; background: #121217; border-radius: 20px 20px 0 0; padding: 20px; animation: slideUp 0.3s; }
.sheet-btn { width: 100%; padding: 12px; background: #1c1c24; border: 1px solid #333; border-radius: 10px; color: white; font-size: 12px; margin-bottom: 8px; text-align: left; cursor: pointer; }
.sheet-close { width: 100%; background: none; border: none; color: #444; font-size: 10px; margin-top: 5px; cursor: pointer; width: 100%; }

/* Chatbot */
#chat-widget { position: fixed; bottom: 20px; right: 20px; }
.chat-btn { width: 50px; height: 50px; background: var(--accent); border-radius: 15px; display: flex; justify-content: center; align-items: center; cursor: pointer; font-size: 20px; }
#chat-popup { position: absolute; bottom: 60px; right: 0; width: 260px; background: #1a1a20; border-radius: 15px; border: 1px solid #333; overflow: hidden; }
.hidden { display: none; }
.chat-header { background: var(--accent); padding: 10px; font-size: 10px; font-weight: bold; display: flex; justify-content: space-between; }
#chat-body { height: 150px; padding: 10px; overflow-y: auto; background: #111; font-size: 11px; }
.bot-msg { background: #25252d; padding: 8px; border-radius: 10px; margin-bottom: 5px; width: fit-content; }
.chat-footer { padding: 5px; display: flex; gap: 5px; background: #1a1a20; }
.chat-footer button { flex: 1; padding: 5px; font-size: 9px; background: #25252d; color: white; border: 1px solid #333; border-radius: 5px; cursor: pointer; }

@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
