body {
  background-color: #3483eb;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.logo {
  display: block;
  margin: 0 auto 20px auto;
  width: 60%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

h1, h2 {
  text-align: center;
  color: #222;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 10px;
}

.tab-btn {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background: #f0f0f0;
  font-size: 16px;
}

.tab-btn.active {
  background: #3483eb;
  color: #fff;
}

.tab {
  display: none;
}

.tab.active {
  display: block;
}

.form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.form input, .form button {
  padding: 10px;
  font-size: 16px;
}

#lista {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

#lista li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f0f0;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

#lista label {
  flex: 1;
  margin-right: 10px;
}

#lista input[type="number"] {
  width: 80px;
  margin-right: 10px;
  padding: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#lista button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #d11a2a;
}

.export {
  background: #3483eb;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.export:hover {
  background-color: #2c6dc5;
}

/* ---------------- CONFIGURAÇÕES ---------------- */
.option-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.option-item label {
  flex: 1;
  font-weight: 500;
}

.option-item input {
  margin-right: 10px;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 150px;
}

.option-item input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin-left: 5px;
}

.option-item span {
  cursor: help;
  font-weight: bold;
  margin-left: 5px;
}
/* mantém o estilo base que você passou */
.option-item input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin-left: 5px;
}

.option-item span {
  cursor: help;
  font-weight: bold;
  margin-left: 5px;
}

/* inputs de texto e número */
.option-item input[type="text"],
.option-item input[type="number"] {
  margin-right: 10px;
  padding: 6px 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 150px;
}

/* checkbox customizado */
.custom-checkbox {
  width: 50px;
  height: 28px;
  background: #ccc;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox.active {
  background: #3483eb;
  color: white;
}

/* tooltip funcional */
.option-item .tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.option-item .tooltip .tooltiptext {
  visibility: hidden;
  width: max-content;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 5px 8px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* acima do ? */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.option-item .tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
