@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, system-ui, sans-serif; background: #09090b; background-image: radial-gradient(circle at 50% -20%, #1e1b4b 0%, #09090b 60%); color: #e4e4e7; min-height: 100vh; padding: 20px; -webkit-font-smoothing: antialiased; }
.container { max-width: 1100px; margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #27272a; flex-wrap: wrap; }
.logo { height: 44px; }
h1, h2, h3 { color: #fafafa; margin-bottom: 12px; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: 22px; } h2 { font-size: 18px; } h3 { font-size: 16px; }
.card { background: rgba(24, 24, 27, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; padding: 24px; margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
input, select, button, textarea { font: inherit; padding: 12px 16px; border-radius: 10px; border: 1px solid #3f3f46; background: #18181b; color: #fafafa; width: 100%; margin-bottom: 12px; transition: all 0.2s; }
input:focus, select:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2); }
button { cursor: pointer; background: linear-gradient(135deg, #6366f1, #4f46e5); border: none; color: white; font-weight: 600; transition: transform 0.1s, filter 0.2s; box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2); }
button:hover { filter: brightness(1.1); transform: translateY(-1px); }
button:active { transform: translateY(1px); }
button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
button.secondary { background: #27272a; box-shadow: none; border: 1px solid #3f3f46; }
button.secondary:hover { background: #3f3f46; }
button.danger { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 2px 10px rgba(239, 68, 68, 0.2); }
button.success { background: linear-gradient(135deg, #10b981, #059669); font-size: 20px; padding: 24px; box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3); }
.tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; background: #18181b; padding: 6px; border-radius: 12px; border: 1px solid #27272a;}
.tabs button { width: auto; padding: 10px 20px; background: transparent; color: #a1a1aa; border: none; margin: 0; box-shadow: none; border-radius: 8px; }
.tabs button.active { background: #27272a; color: #fafafa; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.tabs button:hover:not(.active) { background: #27272a; color: #e4e4e7; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 12px; text-align: left; border-bottom: 1px solid #27272a; }
th { color: #a1a1aa; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 255, 255, 0.02); }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 140px; }
.status { padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status.on { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.status.off { background: rgba(161, 161, 170, 0.15); color: #a1a1aa; border: 1px solid rgba(161, 161, 170, 0.2); }
.badge { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge.warn { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.money { color: #34d399; font-weight: 600; }
.error { color: #f87171; padding: 12px; background: rgba(239, 68, 68, 0.1); border-radius: 8px; margin-bottom: 12px; border: 1px solid rgba(239, 68, 68, 0.2); }
.success-msg { color: #34d399; padding: 12px; background: rgba(16, 185, 129, 0.1); border-radius: 8px; margin-bottom: 12px; border: 1px solid rgba(16, 185, 129, 0.2); }
.hidden { display: none !important; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { text-align: center; padding: 20px; background: #18181b; border-radius: 12px; border: 1px solid #27272a; }
.stat .value { font-size: 28px; font-weight: 700; color: #fafafa; }
.stat .label { font-size: 13px; color: #a1a1aa; margin-top: 4px; font-weight: 500;}
.modal-ios { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.modal-box { background: #18181b; color: #e4e4e7; border-radius: 20px; padding: 28px; max-width: 360px; text-align: center; border: 1px solid #3f3f46; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.modal-box button { margin-top: 20px; }
.ponto-hora { font-size: 54px; font-weight: 700; text-align: center; margin: 16px 0; color: #fafafa; font-variant-numeric: tabular-nums; letter-spacing: -0.03em;}
.ponto-data { text-align: center; color: #a1a1aa; margin-bottom: 24px; font-size: 15px;}
#btnInstall { width: auto; display: none; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); box-shadow: none; color: white;}
@media (max-width: 768px) {
  body { padding: 12px; } .container { padding: 0; } .card { padding: 16px; border-radius: 12px; }
  header { flex-direction: column; text-align: center; justify-content: center; gap: 12px; } header .logo { margin: 0 auto; }
  .tabs { justify-content: center; } input, select, button { padding: 14px 16px; font-size: 16px; }
  .row { flex-direction: column; gap: 8px; } .row > * { min-width: 100%; }
  table { font-size: 12px; } th, td { padding: 8px 4px; }
  .ponto-hora { font-size: 42px; } .grid-2, .grid-3 { grid-template-columns: 1fr; } h1 { font-size: 20px; }
}