/* Estilos para el dashboard de referidos dentro de la página Mi Cuenta */
.woocommerce-MyAccount-content .dashboard-container {
  width: 100% !important;
  margin: 20px auto;
  padding: 25px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.woocommerce-MyAccount-content .dashboard-header {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.woocommerce-MyAccount-content .dashboard-info {
  flex: 1;
  min-width: 300px;
  /* Puedes ajustar márgenes o padding si es necesario */
}

.woocommerce-MyAccount-content .dashboard-info h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #0073aa;
}

.woocommerce-MyAccount-content .dashboard-info p {
  font-size: 16px;
  color: #333;
  margin: 5px 0;
}

.woocommerce-MyAccount-content .dashboard-image {
  width: 300px;
  text-align: right;
  align-self: flex-start;
}

.woocommerce-MyAccount-content .dashboard-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #0073aa;
}

.woocommerce-MyAccount-content .dashboard-progress {
  margin-top: 15px;
}

.woocommerce-MyAccount-content .dashboard-progress p {
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

.woocommerce-MyAccount-content .progress-bar {
  background: #e5e5e5;
  border-radius: 5px;
  overflow: hidden;
  height: 15px;
}

.woocommerce-MyAccount-content .progress-fill {
  background: #0073aa;
  height: 100%;
  width: 0%;
  transition: width 0.5s ease-in-out;
}

.woocommerce-MyAccount-content .dashboard-footer {
  margin-top: 15px;
  text-align: right;
}

.woocommerce-MyAccount-content .btn-myaccount {
  display: inline-block;
  background-color: #0073aa;
  color: #fff;
  padding: 12px 30px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.woocommerce-MyAccount-content .btn-myaccount:hover {
  background-color: #005f8e;
  transform: translateY(-2px);
}

/* Sección de gráfico y filtros */
.woocommerce-MyAccount-content .dashboard-chart-section {
  margin-bottom: 30px;
}

.woocommerce-MyAccount-content .chart-filters {
  text-align: center;
  margin-bottom: 15px;
}

.woocommerce-MyAccount-content .chart-filters .filter-btn {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.woocommerce-MyAccount-content .chart-filters .filter-btn:hover {
  background: #005f8e;
}

.woocommerce-MyAccount-content .chart-container {
  position: relative;
  height: 400px;
  margin: 0 auto;
  max-width: 1000px;
}

/* Sección de Información de Cobro */
.woocommerce-MyAccount-content .dashboard-payment {
  margin-top: 20px;
  padding: 15px;
  background: #f1f1f1;
  border-radius: 5px;
  text-align: left;
}

.woocommerce-MyAccount-content .dashboard-payment h3 {
  margin-bottom: 15px;
  color: #333;
  font-size: 22px;
}

.woocommerce-MyAccount-content .dashboard-payment p {
  font-size: 16px;
  margin: 5px 0;
  color: #0073aa;
}

.woocommerce-MyAccount-content .dashboard-payment a {
  color: #0073aa;
  text-decoration: underline;
}

/* Estilos para las pestañas del dashboard */
.woocommerce-MyAccount-content .dashboard-tabs {
  margin-top: 20px;
}

.woocommerce-MyAccount-content .tabs-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  border-bottom: 2px solid #e5e5e5;
}

.woocommerce-MyAccount-content .tabs-nav li {
  padding: 10px 20px;
  cursor: pointer;
  background: #f8f8f8;
  margin-right: 2px;
  transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-content .tabs-nav li.active {
  background: #0073aa;
  color: #fff;
}

.woocommerce-MyAccount-content .tabs-nav li:hover {
  background: #005f8e;
  color: #fff;
}

.woocommerce-MyAccount-content .tabs-content {
  padding: 20px 0;
}

.woocommerce-MyAccount-content .tab-pane {
  display: none;
}

.woocommerce-MyAccount-content .tab-pane.active {
  display: block;
}

/* Media queries para dispositivos móviles */
@media screen and (max-width: 768px) {
  .woocommerce-MyAccount-content .dashboard-header {
      flex-direction: column;
      align-items: center;
  }
  .woocommerce-MyAccount-content .dashboard-info {
      padding-right: 0;
      text-align: center;
      margin-bottom: 20px;
  }
  .woocommerce-MyAccount-content .dashboard-image {
      width: auto;
      text-align: center;
  }
}
.referral-link-section {
  margin-bottom: 20px;
  padding: 10px;
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  text-align: center;
}

.referral-link-section p {
  font-size: 16px;
  margin-bottom: 10px;
}

.referral-link-section input {
  width: 80%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
}

.referral-link-section button {
  padding: 8px 16px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.referral-link-section button:hover {
  background-color: #005f8e;
}

.dashboard-banner {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  text-align: center;
}

.dashboard-banner img {
  max-width: 300px;
  max-height: 500px;
  margin-bottom: 15px;
}

.dashboard-info-text {
  font-size: 16px;
  color: #333;
}





  