.section-downloads {
  padding-top: 14px;
  padding-bottom: 26px;
}

.section-downloads .container > .row {
  margin-left: 0;
  margin-right: 0;
}

.download-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 10px 12px;
  background: #f5f9fd;
  border: 1px solid #d8e5f1;
  border-radius: 10px;
}

.download-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #ccd9e5;
  border-radius: 8px;
  background: #ffffff;
  color: #1a4f78;
  font-weight: 600;
  text-decoration: none;
}

.download-admin-link:hover,
.download-admin-link:focus {
  background: #eef5fc;
  border-color: #b6cce0;
  color: #133f61;
  text-decoration: none;
}

.download-admin-link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.download-category-block {
  margin: 0 0 18px;
  border: 1px solid #d5e1ec;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(12, 47, 77, 0.08);
  overflow: hidden;
}

.download-category-title {
  margin: 0;
  padding: 13px 16px;
  border-bottom: 1px solid #dbe6f0;
  background: linear-gradient(180deg, #fbfdff 0%, #f1f7fd 100%);
  font-size: 23px;
  font-weight: 700;
  color: #113654;
}

.download-category-list {
  padding: 10px;
}

.divRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid #d8e3ed;
  border-radius: 10px;
  background: #fbfdff;
  color: #1f2937;
  line-height: 1.35;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.download-category-list .divRow:last-child {
  margin-bottom: 0;
}

.divRow:hover {
  background: #f2f8ff;
  border-color: #bfd7ea;
  box-shadow: 0 3px 10px rgba(15, 65, 100, 0.1);
}

.divCell {
  display: flex;
  align-items: center;
  min-width: 25px;
  min-height: 24px;
  height: auto;
  color: inherit;
}

.divRight {
  margin-left: auto;
  float: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.version {
  width: auto;
  min-width: 132px;
  text-align: left;
  color: #334155;
}

.platform {
  width: auto;
  min-width: 280px;
  flex: 1 1 320px;
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
}

.license {
  width: auto;
  min-width: 122px;
  text-align: left;
}

.smallFont {
  font-size: 12px;
  color: #465a6d;
}

.sizeCell {
  min-width: 62px;
  font-variant-numeric: tabular-nums;
}

.divRow a:not(.btn) {
  color: #1f6fa8;
}

.divRow a:not(.btn):hover,
.divRow a:not(.btn):focus {
  color: #195985;
}

.divRow .btn {
  width: 116px !important;
  min-width: 116px !important;
  border-radius: 6px;
  font-weight: 600;
  color: #ffffff !important;
  background: #1f6fa8;
  border-color: #1f6fa8;
}

.divRow .btn:hover,
.divRow .btn:focus,
.divRow .btn:active {
  color: #ffffff !important;
  background: #195985;
  border-color: #195985;
}

.divRow .btn:visited {
  color: #ffffff !important;
}

.divRow .btn-grey {
  color: #0f3150 !important;
  background: #e7eef5;
  border-color: #c9d6e3;
}

.divRow .btn-grey:hover,
.divRow .btn-grey:focus,
.divRow .btn-grey:active {
  color: #0f3150 !important;
  background: #d9e6f2;
  border-color: #b8ccdf;
}

.divRow .btn-red {
  color: #ffffff !important;
  background: #da1111;
  border-color: #ab0d0d;
}

.divRow .btn-red:hover,
.divRow .btn-red:focus,
.divRow .btn-red:active {
  color: #ffffff !important;
  background: #b90e0e;
  border-color: #930b0b;
}

@media (max-width: 991px) {
  .download-admin-toolbar {
    padding: 10px;
  }

  .download-category-title {
    font-size: 20px;
    padding: 11px 14px;
  }

  .download-category-list {
    padding: 8px;
  }

  .divRow {
    padding: 10px 8px;
    gap: 6px;
  }

  .platform {
    flex-basis: 100%;
    min-width: 0;
  }

  .version,
  .license {
    min-width: 0;
  }

  .divRight {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .divRight .btn {
    width: 100% !important;
    max-width: 240px;
  }
}

@media (max-width: 575px) {
  .section-downloads {
    padding-top: 10px;
  }

  .download-admin-toolbar {
    gap: 8px;
    padding: 8px;
  }

  .download-admin-link {
    width: 100%;
    justify-content: flex-start;
  }

  .divRow {
    padding: 10px 6px;
    gap: 5px;
  }

  .smallFont {
    font-size: 11px;
  }

  .divRight .btn {
    max-width: none;
  }
}

img.centered {
  display: block;
  margin: 0 auto;
  max-height: 20px;
  max-width: 100%;
}

img.small {
  max-height: 15px;
  max-width: 15px;
}

img.downloadButton {
  display: block;
  margin: 0 auto;
}


.phaedra-colors .label {
  color: #001713;
}
.phaedra-colors .label-default {
  background-color: #95a5a6;
}
.phaedra-colors .label-default[href]:hover,
.phaedra-colors .label-default[href]:focus {
  background-color: #7f8c8d;
}
.phaedra-colors .label-primary {
  background-color: #00A388;
}
.phaedra-colors .label-primary[href]:hover,
.phaedra-colors .label-primary[href]:focus {
  background-color: #007D68;
}
.phaedra-colors .label-success {
  background-color: #79BD8F;
}
.phaedra-colors .label-success[href]:hover,
.phaedra-colors .label-success[href]:focus {
  background-color: #659E78;
}
.phaedra-colors .label-info {
  background-color: #BEEB9F;
}
.phaedra-colors .label-info[href]:hover,
.phaedra-colors .label-info[href]:focus {
  background-color: #A5CC8A;
}
.phaedra-colors .label-warning {
  background-color: #FFFF9D;
}
.phaedra-colors .label-warning[href]:hover,
.phaedra-colors .label-warning[href]:focus {
  background-color: #D1D181;
}
.phaedra-colors .label-danger {
  background-color: #FF6138;
}
.phaedra-colors .label-danger[href]:hover,
.phaedra-colors .label-danger[href]:focus {
  background-color: #D6512F;
}

.flat-ui-colors .label-default {
  background-color: #95a5a6;
}
.flat-ui-colors .label-default[href]:hover,
.flat-ui-colors .label-default[href]:focus {
  background-color: #7f8c8d;
}
.flat-ui-colors .label-primary {
  background-color: #3498db;
}
.flat-ui-colors .label-primary[href]:hover,
.flat-ui-colors .label-primary[href]:focus {
  background-color: #2980b9;
}
.flat-ui-colors .label-success {
  background-color: #2ecc71;
}
.flat-ui-colors .label-success[href]:hover,
.flat-ui-colors .label-success[href]:focus {
  background-color: #27ae60;
}
.flat-ui-colors .label-info {
  background-color: #9b59b6;
}
.flat-ui-colors .label-info[href]:hover,
.flat-ui-colors .label-info[href]:focus {
  background-color: #8e44ad;
}
.flat-ui-colors .label-warning {
  background-color: #e67e22;
}
.flat-ui-colors .label-warning[href]:hover,
.flat-ui-colors .label-warning[href]:focus {
  background-color: #d35400;
}
.flat-ui-colors .label-danger {
  background-color: #e74c3c;
}
.flat-ui-colors .label-danger[href]:hover,
.flat-ui-colors .label-danger[href]:focus {
  background-color: #c0392b;
}
