/* Variation Downloads — improved layout with right-aligned icon and hover effect */

/* main datasheet button */
.vdt-main-datasheet {
  margin-bottom: 15px;
}
.vdt-datasheet-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #69B21A;
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.18s, transform 0.08s;
}
.vdt-datasheet-btn:hover {
  background: #1F7E08;
}

/* list and layout reset */
.variation-downloads .variation-download-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px; /* spacing between each row */
}

/* list items */
.variation-downloads .vdt-download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background-color 0.2s, box-shadow 0.2s;
}

.variation-downloads .vdt-download-item:hover {
  background: #f9fff4;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* file name text */
.variation-downloads .vdt-file-name {
  font-weight: 600;
  color: #222;
  margin: 0;
}

/* download link container */
.variation-downloads .vdt-download-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: color 0.2s;
}

.variation-downloads .vdt-download-name:hover {
  color: #1F7E08;
}

/* right-aligned icon */
.variation-downloads .vdt-download-icon {
  margin-left: auto; /* push to far right */
  display: flex;
  align-items: center;
}

.variation-downloads .vdt-download-icon img,
.variation-downloads .vdt-download-icon svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
}

/* no-files / loading states */
.variation-downloads .vdt-no-files,
.variation-downloads .vdt-loading {
  padding: 12px;
  color: #555;
  background: #fff;
  border-radius: 6px;
  text-align: center;
  list-style: none;
}

/* small meta text */
.variation-downloads .vdt-meta {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}
