.download-page {
  padding: 2rem 0 4rem;
}
.download-filter {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(47, 125, 50, .12);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff 0%, #fbfdf9 100%);
  box-shadow: 0 18px 45px rgba(31, 75, 35, .08);
}
.download-filter::after {
  content: '';
  position: absolute;
  top: -85px;
  right: -75px;
  z-index: -1;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(76, 150, 47, .07);
}
.download-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.download-filter-title {
  margin: 0;
  color: #234d20;
  font-size: 1.05rem;
  font-weight: 700;
}
.download-filter-title i {
  margin-right: .55rem;
  color: #3f8735;
}
.download-filter-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(230px, 1.6fr) minmax(120px, .55fr) auto;
  gap: .9rem;
  align-items: end;
}
.download-field label {
  display: block;
  margin-bottom: .42rem;
  color: #52644e;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.download-field .form-control {
  height: 46px;
  border: 1px solid #dce7d8;
  border-radius: 12px;
  color: #31482e;
  background-color: #fff;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.download-field .form-control:focus {
  border-color: #4c962f;
  box-shadow: 0 0 0 3px rgba(76, 150, 47, .12);
}
.download-search-wrap {
  position: relative;
}
.download-search-wrap i {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: #83927f;
  transform: translateY(-50%);
}
.download-search-wrap .form-control {
  padding-left: 2.65rem;
}
.download-filter-actions {
  display: flex;
  gap: .55rem;
}
.download-filter-actions .btn {
  display: inline-flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 0 1rem;
  border-radius: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.download-filter-actions .btn-primary {
  border-color: #2f7d32;
  background: linear-gradient(135deg, #2f7d32, #4c962f);
  box-shadow: 0 9px 20px rgba(47, 125, 50, .18);
}
.download-filter-actions .btn-light {
  border: 1px solid #dce7d8;
  color: #52644e;
  background: #fff;
}
.download-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.8rem 0 1rem;
}
.download-result-title {
  margin: 0;
  color: #234d20;
  font-size: 1.35rem;
  font-weight: 750;
}
.download-result-count {
  padding: .38rem .75rem;
  border-radius: 999px;
  color: #2f7d32;
  background: #edf6e9;
  font-size: .82rem;
  font-weight: 700;
}
.download-list {
  display: grid;
  gap: .9rem;
}
.download-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid #e2eadf;
  border-radius: 17px;
  color: inherit;
  background: #fff;
  box-shadow: 0 9px 28px rgba(34, 73, 34, .055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.download-item:hover {
  border-color: rgba(76, 150, 47, .35);
  box-shadow: 0 15px 34px rgba(34, 73, 34, .1);
  transform: translateY(-2px);
}
.download-file-icon {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #2f7d32;
  background: linear-gradient(145deg, #edf6e9, #f9fcf7);
  font-size: 1.45rem;
}
.download-file-info {
  min-width: 0;
}
.download-file-title {
  display: block;
  margin-bottom: .42rem;
  overflow: hidden;
  color: #294b27;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
}
.download-file-title:hover {
  color: #2f7d32;
}
.download-file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  align-items: center;
  color: #788574;
  font-size: .8rem;
}
.download-file-type {
  display: inline-flex;
  padding: .22rem .55rem;
  border-radius: 999px;
  color: #8a6900;
  background: #fff8dd;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.download-action {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 125, 50, .16);
  border-radius: 12px;
  color: #2f7d32;
  background: #f6faf4;
  transition: color .2s ease, background .2s ease;
}
.download-item:hover .download-action {
  color: #fff;
  background: #2f7d32;
}
.download-empty {
  padding: 3.5rem 1.25rem;
  border: 1px dashed #cdddc8;
  border-radius: 20px;
  text-align: center;
  background: #fbfdf9;
}
.download-empty-icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #4c962f;
  background: #eaf5e6;
  font-size: 1.7rem;
}
.download-empty h3 {
  margin-bottom: .4rem;
  color: #294b27;
  font-size: 1.15rem;
}
.download-empty p {
  max-width: 480px;
  margin: 0 auto 1.15rem;
  color: #748070;
}
@media (max-width: 991.98px) {
  .download-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .download-filter-actions {
    justify-content: flex-end;
  }
}
@media (max-width: 575.98px) {
  .download-page {
    padding-top: 1.25rem;
  }
  .download-filter {
    padding: 1rem;
    border-radius: 16px;
  }
  .download-filter-heading,
  .download-result-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .download-filter-grid {
    grid-template-columns: 1fr;
  }
  .download-filter-actions,
  .download-filter-actions .btn {
    width: 100%;
  }
  .download-item {
    grid-template-columns: 48px minmax(0, 1fr) 38px;
    gap: .75rem;
    padding: .9rem;
  }
  .download-file-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.15rem;
  }
  .download-action {
    width: 38px;
    height: 38px;
  }
}
