/* Download buttons styles for Nextcloud Talk - Inspired by TeamViewer */

/* Container for downloads section */
.download-section {
  margin-bottom: 2rem;
}

.download-section h3,
.download-section h4 {
  color: #ff8c15;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.download-section .download-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* Links container - flex wrap like TeamViewer */
.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

/* Individual download link */
.download-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(100, 100, 100, 0.2);
  border-radius: 8px;
  text-decoration: none;
  color: #999999;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 100, 100, 0.3);
  line-height: 1.3;
}

.download-link:hover {
  background: rgba(100, 100, 100, 0.3);
  transform: translateY(-2px);
  border-color: rgba(100, 100, 100, 0.4);
}

/* Icons styling */
.download-link .os-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: brightness(0) saturate(0) invert(0.6);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.download-link:hover .os-icon {
  opacity: 1;
}

/* Text inside link */
.download-link span {
  white-space: nowrap;
}

/* Large link variant (for wider buttons) */
.download-link.large {
  padding: 6px 12px;
  font-size: 0.875rem;
}

/* Specific icon sizes */
.download-link .os-icon.chromeos {
  width: 30px;
}

/* Responsive for mobile - portrait and landscape */
@media (max-width: 768px), (max-height: 500px) and (orientation: landscape) {
  .download-links {
    justify-content: center;
    gap: 6px;
  }
  
  .download-link {
    padding: 3px 6px;
    font-size: 0.7rem;
  }
  
  .download-link .os-icon {
    width: 16px;
    height: 16px;
  }
  
  .download-link .os-icon.chromeos {
    width: 24px;
  }
  
  .download-link.large {
    padding: 5px 10px;
  }
}
