:root { --bg-color: #f8f9fa; --card-bg: #ffffff; --text-main: #111827; --text-muted: #6b7280; --primary-green: #10b981; --border: #e5e7eb; --radius: 16px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, sans-serif; background-color: var(--bg-color); color: var(--text-main); -webkit-tap-highlight-color: transparent; }
.app-container { max-width: 500px; margin: 0 auto; padding: 20px; min-height: 100vh; display: flex; flex-direction: column; }
.header { display: flex; align-items: center; margin-bottom: 24px; }
.logo-container { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-green); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-right: 12px; }
h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.screen { display: none; animation: fadeIn 0.3s ease-out; flex-direction: column; flex-grow: 1; }
.screen.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-btn { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 600; cursor: pointer; transition: 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.card-btn:active { transform: scale(0.96); }
.card-btn .icon { font-size: 2rem; margin-bottom: 8px; }
.card-btn.full-width { grid-column: span 2; flex-direction: row; padding: 12px; }
.card-btn.full-width .icon { margin-bottom: 0; margin-right: 12px; font-size: 1.4rem; }
.btn-primary { background: var(--primary-green); color: white; border: none; border-radius: 12px; padding: 14px 20px; font-weight: 600; cursor: pointer; transition: 0.2s; width: 100%; }
.btn-primary:active { transform: scale(0.96); }
.btn-primary.large { padding: 18px; font-size: 1.1rem; border-radius: 16px; }
.btn-back { background: none; border: none; color: var(--text-muted); font-size: 1rem; cursor: pointer; text-align: left; margin-bottom: 16px; padding: 8px 0; width: max-content;}
.box { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.tabs { display: flex; background: #f3f4f6; border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.tab { flex: 1; padding: 10px; border: none; background: none; border-radius: 8px; font-weight: 600; color: var(--text-muted); transition: 0.2s; }
.tab.active { background: white; color: var(--text-main); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.security-check { font-size: 0.75rem; color: #059669; text-align: center; margin-top: 12px; }
.text-center { text-align: center; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; }
.warning-icon { font-size: 3rem; background: #fffbeb; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 16px; }
.link-input { width: 100%; padding: 12px; background: #f3f4f6; border: 1px dashed var(--border); border-radius: 8px; color: var(--text-muted); text-align: center; margin-bottom: 8px; font-family: monospace; }
.qr-container { display: flex; justify-content: center; padding: 16px; background: white; border-radius: 12px; border: 1px solid var(--border); }
