.pd-enterprise-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  width: 100%;
  box-sizing: border-box;

  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;

  max-width: 720px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.pd-enterprise-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.pd-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;

  background: linear-gradient(145deg, #eef2ff, #e0e7ff);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  animation: pd-float 4s ease-in-out infinite;
}

@keyframes pd-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-icon {
    animation: none;
  }
}

.pd-icon-pdf::before {
  content: "📄";
}
.pd-icon-word::before {
  content: "📝";
}
.pd-icon-excel::before {
  content: "📊";
}
.pd-icon-archive::before {
  content: "🗜️";
}
.pd-powerpoint::before {
  content: "📽️";
}
.pd-icon-spreadsheet::before {
  content: "📈";
}
.pd-image::before {
  content: "🖼️";
}

.pd-meta {
  flex: 1;
  min-width: 0;
}

.pd-name {
  font-weight: 600;
  font-size: 16px;
  color: #111827;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.pd-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;

  opacity: 0.65;
  transform: translateX(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.pd-enterprise-card:hover .pd-actions {
  opacity: 1;
  transform: translateX(0);
}

.pd-preview {
  width: 42px;
  height: 42px;
  border-radius: 12px;

  background: linear-gradient(145deg, #f3f4f6, #e5e7eb);

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.pd-preview::before {
  content: "";
  width: 14px;
  height: 8px;
  border: 2px solid #374151;
  border-radius: 50%;
  position: absolute;
}

.pd-preview::after {
  content: "";
  width: 4px;
  height: 4px;
  background: #374151;
  border-radius: 50%;
  position: absolute;
}

.pd-preview:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  background: linear-gradient(145deg, #e5e7eb, #d1d5db);
}

.pd-download-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;

  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.pd-download-btn::before {
  content: "";
  width: 10px;
  height: 10px;

  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;

  transform: rotate(45deg);
}

.pd-download-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
}

.pd-preview:focus-visible,
.pd-download-btn:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .pd-enterprise-card {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    max-width: 100%;
  }

  .pd-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .pd-name {
    font-size: 14px;
    line-height: 1.35;
  }

  .pd-actions {
    opacity: 1;
    transform: none;
    justify-content: flex-end;
  }

  .pd-preview,
  .pd-download-btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .pd-download-btn::before {
    width: 12px;
    height: 12px;
    border-width: 3px;
    transform: rotate(45deg) translateY(-2px);
  }
}
