.preview-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.file-item {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.file-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.35);
}

.file-item-content {
  display: flex;
  align-items: flex-start;
  padding: 15px;
}

.file-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 105, 180, 0.3);
  margin-right: 15px;
  flex-shrink: 0;
}

.file-icon i {
  font-size: 18px;
  color: #fff;
}

.file-info {
  flex: 1;
  overflow: hidden;
}

.file-name {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  word-break: break-word;
}

.file-url {
  margin-bottom: 10px;
  word-break: break-all;
  color: #666;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.5);
  padding: 5px 8px;
  border-radius: 4px;
}

.file-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.file-action {
  padding: 6px 14px;
  border-radius: 4px;
  border: none;
  background: #ff69b4;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.file-action:hover {
  background: #ff4da0;
  box-shadow: 0 2px 8px rgba(255, 105, 180, 0.4);
}

.preview-link-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-link-container p {
  margin-bottom: 15px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.preview-link {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.download-link {
  padding: 12px 24px;
  background: #ff69b4;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-weight: 600;
  min-width: 140px;
}

.download-link:hover {
  background: #ff4da0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.4);
}

.copy-link {
  padding: 12px 24px;
  background: #5c6bc0;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-weight: 600;
  min-width: 140px;
}

.copy-link:hover {
  background: #3f51b5;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(63, 81, 181, 0.4);
}

.modal-title {
  color: #333;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}