.download-plans-grid {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.plan-box {
  border: 1px solid #ccc;
  padding: 20px;
  flex: 1;
  border-radius: 8px;
}

.plan-item {
  margin-top: 10px;
}

.plan-form select {
  margin: 5px 0;
  width: 100%;
  padding: 5px;
}

.my-account {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #2a2a2a;
  border-top: hidden;
}

.my-account thead th {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #ced9fa;
  font-weight: normal;
  border-left: none;
  border-right: none;
  border-color: #ced9fa;
  background-color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #2a2a2a;
}

.my-account tbody td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  border-left: none;
  border-right: none;
  border-color: #ced9fa;
  background-color: #ffffff !important;
}

.view-button {
  display: inline-block;
  padding: 1px 18px;
  border: 1px solid #4361ee;
  color: #4361ee;
  background-color: transparent;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-basis: 100%;
  text-align: center;
}

.view-button:hover {
  background-color: #4361ee;
  color: white;
}

.view-button:hover,
.view-button:focus {
  background-color: #4361ee !important;
  color: white !important;
  outline: none;
  box-shadow: none;
}

.custom-pagination {
  margin-top: 20px;
  text-align: center;
}

.custom-pagination .page-link {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  text-decoration: none;
  color: #2a2a2a;
  font-weight: 500;
  transition: all 0.2s ease;
}

.custom-pagination .page-link:hover {
  background-color: #4361ee;
  color: white;
  border-color: #4361ee;
  cursor: pointer;
}

.custom-pagination .current {
  background-color: #4361ee;
  color: white;
  font-weight: bold;
  cursor: default;
}

.custom-pagination .dots {
  display: inline-block;
  padding: 6px 8px;
  color: #999;
}

.custom-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

.custom-modal-content {
  background: #fff;
  padding: 20px;
  max-width: 600px;
  margin: 100px auto;
  border-radius: 10px;
  position: relative;
}

.custom-modal-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.custom-modal-body {
  padding: 20px 70px;
  text-align: center;
}

.custom-modal-buttons {
  display: flex;
  gap: 10px;
}

.custom-modal-buttons button {
  flex: 1;
  padding: 10px;
  font-size: 16px;
}

.status-active {
  color: #1FC16B !important;
  font-weight: bold;
}

.status-inactive {
  color: #c1241f !important;
  font-weight: bold;
}

.plans-container {
  display: flex;
  gap: 40px;
  padding: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.plan-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  width: 460px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.plan-div {
  display: flex;
  gap: 20px;
}

.plan-div2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.plan-card h3 {
  color: var(--Button-Text-Neutral, #0E0E0E);
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 48px */
  letter-spacing: 0.32px;
}

.plan-card p {
  color: #666;
  margin-bottom: 20px;
}

.license-selector,
.-subscription-duration,
.images-count {
  margin-bottom: 20px;
}

.license-selector label,
.images-count label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #666;
}

.toggle-switch {
  display: flex;
  align-items: center;
}

.switch-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.licenceOption {
  font-weight: 500;
  color: #666;
  transition: color 0.3s ease;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 34px;
  transition: background-color 0.3s ease;
}

.slider {
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

#licenseToggle-package:checked + .switch-label .editorial {
  color: #333333;
}

#licenseToggle-package:not(:checked) + .switch-label .personal {
  color: #333333;
}

#licenseToggle-package:checked + .switch-label .slider {
  transform: translateX(20px);
}

#licenseToggle-package {
  display: none;
}

#licenseToggle-package:checked + .switch-label .switch {
  background-color: #4361ee;
}

#licenseToggle-subscription:checked + .switch-label .editorial {
  color: #333333;
}

#licenseToggle-subscription:not(:checked) + .switch-label .personal {
  color: #333333;
}

#licenseToggle-subscription:checked + .switch-label .slider {
  transform: translateX(20px);
}

#licenseToggle-subscription {
  display: none;
}

#licenseToggle-subscription:checked + .switch-label .switch {
  background-color: #4361ee;
}

.options {
  display: flex;
  gap: 12px;
}

.option {
  padding: 10px 18px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #f9f9f9;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;  
  color: #333333;
}

.option.active,
.option:hover {
  border-color: #4361ee;
  background: white;
  box-shadow: 0 0 0 2px #e0e7ff;
  color: #4361ee;
}

.option:focus {
  border-color: #4361ee;
  background: rgba(108, 140, 239, 0.2);
  box-shadow: 0 0 0 2px #e0e7ff;
  color: #333333;
}

.subscription-duration label {
  color: #666;
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.subscription-duration select {
  padding: 10px 15px;
  border: 1px solid #4361ee;
  border-radius: 10px;
  width: 100%;
  color: #666;
}

.price {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 0;
}

.buy-button {
  background-color: #6c8eff;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.buy-button:hover,
.buy-button:focus {
  background-color: #4361ee;
}

.buy-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #6c8eff;
}

form.variations_form select {
  display: none !important;
}

/* Contenedor general */
.custom-license-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.custom-license-card {
  display: flex;
  align-items: center;
  border: 2px solid white;
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  background: #fff;
  position: relative;
}

.custom-license-card input[type="radio"] {
  appearance: none;
  position: absolute;
  left: 1rem;
  top: 1.5rem;
  width: 20px;
  height: 20px;
  border: 2px solid #999;
  border-radius: 50%;
  outline: none;
}

.custom-license-card input[type="radio"]:checked {
  border-color: #5b79f2;
  background: #5b79f2;
}

.custom-license-card .content {
  margin-left: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
}

.custom-license-card .title {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
}

.custom-license-card .subtitle {
  font-size: 0.9rem;
  color: #777;
}

.custom-license-card .price {
  font-size: 1rem;
  color: #222;
}

.custom-license-card.active {
  background: #eef1ff;
  border-color: #5b79f2;
}

.custom-license-card:has(input[type="radio"]:checked) {
  background: #eef1ff;
  border-color: #5b79f2;
}

.custom-license-card .sub-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.download-button {
  max-width: 100%;
  width: 100%;
  text-align: center;
  padding: 11px !important;
}

.toggle-icon {
  display: none;
}

.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-icon {
  display: block;
}

.tooltip-content {
  visibility: hidden;
  width: 200px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip-container:hover .tooltip-content {
  visibility: visible;
  opacity: 1;
}

#historial-content, #planes-content, #descargas-content {
  overflow-x: auto; white-space: nowrap; width: 100%;
}

.no-registration {
  text-align: center;
}

.success-icon,
.error-icon {
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  display: none;
}

.circle-success {
  fill: #2ecc71;
}

.check-success {
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.circle-error {
  fill: #e74c3c;
}

.x-error {
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
}

@media (max-width: 768px) {
  table.my-account {
    width: 100%;
    border-collapse: collapse;
    display: block;
  }

  table.my-account thead {
    display: none;
  }

  table.my-account tr {
    display: block;
    margin-bottom: 1rem;
    border-bottom: 1px solid #CED9FA;
    width: 300px;
    border: hidden;
  }

  table.my-account td {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    font-size: 1rem;
    border: hidden;
  }

  table.my-account td::before {
    content: attr(data-label);
    font-weight: normal;
    text-transform: capitalize;
    display: block;
    color: #000;
    margin-bottom: 0.2rem;    
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #2a2a2a;
  }

  table.my-account td:first-child {
    border-bottom: 1px solid #ced9fa;
    cursor: pointer;
  }

  table.my-account td:last-child {
    border-bottom: 1px solid #ced9fa;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }
  
  .toggle-icon {
    display: flex;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }
  
  .toggle-icon.expanded {
    transform: rotate(180deg);
  }

  .mobile-span {
    padding-left: 5px;
  }

  .no-registration {
    text-align: center;
    width: 100%;
    white-space: normal;
  }

  .table-container {
    border: 1px solid #ced9fa;
    padding: 10px;
    border-radius: 10px;
  }

  #historial-content, #planes-content, #descargas-content {
    margin: 0px -10px 0px -10px;
    width: auto;
  }

  .custom-modal-body {
    padding: 20px 10px;
  }

  .custom-modal-buttons {
    flex-direction: column;
  }

  .custom-modal-buttons button {
    width: 100%;
  }
}