* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, Segoe UI, Roboto, sans-serif; background: #0B0D10; color: #EAEAEA; }

.login-page { display: flex; align-items: center; justify-content: center; height: 100vh; }
.login-box { background: #16191E; padding: 40px; border-radius: 12px; width: 320px; }
.login-box h1 { margin-bottom: 20px; text-align: center; }
.login-box label { display: block; margin-top: 12px; font-size: 13px; color: #9AA0A6; }
.login-box input { width: 100%; padding: 10px; margin-top: 4px; border-radius: 6px; border: 1px solid #333; background: #0B0D10; color: #fff; }
.login-box button { width: 100%; margin-top: 20px; padding: 10px; border-radius: 6px; border: none; background: #2D6CDF; color: #fff; font-weight: 600; cursor: pointer; }
.erro { color: #ff6b6b; margin-bottom: 10px; font-size: 14px; }

.topbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: #16191E; }
.topbar .logo a { color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.topbar .usuario { font-size: 14px; color: #9AA0A6; }
.topbar .usuario a { color: #2D6CDF; }

.conteudo { padding: 24px; max-width: 900px; margin: 0 auto; }

.cards-frota { display: flex; gap: 16px; margin-bottom: 24px; }
.card { background: #16191E; border-radius: 10px; padding: 20px; flex: 1; text-align: center; }
.card .numero { display: block; font-size: 28px; font-weight: 700; }
.card .numero.online { color: #4CAF50; }
.card .numero.offline { color: #ff6b6b; }
.card .numero.manutencao { color: #f0ad4e; }
.card .label { font-size: 12px; color: #9AA0A6; }

.painel-faturamento { background: #16191E; border-radius: 10px; padding: 24px; margin-bottom: 24px; }
.painel-faturamento .valor-grande { font-size: 36px; font-weight: 700; margin: 8px 0; }

.atalhos { display: flex; gap: 12px; }
.atalhos a { background: #16191E; padding: 12px 20px; border-radius: 8px; color: #fff; text-decoration: none; }

.tabela { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.tabela th, .tabela td { text-align: left; padding: 10px; border-bottom: 1px solid #262a30; font-size: 14px; }
.tabela th { color: #9AA0A6; font-weight: 500; }

.form-cadastro { background: #16191E; padding: 20px; border-radius: 10px; max-width: 400px; }
.form-cadastro label { display: block; margin-top: 12px; font-size: 13px; color: #9AA0A6; }
.form-cadastro input { width: 100%; padding: 10px; margin-top: 4px; border-radius: 6px; border: 1px solid #333; background: #0B0D10; color: #fff; }
.form-cadastro button { margin-top: 16px; padding: 10px 20px; border-radius: 6px; border: none; background: #2D6CDF; color: #fff; font-weight: 600; cursor: pointer; }

.aviso { background: #1c2a1c; color: #8ee08e; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }

.filtros-periodo { display: flex; gap: 8px; margin-bottom: 20px; }
.filtros-periodo a { padding: 8px 16px; border-radius: 20px; background: #16191E; color: #9AA0A6; text-decoration: none; font-size: 13px; }
.filtros-periodo a.ativo { background: #2D6CDF; color: #fff; }
