/* Professional UI Elements - Additional Styles */

/* Enhanced Button Styles */
.btn {
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  letter-spacing: 0.3px;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
}

.btn-outline-primary {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Badge Enhancements */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  border-radius: 50rem;
}

/* Tag styling */
.tag {
  display: inline-block;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 0.35em 0.75em;
  border-radius: 50rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s;
}

.tag:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Rating stars */
.rating {
  color: #f59e0b;
}

/* Software version info */
.version-info {
  background-color: #f1f5f9;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--primary-color);
}

.version-info h6 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Download button enhancements */
.download-btn {
  background: var(--primary-gradient);
  color: white;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(37, 99, 235, 0.3);
}

.download-btn i {
  margin-right: 0.5rem;
}

/* Featured software container */
.featured-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  padding: 2rem;
  background: linear-gradient(to right, rgba(30, 41, 59, 0.95), rgba(30, 41, 59, 0.8)),
              url('/images/featured-bg.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  margin-bottom: 2rem;
}

.featured-container h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.featured-container p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Notification badge */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--danger-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page header */
.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.page-header h1 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--gray-color);
  margin-bottom: 0;
}

/* Category pills */
.category-pill {
  background-color: #f1f5f9;
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.category-pill:hover {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

/* Software details page */
.software-detail-header {
  margin-bottom: 2rem;
}

.software-detail-header h1 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.software-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.software-meta > div {
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
}

.software-meta i {
  margin-right: 0.35rem;
}

/* Progress bars */
.progress {
  height: 0.5rem;
  border-radius: 1rem;
  background-color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.progress-bar {
  border-radius: 1rem;
  background: var(--primary-gradient);
}

/* Clean dividers */
.divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 2rem 0;
}

/* Better tables */
.table td, .table th {
  padding: 1rem;
  vertical-align: middle;
}

/* File type icons */
.file-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.file-icon.pdf {
  color: #ef4444;
}

.file-icon.doc {
  color: #2563eb;
}

.file-icon.zip {
  color: #f59e0b;
}

.file-icon.exe {
  color: #10b981;
}
