:root {
  --bg: #f4f8f5;
  --purple: #2f8f5b;
  --purple2: #1f5f3d;
  --green: #2f8f5b;
  --green2: #0d8f4f;
  --red: #ef4444;
  --txt: #16231b;
  --muted: #61706a;
  --border: #dcece2;
  --soft: #ecfff4;
  --gold: #f5c542;
  --darkgreen: #063f27
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh
}

a {
  color: inherit
}

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 35px rgba(4, 82, 42, .10)
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px
}

.brand {
  font-size: 26px;
  font-weight: 900;
  color: var(--purple)
}

.nav a,
.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--purple);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  margin: 3px;
  box-shadow: 0 8px 18px rgba(15, 143, 79, .18)
}

.btn.green {
  background: var(--green);
  color: #fff
}

.btn.red {
  background: var(--red);
  color: #fff
}

.btn.dark {
  background: #e6f8ed;
  color: var(--purple2);
  box-shadow: none;
  border: 1px solid var(--border)
}

input,
select,
textarea {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--txt);
  margin: 1px 0 1px;
  font-size: 16px
}

textarea {
  min-height: 96px;
  resize: vertical
}

label {
  font-weight: 800;
  color: var(--purple2)
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left
}

th {
  color: var(--purple)
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px
}

.alert {
  padding: 13px;
  border-radius: 12px;
  margin: 12px 0;
  background: #fff7da;
  border: 1px solid #f6dc83
}

.ok {
  background: #eafff3;
  border-color: #97eabd
}

.bad {
  background: #fff1f1;
  border-color: #ffb7b7
}

.login {
  max-width: 420px;
  margin: 8vh auto
}

.center {
  text-align: center
}

.muted {
  color: var(--muted)
}

.bingo-shell {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
  align-items: start
}

.draw-panel {
  position: sticky;
  top: 14px
}

.last-ball {
  font-size: 118px;
  font-weight: 900;
  background: var(--purple);
  color: #fff;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 18px;
  box-shadow: 0 18px 38px rgba(15, 143, 79, .30);
  border: 10px solid #e6f8ed
}

.draw-input {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  height: 76px
}

.mini-history {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px
}

.history-ball,
.ball,
.card-num {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900
}

.history-ball {
  width: 38px;
  height: 38px;
  background: #e6f8ed;
  color: var(--purple)
}

.history-ball.drawn {
  background: #1f7a43;
  color: #fff
}

.bingo-board {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  margin-top: 18px
}

.ball {
  aspect-ratio: 1;
  background: #e6f8ed;
  color: var(--purple);
  border: 1px solid #bce9ce;
  font-size: 18px
}

.ball.drawn {
  background: #1f7a43;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(25, 184, 106, .13)
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px
}

.bingo-card {
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  background: #fff
}

.bingo-card.winner {
  border-color: var(--green);
  box-shadow: 0 0 0 5px rgba(25, 184, 106, .14)
}

.card-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-weight: 900;
  color: var(--purple);
  margin-bottom: 10px
}

.numbers-card {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px
}

.card-num {
  height: 42px;
  background: #e9f9ef;
  color: var(--purple);
  border: 1px solid #cbeed8
}

.card-num.marked {
  background: #1f7a43;
  color: #fff;
  border-color: var(--green2)
}

.winner-badge {
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900
}

.danger-link {
  background: none;
  border: 0;
  color: var(--red);
  font-weight: 800;
  cursor: pointer
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

@media(max-width:900px) {
  .bingo-shell {
    grid-template-columns: 1fr
  }

  .draw-panel {
    position: static
  }

  .last-ball {
    width: 170px;
    height: 170px;
    font-size: 86px
  }

  .bingo-board {
    grid-template-columns: repeat(5, 1fr)
  }

  .header {
    display: block
  }

  .nav {
    margin-top: 12px
  }

  .two-col {
    grid-template-columns: 1fr
  }
}

/* TELA CLÁSSICA DO SORTEADOR */
.bingo-screen {
  margin: 0;
  background: #eeeeee;
  color: #000;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: auto
}

.classic-app {
  width: 1415px;
  min-height: 768px;
  margin: 0 auto;
  background: #eeeeee
}

.top-menu {
  height: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 7px;
  font-size: 13px;
  background: #fff
}

.top-menu a,
.top-menu button {
  border: 0;
  background: none;
  color: #000;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0
}

.classic-stage {
  padding: 8px 13px 10px
}

.balls-area {
  display: grid;
  grid-template-columns: repeat(15, 76px);
  grid-auto-rows: 76px;
  gap: 11px 13px;
  align-items: center
}

.classic-number-ball {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: center;
  font-family: Arial Black, Impact, Arial, sans-serif;
  font-size: 40px;
  line-height: 76px;
  font-weight: 900;
  color: #000;
  background: #f4f4f4;
  box-shadow: inset 9px 9px 15px rgba(255, 255, 255, .88), inset -10px -12px 14px rgba(0, 0, 0, .25), 0 1px 1px rgba(0, 0, 0, .25);
  text-shadow: 1px 1px 0 #777
}

.classic-number-ball.marked {
  background: #1f7a43;
  color: #fff;
  text-shadow: 0 2px 2px rgba(0, 0, 0, .45)
}

.lower-area {
  display: grid;
  grid-template-columns: 831px 420px;
  gap: 60px;
  margin-top: 14px
}

.stats-area {
  display: grid;
  grid-template-columns: 154px 154px 154px 154px 154px;
  gap: 15px
}

.stat-tile span {
  display: block;
  color: #00008b;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 1px
}

.stat-tile strong {
  display: block;
  height: 162px;
  border: 1px solid #999;
  background: #fffef2;
  font-family: Arial Black, Impact, Arial, sans-serif;
  font-size: 95px;
  line-height: 154px;
  text-align: center;
  color: #000
}

.stat-tile.prize strong {
  color: red
}

.side-area {
  display: grid;
  grid-template-columns: 207px 190px;
  gap: 22px;
  align-items: start
}

.contestants-box {
  width: 207px
}

.contestants-table {
  width: 207px;
  height: 205px;
  border-collapse: collapse;
  background: #fff;
  font-size: 11px;
  table-layout: fixed
}

.contestants-table th,
.contestants-table td {
  border: 1px solid #999;
  padding: 2px 4px;
  text-align: left;
  height: 18px;
  line-height: 13px;
  overflow: hidden;
  white-space: nowrap
}

.contestants-table th {
  background: #f3f3f3;
  color: #000;
  font-weight: 400
}

.contestants-table tbody {
  display: block;
  height: 184px;
  overflow: auto
}

.contestants-table thead,
.contestants-table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed
}

.contestants-table tbody tr:first-child td {
  background: #fffed7
}

.contestants-table .winner-row td,
.winner-row td {
  background: #dfffe8 !important;
  color: #056b26;
  font-weight: 700
}

.check-line {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #000;
  font-weight: 400
}

.check-line input {
  width: auto;
  margin: 0 4px 0 0
}

.draw-box {
  width: 190px;
  text-align: center
}

.draw-box select {
  width: 185px;
  height: 20px;
  font-size: 11px;
  margin: 0 0 7px;
  border: 1px solid #777;
  background: #fff;
  padding: 0
}

.big-draw-circle {
  width: 178px;
  height: 178px;
  border: 1px solid #000;
  border-radius: 50%;
  background: #f7f7f7;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center
}

.big-draw-circle input {
  width: 125px;
  height: 135px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: Arial Black, Impact, Arial, sans-serif;
  font-size: 92px;
  outline: none;
  padding: 0;
  margin: 0
}

.big-draw-circle input::-webkit-outer-spin-button,
.big-draw-circle input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0
}

.draw-label {
  display: block;
  margin: 0 auto;
  border: 0;
  background: transparent;
  color: #00008b;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  padding: 0
}

.called-line {
  margin-top: 12px
}

.called-line b {
  display: block;
  color: red;
  font-size: 12px;
  line-height: 16px
}

.called-line div {
  height: 20px;
  background: #fff;
  border: 1px solid #999;
  padding: 2px 6px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden
}

.manager-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 12px;
  background: #fff;
  padding: 14px;
  border-top: 2px solid #ddd
}

.manager-card {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 9px;
  padding: 13px
}

.manager-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1f5f3d
}

.manager-card p {
  margin: 4px 0 10px;
  color: #333
}

.manager-card input,
.manager-card textarea {
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 7px;
  padding: 10px;
  margin: 0 0 8px;
  font-size: 14px;
  background: #fff
}

.manager-card textarea {
  min-height: 78px
}

.manager-card button,
.form-grid button {
  border: 0;
  border-radius: 8px;
  background: #2f8f5b;
  color: #fff;
  font-weight: 800;
  padding: 10px 13px;
  cursor: pointer
}

.manager-card button.danger {
  background: #dc2626
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px
}

.registered-list {
  max-height: 260px;
  overflow: auto;
  margin-top: 9px
}

.registered-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #ddd;
  padding: 7px 0
}

.registered-item.winner {
  background: #eaffef
}

.registered-item b {
  display: block
}

.registered-item small {
  display: block;
  color: #555;
  margin-top: 2px
}

.registered-item button {
  background: #b91c1c;
  padding: 6px 8px
}

.winner-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .42);
  align-items: center;
  justify-content: center;
  z-index: 50
}

.winner-modal>div {
  background: #fff;
  border: 5px solid #22c55e;
  border-radius: 20px;
  text-align: center;
  padding: 35px 50px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .35)
}

.winner-modal h1 {
  font-family: Arial Black, Arial, sans-serif;
  font-size: 70px;
  margin: 0;
  color: #16a34a
}

.winner-modal p {
  font-size: 20px;
  font-weight: bold
}

.winner-modal button {
  background: #2f8f5b;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer
}

.alert {
  margin: 6px 13px;
  padding: 8px 10px;
  border-radius: 6px
}

.alert.ok {
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #86efac
}

.alert.bad {
  background: #fee2e2;
  color: #7f1d1d;
  border: 1px solid #fca5a5
}

@media(max-width:1414px) {
  .classic-app {
    transform-origin: top left;
    transform: scale(calc(100vw / 1415));
    height: calc(768px * (100vw / 1415));
  }

  .manager-panel {
    transform-origin: top left
  }
}

@media print {

  .no-print,
  .manager-panel,
  .winner-modal {
    display: none !important
  }

  .bingo-screen {
    background: #fff
  }

  .classic-app {
    transform: none;
    width: 100%;
    height: auto
  }

  .classic-stage {
    padding: 0
  }

  .classic-number-ball {
    width: 65px;
    height: 65px;
    line-height: 65px;
    font-size: 34px
  }

  .balls-area {
    grid-template-columns: repeat(15, 65px);
    grid-auto-rows: 65px;
    gap: 7px
  }

  .stat-tile strong {
    height: 110px;
    line-height: 105px;
    font-size: 70px
  }
}


/* Melhorias de login e responsividade geral */
.login {
  max-width: 430px;
  margin: 0 auto !important;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  padding: 30px !important;
  border-radius: 24px !important;
  box-shadow: 0 22px 55px rgba(4, 82, 42, .14) !important
}

.login h2 {
  text-align: center;
  font-size: 28px;
  margin: 0 0 20px;
  color: var(--purple2)
}

body:has(.login),
body.login-page {
  min-height: 100vh;
  background: #fff;
  display: block
}

.login .btn {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px
}

.login input {
  height: 48px
}

@media(max-width:700px) {
  .wrap {
    padding: 12px
  }

  .card {
    padding: 16px;
    border-radius: 16px
  }

  .header {
    display: block
  }

  .nav a,
  .btn {
    width: 100%;
    text-align: center;
    margin: 4px 0
  }

  .grid,
  .two-col {
    grid-template-columns: 1fr !important
  }

  .login {
    top: auto;
    transform: none;
    margin: 7vh 14px !important;
    max-width: none
  }

  .brand {
    font-size: 22px
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap
  }
}


/* PRO VISUAL - tema verde jogo */
body {
  letter-spacing: -.01em
}

.card,
.seller-card,
.manager-card {
  border-radius: 20px !important;
  box-shadow: 0 14px 40px rgba(4, 82, 42, .08) !important;
  border: 1px solid var(--border) !important
}

.btn,
button {
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
  font-weight: 800 !important;
  transition: .18s ease;
  letter-spacing: 0
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
  filter: brightness(.96)
}

.nav a,
.btn {
  background: #2f8f5b !important;
  box-shadow: 0 10px 24px rgba(15, 143, 79, .20) !important
}

.btn.dark {
  background: #eaf8ef !important;
  color: #1f5f3d !important;
  box-shadow: none !important
}

.btn.red,
.danger {
  background: #dc2626 !important;
  color: #fff !important
}

.brand,
h1,
h2,
label,
th {
  color: #1f5f3d !important
}

input,
select,
textarea {
  border-color: #cfe8d8 !important;
  outline: none;
  transition: .18s ease
}

input:focus,
select:focus,
textarea:focus {
  border-color: #2f8f5b !important;
  box-shadow: 0 0 0 4px rgba(25, 184, 106, .13) !important
}

.alert.ok,
.ok {
  background: #e9fff2 !important;
  border-color: #90e6b3 !important;
  color: #075f25 !important
}

.alert.bad,
.bad {
  background: #fff0f0 !important;
  border-color: #f2a5a5 !important;
  color: #8a1111 !important
}

.winner-modal button,
.manager-card button,
.form-grid button {
  background: #2f8f5b !important
}

@media(max-width:700px) {

  .btn,
  button {
    min-height: 44px
  }

  .card,
  .seller-card {
    border-radius: 18px !important
  }
}

/* Ajuste solicitado: bolinhas verdes mais escuras e botões mais legíveis */
.classic-number-ball.marked {
  background: #1f7a43 !important;
  color: #fff !important
}

.ball.drawn,
.history-ball.drawn,
.card-num.marked {
  background: #1f7a43 !important;
  color: #fff !important;
  border-color: #185f35 !important
}

.btn,
button,
input[type=button],
input[type=submit] {
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important
}


/* CORREÇÃO FINAL - paleta verde composta sem gradiente e fonte limpa */
:root {
  --bg: #f5f9f6;
  --purple: #23734a;
  --purple2: #1f5f3d;
  --green: #2f8f5b;
  --green2: #247247;
  --red: #dc3545;
  --txt: #173322;
  --muted: #64766d;
  --border: #d8e8de;
  --soft: #eef7f1;
  --gold: #e7b93f;
  --darkgreen: #174b31;
}

html,
body {
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
  background: var(--bg);
  color: var(--txt)
}

button,
.btn,
.nav a,
input[type=button],
input[type=submit],
.manager-card button,
.form-grid button,
.winner-modal button {
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  background: #2f8f5b !important;
  color: #fff !important;
  border: 1px solid #2f8f5b !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(47, 143, 91, .16) !important;
  text-decoration: none !important;
}

button:hover,
.btn:hover,
.nav a:hover {
  background: #26794c !important;
  border-color: #26794c !important;
  filter: none !important;
  transform: none !important
}

.btn.dark,
.nav a.btn.dark {
  background: #edf6f0 !important;
  color: #1f5f3d !important;
  border-color: #cfe3d6 !important;
  box-shadow: none !important
}

.btn.green {
  background: #2f8f5b !important
}

.btn.red,
.danger,
.btn.danger {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #fff !important
}

.brand,
h1,
h2,
label,
th {
  color: #1f5f3d !important
}

th {
  background: #1f5f3d !important;
  color: #fff !important
}

.card {
  border-color: #d8e8de !important;
  box-shadow: 0 12px 34px rgba(23, 75, 49, .08) !important
}

input,
select,
textarea {
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
  border-color: #cfe3d6 !important;
  background: #fff !important;
  color: #173322 !important
}

input:focus,
select:focus,
textarea:focus {
  border-color: #2f8f5b !important;
  box-shadow: 0 0 0 4px rgba(47, 143, 91, .13) !important
}

.login-page {
  min-height: 100vh !important;
  background: #f5f9f6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important
}

.login-page .login.card,
.login-page .login {
  width: min(430px, 100%) !important;
  max-width: 430px !important;
  margin: 0 !important;
  top: auto !important;
  transform: none !important;
  background: #fff !important;
  border: 1px solid #d8e8de !important;
  border-radius: 22px !important;
  padding: 30px !important;
  box-shadow: 0 18px 45px rgba(23, 75, 49, .10) !important;
  display: block !important;
}

.login-page .login h2 {
  font-size: 27px !important;
  text-align: center !important;
  color: #1f5f3d !important;
  margin: 0 0 22px !important
}

.login-page .login form {
  display: block !important;
  width: 100% !important
}

.login-page .login label {
  display: block !important;
  margin: 0 0 6px !important;
  color: #1f5f3d !important;
  font-size: 14px !important;
  font-weight: 700 !important
}

.login-page .login input {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  margin: 0 0 16px !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
  border-radius: 12px !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important
}

.login-page .login .btn {
  width: 100% !important;
  height: 50px !important;
  font-size: 16px !important;
  margin-top: 4px !important
}

.menu-fab {
  background: #1f5f3d !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(31, 95, 61, .20) !important
}

.side-menu {
  background: #fff !important;
  border-right: 1px solid #d8e8de !important;
  box-shadow: 12px 0 35px rgba(23, 75, 49, .12) !important
}

.side-menu-title {
  color: #1f5f3d !important
}

.side-menu .side-menu-action {
  width: 100%;
  margin: 0;
  padding: 0
}

.side-menu .side-menu-action > button {
  justify-content: flex-start !important;
  text-align: left !important
}

.side-menu a,
.side-menu button {
  background: #edf6f0 !important;
  color: #1f5f3d !important;
  border: 1px solid #cfe3d6 !important;
  box-shadow: none !important;
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
  font-weight: 700 !important
}

.side-menu a:hover,
.side-menu button:hover {
  background: #dfeee5 !important;
  color: #174b31 !important
}

.side-menu .danger,
.side-menu a.danger,
.side-menu button.danger {
  background: #fff1f1 !important;
  color: #a51616 !important;
  border-color: #ffd1d1 !important
}

/* bolinhas mais escuras e legíveis */
.classic-number-ball.marked {
  background: #1f7a43 !important;
  color: #fff !important;
  text-shadow: 0 2px 2px rgba(0, 0, 0, .42) !important;
  box-shadow: inset 7px 7px 12px rgba(255, 255, 255, .28), inset -10px -12px 14px rgba(0, 0, 0, .25), 0 2px 3px rgba(0, 0, 0, .22) !important
}

.ball.drawn,
.history-ball.drawn,
.card-num.marked {
  background: #1f7a43 !important;
  color: #fff !important;
  border-color: #185f35 !important
}

/* =========================================================
   PADRÃO PRO CLEAN - menus, botões, cards e paleta global
   Mantém a lógica original; altera apenas apresentação visual.
   ========================================================= */
:root {
  --pro-bg: #f3f8f5;
  --pro-surface: #ffffff;
  --pro-surface-2: #eef7f1;
  --pro-primary: #247a4a;
  --pro-primary-dark: #145a35;
  --pro-primary-soft: #dff2e7;
  --pro-border: #d5e6dc;
  --pro-text: #14241b;
  --pro-muted: #66766d;
  --pro-danger: #c73535;
  --pro-shadow: 0 14px 36px rgba(20, 90, 53, .10);
}

html,
body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  background: var(--pro-bg);
  color: var(--pro-text)
}

a {
  text-decoration: none
}

.wrap,
.client-wrap,
.seller-wrap {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto
}

.has-side-menu .wrap,
.has-side-menu .client-wrap,
.has-side-menu .seller-wrap {
  padding-top: 78px !important
}

.card,
.seller-card,
.hero-card,
.quick-card,
.report,
.finance-app {
  border-color: var(--pro-border) !important;
  box-shadow: var(--pro-shadow) !important
}

.brand,
h1,
h2,
.client-brand h1,
.seller-card h2 {
  color: var(--pro-primary-dark) !important
}

.muted,
.muted-small {
  color: var(--pro-muted) !important
}

button,
.btn,
.actions .btn,
.finance-actions a,
.manager-card button,
.form-grid button {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  border-radius: 12px !important
}

.btn,
button[type=submit],
button.btn,
.actions .btn {
  background: var(--pro-primary) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 8px 18px rgba(36, 122, 74, .14) !important
}

.btn:hover,
button[type=submit]:hover,
button.btn:hover {
  background: var(--pro-primary-dark) !important
}

.btn.dark,
.btn.light,
.logout-btn,
.finance-actions a {
  background: var(--pro-primary-soft) !important;
  color: var(--pro-primary-dark) !important;
  border: 1px solid var(--pro-border) !important;
  box-shadow: none !important
}

.btn.red,
.danger,
.btn-remove {
  background: var(--pro-danger) !important;
  color: #fff !important
}

.btn.green,
.btn-add,
.purple {
  background: var(--pro-primary) !important;
  color: #fff !important
}

input,
select,
textarea {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  border-color: var(--pro-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--pro-text) !important
}

input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  border-color: var(--pro-primary) !important;
  box-shadow: 0 0 0 4px rgba(36, 122, 74, .12) !important
}

label {
  color: var(--pro-primary-dark) !important
}

/* Menu suspenso padrão */
.menu-fab {
  position: fixed !important;
  left: 16px !important;
  top: 16px !important;
  z-index: 10001 !important;
  width: 48px !important;
  height: 48px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--pro-primary-dark) !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 28px rgba(20, 90, 53, .24) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important
}

.menu-fab:hover {
  background: var(--pro-primary) !important
}

.side-menu {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 250px !important;
  background: #fff !important;
  border-right: 1px solid var(--pro-border) !important;
  box-shadow: 18px 0 50px rgba(16, 40, 25, .18) !important;
  z-index: 10000 !important;
  padding: 82px 14px 16px !important;
  transform: translateX(-280px) !important;
  transition: transform .22s ease !important
}

.side-menu.open {
  transform: translateX(0) !important
}

.side-menu-title {
  font-weight: 900 !important;
  color: var(--pro-primary-dark) !important;
  margin: 0 0 14px !important;
  font-size: 18px !important;
  line-height: 1.1 !important
}

.side-menu a,
.side-menu button {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 0 9px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--pro-border) !important;
  border-radius: 13px !important;
  background: var(--pro-surface-2) !important;
  color: var(--pro-primary-dark) !important;
  text-align: left !important;
  text-decoration: none !important;
  font: 800 14px Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  cursor: pointer !important;
  box-shadow: none !important
}

.side-menu a:hover,
.side-menu button:hover {
  background: var(--pro-primary-soft) !important;
  border-color: #b9ddc8 !important
}

.side-menu a.danger,
.side-menu button.danger {
  background: #fff2f2 !important;
  color: #a52626 !important;
  border-color: #f1cccc !important
}

.side-menu a.active {
  background: var(--pro-primary) !important;
  color: #fff !important;
  border-color: var(--pro-primary) !important
}

.has-side-menu .header .nav,
.has-side-menu .client-top .logout-btn,
.has-side-menu .seller-head>div:last-child {
  display: none !important
}

/* BOLINHAS COM VERDE MAIS ESCURO E LEGÍVEL */
.classic-number-ball.marked,
.ball,
.history-ball.drawn,
.card-num.marked {
  background: #17643b !important;
  color: #fff !important;
  border-color: #0f4b2b !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35) !important
}

.classic-number-ball {
  color: #12301f !important
}

.big-draw-circle {
  border-color: #145a35 !important
}

.draw-label {
  color: #145a35 !important
}

.metric strong,
.seller-total,
.seller-money {
  color: var(--pro-primary-dark) !important
}

th {
  background: var(--pro-primary-dark) !important;
  color: #fff !important
}

@media(max-width:760px) {
  .side-menu {
    width: 82vw !important;
    transform: translateX(-86vw) !important
  }

  .menu-fab {
    left: 12px !important;
    top: 12px !important
  }

  .has-side-menu .wrap,
  .has-side-menu .client-wrap,
  .has-side-menu .seller-wrap {
    padding-top: 72px !important
  }

  table {
    font-size: 14px
  }
}

@media print {

  .menu-fab,
  .side-menu {
    display: none !important
  }
}


/* =========================================================
   MENU ÚNICO - PADRÃO DO CLIENTE/DASHBOARD
   Aplicado em todas as páginas com .has-side-menu.
   Mantém a lógica; altera apenas a apresentação do menu.
   ========================================================= */
body.has-side-menu {
  background: #eeeeee !important;
}

.menu-fab {
  position: fixed !important;
  left: 14px !important;
  top: 16px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #22a463 !important;
  border: 1px solid #dcebe2 !important;
  box-shadow: 0 10px 26px rgba(20, 40, 28, .10) !important;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 25px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  z-index: 10001 !important;
}

.menu-fab:hover {
  background: #f7fbf8 !important;
  color: #1b8e54 !important;
  border-color: #cfe3d6 !important;
}

.side-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 240px !important;
  background: #fff !important;
  border-right: 1px solid #dcebe2 !important;
  box-shadow: 18px 0 45px rgba(20, 40, 28, .10) !important;
  padding: 76px 12px 18px !important;
  z-index: 10000 !important;
  transform: translateX(-250px) !important;
  transition: transform .22s ease !important;
}

.side-menu.open {
  transform: translateX(0) !important;
}

.side-menu-title {
  color: #10243a !important;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

.side-menu a,
.side-menu button {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 0 10px !important;
  padding: 10px 13px !important;
  background: #fff !important;
  color: #10243a !important;
  border: 1px solid #d7e6dc !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-align: left !important;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: -.01em !important;
  cursor: pointer !important;
}

.side-menu a:hover,
.side-menu button:hover {
  background: #f6fbf8 !important;
  border-color: #bcdcc9 !important;
  color: #0f5132 !important;
}

.side-menu a.active,
.side-menu button.active {
  background: #28a866 !important;
  color: #fff !important;
  border-color: #28a866 !important;
  box-shadow: none !important;
}

.side-menu a.danger,
.side-menu button.danger {
  background: #fff !important;
  color: #c02020 !important;
  border-color: #ffc9c9 !important;
}

.side-menu a.danger:hover,
.side-menu button.danger:hover {
  background: #fff7f7 !important;
  color: #a51616 !important;
}

.has-side-menu .wrap,
.has-side-menu .client-wrap,
.has-side-menu .seller-wrap {
  padding-top: 76px !important;
}

@media(max-width:760px) {
  .side-menu {
    width: 240px !important;
    max-width: 82vw !important;
    transform: translateX(-260px) !important;
  }

  .side-menu.open {
    transform: translateX(0) !important;
  }

  .menu-fab {
    left: 14px !important;
    top: 16px !important;
    width: 42px !important;
    height: 42px !important;
  }
}

@media print {

  .menu-fab,
  .side-menu {
    display: none !important;
  }
}
