@charset "UTF-8";

:root {
  --softroid-download-blue: #29b1d8;
  --softroid-download-blue-hover: #1aa1c7;
  --softroid-download-yellow: #f0bb54;
  --softroid-download-yellow-hover: #dfa842;
}

/* Footer */
.footer.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  padding: 0;
  border-top: 1px solid #e4f0f2;
  background: #f2f7f8;
  color: rgba(23, 32, 33, 0.72);
  text-align: right;
}

.site-footer-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.25rem;
  background: #fff;
}

.site-footer-accent span {
  display: none;
}

.site-footer > .wrp {
  padding-top: 2.75rem;
  padding-bottom: 1.25rem;
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(10rem, 0.8fr) minmax(7.5rem, 0.5fr) minmax(10rem, 0.8fr);
  gap: 2.25rem;
  align-items: start;
}

.site-footer-main--compact {
  grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 1fr) minmax(7.5rem, 0.55fr);
}

.site-footer-brand,
.site-footer-column {
  min-width: 0;
}

.site-footer-logo {
  display: inline-block;
  max-width: 12rem;
}

.site-footer-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 3rem;
  object-fit: contain;
}

.site-footer-description {
  max-width: 32rem;
  margin: 1.25rem 0 0;
  color: rgba(23, 32, 33, 0.64);
  font-size: 0.875rem;
  line-height: 1.9;
}

.site-footer-title {
  position: relative;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  color: #172021;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.site-footer-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2.5rem;
  height: 0.1875rem;
  border-radius: 0.125rem;
  background: #29b1d8;
}

.site-footer .f-menu {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem 1rem;
  margin: 0;
}

.site-footer .f-menu a {
  position: relative;
  float: none;
  min-width: 0;
  padding: 0.25rem 0.875rem 0.25rem 0;
  color: rgba(23, 32, 33, 0.7);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.site-footer .f-menu a::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  right: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #29b1d8;
}

.site-footer .f-menu a:hover {
  color: #1aa1c7;
}

.site-footer-trust {
  text-align: center;
}

.site-footer-trust .site-footer-title {
  text-align: right;
}

.site-footer-trust-badge {
  display: inline-flex;
  width: 7.5rem;
  max-width: 100%;
  align-items: center;
  justify-content: center;
}

.site-footer-trust-badge img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer .foot-social {
  padding: 0;
}

.site-footer .f-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.site-footer .f-social-links a {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(41, 177, 216, 0.14);
  border-radius: 50%;
  background: #fff;
  color: #29b1d8;
  box-shadow: 0 0.5rem 1.5rem rgba(23, 32, 33, 0.05);
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-footer .f-social-links a:hover {
  border-color: rgba(41, 177, 216, 0.32);
  background: rgba(41, 177, 216, 0.1);
  color: #1aa1c7;
  transform: translateY(-0.125rem);
}

.site-footer .f-social-links a > svg {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  fill: currentColor;
}

.site-footer-bottom {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 0.25rem solid #fff;
}

.site-footer .copyright {
  margin: 0;
  padding: 0;
  color: rgba(23, 32, 33, 0.56);
  font-size: 0.8125rem;
  line-height: 1.8;
}

.site-footer .copyright-addon::before {
  content: "";
  display: inline-block;
  width: 0.75rem;
}

.site-footer .scroll-up.site-footer-scroll {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  float: none;
  margin: 0;
  border-radius: 50%;
  background: #29b1d8;
  color: #fff;
  box-shadow: 0 0.75rem 1.75rem rgba(41, 177, 216, 0.22);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.site-footer .scroll-up.site-footer-scroll:hover {
  background: #1aa1c7;
  color: #fff;
  transform: translateY(-0.125rem);
}

.site-footer .scroll-up svg {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
}

/* Download links */
.download-section {
  width: 100%;
  max-width: 50rem;
  margin: 3rem auto 2.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(23, 32, 33, 0.05);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem -1rem rgba(23, 32, 33, 0.12);
  text-align: right;
  scroll-margin-top: 6rem;
}

.download-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.download-section-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  border-radius: 0.5rem;
  background: rgba(57, 193, 224, 0.14);
  color: #29b1d8;
}

.download-section-icon svg {
  display: block;
}

.download-section-title {
  min-width: 0;
  margin: 0;
  color: #172021;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.5;
}

.download-section-count {
  flex: 0 0 auto;
  margin-right: auto;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: rgba(23, 32, 33, 0.06);
  color: rgba(23, 32, 33, 0.58);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.download-list {
  display: grid;
  gap: 1rem;
}

.download-item,
.attachment-mobile-download {
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.download-action {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 4.75rem;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--softroid-download-blue);
  box-shadow: 0 0.75rem 1.75rem rgba(41, 177, 216, 0.22);
  color: #fff !important;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.download-action,
.f-app-view-dw .attachment-link,
.p-file-timer-btn #check {
  position: relative;
  overflow: hidden;
}

.is-download-pending {
  cursor: wait !important;
  transform: none !important;
}

.download-pending-state {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: inherit;
  background-color: inherit;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
}

.download-pending-spinner {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  border: 0.1875rem solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
  opacity: 0.9;
  animation: softroid-download-pending-spin 0.7s linear infinite;
}

.download-pending-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

@keyframes softroid-download-pending-spin {
  to {
    transform: rotate(1turn);
  }
}

.download-action:hover {
  background: var(--softroid-download-blue-hover);
  box-shadow: 0 1rem 2rem rgba(41, 177, 216, 0.28);
  color: #fff !important;
  transform: translateY(-0.0625rem);
}

.download-action-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
}

.download-action-icon svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.download-action-copy {
  display: flex;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  text-align: center;
}

.download-action-title {
  min-width: 0;
  max-width: 100%;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.75;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.download-action-size {
  flex: 0 0 auto;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.75;
  white-space: nowrap;
}

.download-item--yellow .download-action,
.f-app-view-dw .attachment-link.download-color-yellow {
  background: var(--softroid-download-yellow) !important;
  box-shadow: 0 0.75rem 1.75rem rgba(240, 187, 84, 0.24) !important;
  color: #172021 !important;
}

.download-item--yellow .download-action:hover,
.f-app-view-dw .attachment-link.download-color-yellow:hover {
  background: var(--softroid-download-yellow-hover) !important;
  color: #172021 !important;
}

.download-item--telegram .download-action {
  background: #29b1d8;
  box-shadow: 0 0.75rem 1.75rem rgba(41, 177, 216, 0.22);
}

.download-item--telegram .download-action:hover {
  background: #1aa1c7;
}

.download-badges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  direction: ltr;
  gap: 0.375rem;
  justify-content: flex-start;
  margin-top: -1px;
  padding: 0 0.75rem;
}

.download-badge {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 0 0 0.375rem 0.375rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.25rem;
  overflow-wrap: anywhere;
}

.download-badge--type {
  background: #e72620;
}

.download-badge--architecture {
  direction: rtl;
  background: #5058ee;
}

.download-badge--feature {
  direction: rtl;
  background: #344047;
}

.f-app-view-dw .attachment-link {
  display: flex !important;
  width: 100% !important;
  max-width: 100%;
  min-height: 3rem;
  height: auto !important;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  gap: 0.625rem;
  border-radius: 0.5rem;
  background: var(--softroid-download-blue) !important;
  box-shadow: 0 0.75rem 1.75rem rgba(41, 177, 216, 0.2) !important;
  color: #fff !important;
  font-size: 0.875rem;
  line-height: 1.65;
  text-align: center;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.f-app-view-dw .attachment-link:hover {
  background: var(--softroid-download-blue-hover) !important;
}

.download-action--disabled,
.f-app-view-dw .attachment-link--disabled,
.download-link-disabled {
  border: 1px solid rgba(201, 59, 81, 0.22) !important;
  background: #fff2f4 !important;
  box-shadow: none !important;
  color: #c93b51 !important;
  cursor: not-allowed !important;
  pointer-events: none;
  transform: none !important;
  user-select: none;
}

.download-action--disabled .download-action-icon {
  color: #c93b51;
}

.attachment-link-copy {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.attachment-mobile-download {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

.attachment-mobile-download:last-child {
  margin-bottom: 0;
}

.attachment-mobile-download .attachment-link {
  margin-bottom: 0;
}

.attachment-mobile-badges {
  margin-top: 0 !important;
  padding: 0 0.75rem;
  transform: none !important;
}

.f-app-view-intro .btn.blue-style.anchor.dd {
  border-radius: 0.5rem;
}

@media (max-width: 61.9375rem) {
  .footer.site-footer {
    margin-top: 2.5rem;
    padding-bottom: 0;
    text-align: right;
  }

  .site-footer > .wrp {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
  }

  .site-footer-main,
  .site-footer-main--compact {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .site-footer-logo {
    max-width: 10.5rem;
  }

  .site-footer-logo img {
    height: 2.75rem;
  }

  .site-footer-description {
    max-width: 30rem;
  }

  .site-footer-trust {
    max-width: 12rem;
    text-align: right;
  }

  .site-footer .f-menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .foot-social {
    position: static;
    width: auto;
    max-width: none;
  }

  .site-footer-bottom {
    min-height: 0;
    align-items: flex-start;
    margin-top: 2.25rem;
    padding: 1.25rem 0 0;
  }

  .site-footer .copyright {
    text-align: right;
  }

  .site-footer .copyright > span {
    display: block;
  }

  .site-footer .copyright-addon::before {
    display: none;
  }
}

@media (max-width: 29.9375rem) {
  .download-section {
    margin-top: 2.25rem;
    padding: 1rem;
  }

  .download-section-header {
    gap: 0.625rem;
  }

  .download-section-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-basis: 2.5rem;
  }

  .download-section-title {
    font-size: 1.0625rem;
  }

  .download-action {
    min-height: 4rem;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }

  .download-action-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .download-action-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .download-action-copy {
    display: block;
  }

  .download-action-title,
  .download-action-size {
    display: block;
  }

  .download-pending-state {
    gap: 0.5rem;
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
  }

  .download-pending-spinner {
    width: 1.125rem;
    height: 1.125rem;
    flex-basis: 1.125rem;
  }

  .download-action-title {
    font-size: 0.8125rem;
    line-height: 1.65;
  }

  .download-action-size {
    margin-top: 0.125rem;
    font-size: 0.6875rem;
    line-height: 1.4;
    white-space: normal;
  }

  .download-badges {
    padding: 0 0.5rem;
  }

  .download-badge {
    min-height: 1.875rem;
    padding: 0.1875rem 0.5rem;
    font-size: 0.6875rem;
  }

  .site-footer .f-menu {
    gap: 0.5rem 0.75rem;
  }
}

@media (max-width: 35.9375rem) {
  .f-app-view-dw .attachment-link {
    min-height: 3rem;
    padding: 0.625rem 0.875rem;
  }

  .f-app-view-dw .attachment-link-copy {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a,
  .download-action {
    transition: none;
  }

  .download-pending-spinner {
    animation: none;
  }
}
