/* Estilos otimizados para o painel de informações de cota */
.select-winter-elune-daisy .essay-quota-info {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 15px;
  margin-bottom: 20px;
  font-family: "Mulish", sans-serif;
  border: 1px solid #eaeaea;
  position: relative;
  overflow: hidden;
  max-width: 500px;
  min-height: 180px;
  max-height: none;
}

.select-winter-elune-daisy .essay-quota-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 100%);
  z-index: -1;
}

.select-winter-elune-daisy .quota-compact-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.select-winter-elune-daisy .quota-header {
  margin-bottom: 12px;
  text-align: center;
  position: relative;
}

.select-winter-elune-daisy .quota-header h3 {
  color: #4285f4;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Mulish", sans-serif;
  position: relative;
  display: inline-block;
}

.select-winter-elune-daisy .quota-header h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-image: linear-gradient(90deg, #4285f4, #8d00ff);
  border-radius: 2px;
}

.select-winter-elune-daisy .quota-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.select-winter-elune-daisy .quota-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background-color: #f9f9f9;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 1 1 calc(50% - 10px);
  min-width: 120px;
}

.select-winter-elune-daisy .quota-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.select-winter-elune-daisy .quota-icon {
  width: 32px;
  height: 32px;
  background-color: rgba(66, 133, 244, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4285f4;
  flex-shrink: 0;
}

.select-winter-elune-daisy .quota-icon .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.select-winter-elune-daisy .quota-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.select-winter-elune-daisy .quota-label {
  font-size: 0.7rem;
  color: #666;
  font-family: "Mulish", sans-serif;
  margin-bottom: 2px;
}

.select-winter-elune-daisy .quota-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  font-family: "Mulish", sans-serif;
}

.select-winter-elune-daisy .quota-progress {
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 6px;
  margin-bottom: 10px;
  padding-bottom: 15px; /* Aumentar o padding inferior */
}

.select-winter-elune-daisy .quota-progress-bar {
  height: 6px;
  background-color: #eaeaea;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 5px;
}

.select-winter-elune-daisy .quota-progress-fill {
  height: 100%;
  background-image: linear-gradient(90deg, #4285f4, #8d00ff);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.select-winter-elune-daisy .quota-progress-text {
  font-size: 0.7rem;
  color: #666;
  text-align: right;
  font-family: "Mulish", sans-serif;
}

.select-winter-elune-daisy .quota-upgrade {
  padding: 10px;
  background-color: rgba(255, 76, 76, 0.1);
  border-radius: 6px;
  text-align: center;
  border-left: 2px solid #ff4c4c;
  margin-top: auto;
}

.select-winter-elune-daisy .quota-upgrade p {
  margin: 0 0 8px 0;
  color: #333;
  font-family: "Mulish", sans-serif;
  font-size: 0.8rem;
}

.select-winter-elune-daisy .quota-upgrade-btn {
  display: inline-block;
  padding: 6px 12px;
  background-image: linear-gradient(90deg, #4285f4, #8d00ff);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: "Mulish", sans-serif;
  border: none;
  cursor: pointer;
}

.select-winter-elune-daisy .quota-upgrade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  color: #fff;
}

/* Responsividade */
@media (max-width: 480px) {
  .select-winter-elune-daisy .essay-quota-info {
    padding: 12px;
  }

  .select-winter-elune-daisy .quota-header {
    margin-bottom: 8px;
  }

  .select-winter-elune-daisy .quota-content {
    flex-direction: column;
    margin-bottom: 8px;
    gap: 8px;
  }

  .select-winter-elune-daisy .quota-item {
    flex: 1 1 100%;
    padding: 6px 8px;
  }

  /* Aumentar a altura da barra de progresso em dispositivos móveis */
  .select-winter-elune-daisy .quota-progress {
    margin-top: 0;
    padding: 8px;
    padding-bottom: 12px;
  }

  /* Garantir que a barra de progresso seja visível */
  .select-winter-elune-daisy .quota-progress-bar {
    height: 10px; /* Barra ainda mais alta para melhor visibilidade */
    margin-bottom: 6px;
    background-color: #e0e0e0; /* Cor de fundo mais escura para melhor contraste */
  }

  /* Garantir que o texto da barra de progresso seja mais visível */
  .select-winter-elune-daisy .quota-progress-text {
    font-size: 0.85rem; /* Texto ligeiramente maior */
    font-weight: 600; /* Texto um pouco mais forte */
    color: #444;
    margin-top: 8px; /* Mais espaço acima do texto */
  }

  /* Garantir que o container de progresso tenha espaço suficiente */

  .select-winter-elune-daisy .quota-progress-fill {
    background-image: linear-gradient(90deg, #4285f4, #8d00ff);
    border-radius: 5px;
  }
}
