/* ==========================================================
   informacoes.css — Central de Informações (Abas de Ajuda)
   ========================================================== */

/* Barra de Abas */
.info-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.05);
  padding: 4px 6px;
  gap: 4px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Botão de Aba Individual */
.info-tab-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'LilitaOne', 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 9px 2px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  outline: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.info-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.info-tab-btn:active {
  transform: scale(0.97);
}

/* Estado Ativo do Botão de Aba */
.info-tab-btn--active {
  color: #ffcc00;
  background: rgba(255, 204, 0, 0.12);
  border: 1.5px solid rgba(255, 204, 0, 0.35);
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.08);
}

/* Seções de Aba */
.info-tab-section {
  display: flex;
  flex-direction: column;
}

.info-tab-section--hidden {
  display: none !important;
}

/* Caixas de Texto Didático e Regras */
.info-rule-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  box-sizing: border-box;
}

.info-rule-box__title {
  font-family: 'LilitaOne', 'Outfit', sans-serif;
  font-size: 13.5px;
  color: #ffcc00;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.info-rule-box__text {
  font-size: 11px;
  color: #ccc;
  line-height: 1.6;
  font-family: 'Outfit', sans-serif;
  margin: 0;
}

.info-rule-box__list {
  font-size: 11px;
  color: #ccc;
  line-height: 1.55;
  font-family: 'Outfit', sans-serif;
  margin: 0;
  padding-left: 18px;
}

.info-rule-box__list li {
  margin-bottom: 4px;
}

.info-rule-box__list strong {
  color: #fff;
}

/* Caixa de Avisos com Alta Visibilidade */
.info-warning-box {
  background: rgba(231, 76, 60, 0.06);
  border: 1.5px solid rgba(231, 76, 60, 0.25);
  border-left: 4px solid #e74c3c;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #ffb3b3;
  font-size: 11px;
  line-height: 1.55;
  font-family: monospace;
  text-align: left;
  box-sizing: border-box;
}

.info-warning-box__icon {
  font-size: 14px;
  flex-shrink: 0;
}

/* Grade de receitas do Laboratório */
.info-recipe-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Card de receita individual */
.info-recipe-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 8px 10px;
  box-sizing: border-box;
  gap: 4px;
  width: 100%;
}

.info-recipe-inputs {
  width: 52%; /* Fixed column width for inputs */
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap; /* Allows wrapping on tiny viewports */
}

.info-recipe-plus {
  font-size: 10px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.35);
  font-family: monospace;
}

.info-recipe-arrow {
  width: 8%; /* Fixed column width for arrow */
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  font-family: monospace;
}

.info-recipe-result {
  width: 40%; /* Fixed column width for result */
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-start;
}

/* Custom styles for type badges inside the recipes to keep them thin and fit */
.info-recipe-card .box-pk-type-badge {
  font-weight: 300 !important; /* Thin font (fonte fina) */
  font-family: 'Outfit', sans-serif !important;
  font-size: 7.2px !important; /* Smaller size to prevent overflow */
  padding: 2px 5px !important;
  gap: 3px !important;
  letter-spacing: 0.2px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.info-recipe-card .box-pk-type-badge img {
  width: 9px !important;
  height: 9px !important;
}

.info-recipe-egg-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.info-recipe-egg-name {
  font-size: 10.5px;
  font-weight: bold;
  color: #ffcc00;
  font-family: monospace;
}

/* Destaque para linhas de fraquezas quando clicadas */
.highlighted-type-card {
  border-color: #ffcc00 !important;
  background: rgba(255, 204, 0, 0.04) !important;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.1) !important;
}

/* Card de linha da tabela de efetividade */
.type-chart-row-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 12px 14px;
  box-sizing: border-box;
  transition: all 0.22s ease;
  cursor: pointer;
}

/* Texto de aviso destacado em vermelho */
.info-warning-text {
  color: #ff4a4a;
  font-weight: bold;
  display: block;
  margin-top: 4px;
}

/* Tabela de Custos Premium */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
}

.info-table th {
  background: rgba(255, 204, 0, 0.08);
  color: #ffcc00;
  font-family: 'LilitaOne', sans-serif;
  font-weight: normal;
  font-size: 11px;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-table td {
  padding: 8px 10px;
  color: #ccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-table__price {
  color: #ffcc00 !important;
  font-weight: 300 !important; /* Thin font */
  font-size: 11.5px;
  font-family: 'Outfit', sans-serif;
}

.info-table__price img.coin-img {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  vertical-align: middle;
  display: inline-block;
  margin-top: -2px;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Botão "i" de Informações no Lobby */
.btn-info-circle-lobby {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffcc00;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 0;
  margin: 0;
}

.btn-info-circle-lobby .material-icons {
  font-size: 16px;
  line-height: 1;
  display: block;
}

.btn-info-circle-lobby:hover {
  background: rgba(255, 204, 0, 0.15);
  border-color: rgba(255, 204, 0, 0.4);
  transform: scale(1.08);
}

.btn-info-circle-lobby:active {
  transform: scale(0.95);
}

