/* Minimal styling to blend with Flatsome */
.uhvb-list .search-box {
  border: 1px solid rgba(0, 0, 0, .1);
  padding: 16px;
  border-radius: 10px;
  margin: 10px 0 16px;
  background: #F3F6FB;
}

.uhvb-list .search-text {
  display: flex;
  gap: 10px;
  align-items: top;
}

.uhvb-list .textbox {
  flex: 1
}

.uhvb-list input[type="text"] {
  height: 48px;
  width: 100%;
  padding: 4px 12px;
  border: 1px solid #ec5e69;
  border-radius: 100px;
  color: #7D92AE;
}

.search-btn .m-btn-submit {
  margin: 0px;
}

.uhvb-list .label {
  font-weight: 700;
}

.uhvb-list .search-option {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 12px
}

.uhvb-list select {
  width: 100%;
  padding: 4px 12px;
  border: 1px solid #ec5e69;
  border-radius: 8px;
  background: #fff url('../assets/images/chevron-down.png') no-repeat right 12px center;
  background-size: 14px;
  color: #7D92AE;
}

.uhvb-btn {
  padding: 8px 12px;
  border-radius: 8px
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.uhvb-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #fff
}

.uhvb-table th,
.uhvb-table tr,
.uhvb-table td {
  border: 1px solid #E2E7ED;
  padding: 10px 12px;
  text-transform: none;
  font-size: 1em;
  padding: 10px 15px;
}

.uhvb-table td,
.uhvb-table td:first-child,
.uhvb-table th:first-child {
  padding: 10px 15px;
  align-items: center;
  font-size: 1em;
}

.uhvb-table .m-btn-submit {
  margin-top: 0;
  font-size: 0.9em !important;
  padding: 4px 16px;
  height: 44px;
  padding-left: 48px;
}

.uhvb-table .m-btn-submit::before {
  width: 42px;
  height: 42px;
}

.uhvb-table .m-btn-submit:hover {
  padding-left: 16px;
  padding-right: 48px;
}

.uhvb-table thead tr,
.uhvb-table tr:nth-child(even) {
  background-color: #F3F6FB;
}

.uhvb-table th {
  font-weight: 600
}

.uhvb-title a {
  text-decoration: none
}

.uhvb-pagination {
  margin-top: 14px
}

.uhvb-pagination .page-numbers {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 8px;
  margin-right: 6px
}

.uhvb-pagination .current {
  font-weight: 700
}

.uhvb-breadcrumbs {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  padding: 8px 0;
}

.uhvb-breadcrumbs a {
  color: #ec5e69;
  text-decoration: none;
}

.uhvb-breadcrumbs a:hover {
  text-decoration: underline;
}

.uhvb-breadcrumbs span {
  color: #333;
}

.uhvb-detail .Title {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 14px;
  color: #ec5e69;
}

.rp-file {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  padding-right: 8px;
  background: #F3F6FB;
  border-radius: 8px;
}

.rp-file .file-name {
  flex: 1;
  font-weight: 500;
}

.rp-file .btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.rp-file .btn-download,
.rp-file .btn-view {
  border: 1px solid #ec5e69;
  padding: 8px;
}

.rp-file .btn-download:hover,
.rp-file .btn-view:hover {
  background: #ec5e69;
}

.rp-file .view-pdf {
  cursor: pointer
}

.uhvb-viewer {
  margin-top: 16px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 12px;
  overflow: hidden
}

.uhvb-viewer__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  background: #fafafa
}

.uhvb-viewer__toolbar .uhvb-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  background: #ec5e69;
  color: #fff;
  white-space: nowrap;
  flex-wrap: nowrap;
  width: fit-content;
}

.uhvb-viewer__toolbar .uhvb-download svg {
  width: 18px;
  height: 18px;
}

/* .uhvb-viewer__toolbar .uhvb-download {
  position: relative;
  width: auto;
  height: 44px;
  cursor: pointer;
  font-weight: 700;
  line-height: 130%;
  padding: 13px 24px;
  padding-left: 68px;
  color: #ec5e69;
  border: 1px solid #ec5e69;
  border-radius: 100px;
  display: inline-block;
  transition: .3s ease;
  background: #fff;
  text-transform: none !important;
}

.uhvb-viewer__toolbar .uhvb-download:hover {
  background: #ec5e69;
  color: white;
  padding-right: 68px;
  padding-left: 24px;
  transform: translateY(-2px);
}

.uhvb-viewer__toolbar .uhvb-download:hover::before {
  left: calc(100% - 44px);
}


.uhvb-viewer__toolbar .uhvb-download::before {
  position: absolute;
  content: '';
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ec5e69 url(../assets/images/icon_download.png) no-repeat center;
  background-size: 24px;
  top: 0;
  left: 0;
  transition: .3s ease;
  z-index: 1;
} */

.uhvb-iframe {
  width: 100%;
  height: 75vh;
  border: 0
}

.uhvb-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.uhvb-close:hover {
  opacity: 0.7;
}

.uhvb-close img {
  width: 32px;
  height: 32px;
}

@media (max-width: 849px) {
  .uhvb-list .search-option {
    grid-template-columns: 1fr;
    order: 3;
  }

  .uhvb-list .search-box {
    display: flex;
    flex-direction: column;
  }

  .uhvb-list .search-text {
    display: contents;
  }

  .uhvb-list .textbox {
    order: 1;
    width: 100%;
    margin-bottom: 10px;
  }

  .advanced-toggle {
    order: 2;
    margin-bottom: 10px;
  }

  .search-btn {
    order: 4;
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
  }
}

.advanced-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #ec5e69;
  font-weight: 600;
  margin: 10px 0;
  width: fit-content;
  user-select: none;
}

.advanced-toggle .toggle-icon {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.advanced-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

.uhvb-list .search-option {
  transition: all 0.3s ease;
}