/* File Download Section Styles */
.file-download-section {
  padding: 40px 0 20px;
  background-color: #ffffff;
  overflow: hidden;
}

.file-download-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.file-download-header {
  text-align: center;
  margin-bottom: 50px;
}

.file-download-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #00476b;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-download-header h3 .section-indicator {
  display: inline-block;
  width: 40px;
  height: 3px;
  background-color: #00476b;
  margin: 0 15px;
}

.file-download-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

.file-list-container {
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.file-list-header {
  background-color: rgba(0, 71, 107, 0.05);
  padding: 20px 45px;
  border-bottom: 1px solid rgba(0, 71, 107, 0.1);
}

.file-list-header h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00476b;
  margin: 0;
  display: flex;
  align-items: center;
}

.file-list-header h4 i {
  margin-right: 10px;
}

.file-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.file-item {
  display: flex;
  align-items: center;
  padding: 20px 45px;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.3s ease;
}

.file-item:last-child {
  border-bottom: none;
}

.file-item:hover {
  background-color: rgba(0, 71, 107, 0.03);
}

.file-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 71, 107, 0.1);
  color: #00476b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.file-icon i {
  font-size: 1.5rem;
}

.file-info {
  flex-grow: 1;
  min-width: 0;
  padding-right: 30px;
}

.file-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-description {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-meta {
  display: flex;
  font-size: 0.95rem;
  color: #94a3b8;
}

.file-meta .file-type {
  margin-right: 15px;
}

.file-meta .file-size {
  margin-right: 15px;
}

.file-meta .file-date {
  margin-right: 0;
}

.file-download-btn {
  flex-shrink: 0;
  background-color: #00476b;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.file-download-btn:hover {
  background-color: #003350;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 71, 107, 0.2);
}

.file-download-btn i {
  margin-left: 8px;
}

.file-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 45px;
  border-top: 1px solid #e5e7eb;
}

.file-pagination-info {
  font-size: 14px;
  color: #64748b;
}

.file-pagination-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.file-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-pagination-btn:hover:not(:disabled):not(.active) {
  background: #f1f5f9;
  border-color: #00476b;
  color: #00476b;
}

.file-pagination-btn.active {
  background: #00476b;
  border-color: #00476b;
  color: #fff;
}

.file-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.file-pagination-btn.prev,
.file-pagination-btn.next {
  font-size: 13px;
}

@media (max-width: 768px) {
  .file-pagination {
    flex-direction: column;
    gap: 12px;
    padding: 16px 25px;
  }
}

@media (max-width: 576px) {
  .file-pagination {
    padding: 12px 20px;
  }
  
  .file-pagination-btn {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .file-download-section {
    padding: 30px 0 15px;
  }
  
  .file-download-header h3 {
    font-size: 1.8rem;
  }
  
  .file-item {
    padding: 15px 30px;
  }
  
  .file-icon {
    width: 45px;
    height: 45px;
    margin-right: 15px;
  }
  
  .file-icon i {
    font-size: 1.3rem;
  }
  
  .file-info {
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .file-download-section {
    padding: 25px 0 10px;
  }
  
  .file-download-header h3 {
    font-size: 1.6rem;
  }
  
  .file-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 25px;
  }
  
  .file-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .file-info {
    width: 100%;
    margin-bottom: 15px;
    padding-right: 0;
  }
  
  .file-download-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .file-download-header h3 {
    font-size: 1.5rem;
  }
  
  .file-download-header h3 .section-indicator {
    width: 30px;
    margin: 0 10px;
  }
  
  .file-name {
    font-size: 1rem;
  }
  
  .file-description {
    font-size: 0.85rem;
  }
  
  .file-meta {
    font-size: 0.8rem;
  }
}