@font-face {
  font-family: 'myriad_pro_lightregular';
  src: url('fonts/myriadpro-light-webfont.woff') format('woff'),
       url('fonts/myriadpro-light-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MyriadProSemibold';
  src: url('fonts/myriadpro-semibold-webfont.woff') format('woff'),
       url('fonts/myriadpro-semibold-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'myriad_pro_lightregular', helvetica, arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background: #fff;
}

a {
  color: #2a6496;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #23527c;
  text-decoration: underline;
}

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #dad3dc;
  padding: 6px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: block;
  padding: 0 15px 0 0;
}

.logo-img {
  display: block;
  height: 50px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.coin-select {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0b8ed8;
  color: #ffffff;
  border: 1px solid #0b8ed8;
  border-radius: 4px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.42857143;
  cursor: pointer;
  white-space: nowrap;
}

.coin-select:hover {
  background: #0a80c4;
  border-color: #0a80c4;
}

.caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #ffffff;
  display: inline-block;
}

.caret.dark {
  border-top-color: #555555;
}

.caret.white {
  border-top-color: #ffffff;
}

.search-form {
  display: flex;
  align-items: stretch;
}

.search-input {
  width: 360px;
  height: 34px;
  border: 1px solid #cccccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 14px;
  color: #555;
  outline: none;
  background: #ffffff;
}

.search-input::placeholder {
  color: #aaaaaa;
}

.search-input:focus {
  border-color: #0b8ed8;
}

.search-btn {
  width: 38px;
  height: 34px;
  background: #0b8ed8;
  border: 1px solid #0b8ed8;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-btn:hover {
  background: #0a80c4;
}

.profile {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0 0 0 6px;
}

.header-coin {
  width: 30px;
  height: 30px;
  display: inline-block;
}

.page-header {
  padding: 45px 0;
  font-size: 1.2em;
  color: #ffffff;
  background: #371456 url('chain.svg') left center no-repeat;
  background: url('chain.svg') left center no-repeat,
              -webkit-linear-gradient(top, #59218c 0%, #371456 100%);
  background: url('chain.svg') left center no-repeat,
              linear-gradient(to bottom, #59218c 0%, #371456 100%);
}

.page-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
}

.transfer-icon {
  display: inline-flex;
  align-items: center;
}

.tagline {
  font-size: 24px;
  font-weight: 500;
  line-height: 27px;
  color: #ffffff;
  margin: 0;
  word-wrap: break-word;
  opacity: 0.7;
}

.main-container {
  width: 100%;
  flex: 1 0 auto;
  padding: 30px 15px 50px;
  font-size: 1em;
}

.dash {
  border: 1px solid #ddd;
  background: #f5f5f5;
  border-radius: 5px;
  box-shadow: none;
  padding: 20px 0;
  font-family: 'MyriadProSemibold', helvetica, arial, sans-serif;
}

.summary-card {
  display: flex;
}

.sum-col {
  width: 25%;
  padding: 10px;
  border-right: 1px solid #ddd;
  font-size: 1.6em;
  text-align: center;
  line-height: 1.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sum-col:last-child {
  border: 0;
}

.dash-label {
  font-size: 0.7em;
  text-transform: uppercase;
  color: #888;
  font-family: 'myriad_pro_lightregular', helvetica, arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 8px;
}

.sum-value {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
  font-weight: 700;
}

.sum-value .ic-clock {
  color: #888;
}

.sum-value.confirmed {
  color: green;
}

.sum-value.pending {
  color: #BFA01A;
}

.sum-value.unconfirmed {
  color: #A8184F;
}

.ic-info {
  cursor: pointer;
}

.advanced-wrap {
  text-align: center;
  margin: 26px 0 22px;
}

.btn-adv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0b8ed8;
  color: #ffffff;
  border: 1px solid #0b8ed8;
  border-radius: 5px;
  padding: 7px 18px;
  font-family: 'myriad_pro_lightregular', helvetica, arial, sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-adv:hover {
  background: #0a80c4;
  border-color: #0a80c4;
}

.adv-table {
  display: block;
  max-height: 0;
  margin-bottom: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.3s ease, margin-bottom 0.45s ease;
}

.adv-table.is-open {
  max-height: 1000px;
  margin-bottom: 26px;
  opacity: 1;
}

.table {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f5f5f5;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px 8px;
  vertical-align: middle;
  border-top: 1px solid #eee;
  text-align: left;
  word-break: break-all;
}

.table th {
  font-weight: 600;
  color: #555;
  width: 30%;
}

.table tbody tr:first-child th,
.table tbody tr:first-child td {
  border-top: none;
}

.text-center {
  text-align: center;
}

.btn-default {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
  padding: 6px 12px;
  font-size: 14px;
  text-decoration: none;
  margin: 4px 4px;
}

.btn-default:hover {
  background: #e6e6e6;
  border-color: #adadad;
  color: #333;
  text-decoration: none;
}

.details {
  padding-top: 6px;
}

.details-head-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 14px;
}

.details-title {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.chevron-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.well {
  border: 1px solid #ddd;
  background: #f7f7f7;
  border-radius: 5px;
  box-shadow: none;
  padding: 20px 30px;
}

.tx-visual {
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.tx-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
  align-items: end;
  gap: 18px;
  padding: 0 30px 4px;
}

.tx-head {
  font-size: 16px;
  font-weight: normal;
  color: #333;
  font-family: 'myriad_pro_lightregular', helvetica, arial, sans-serif;
  text-align: center;
  min-width: 0;
}

.tx-bar-spacer {
  width: 100%;
}

.tx-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 6px 30px 22px;
}

.tx-col {
  flex: 1;
}

.tx-col.arrow {
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.txn-arrow {
  background: url('txn_arrow.svg') center no-repeat;
  background-size: contain;
  width: 110px;
  height: 100px;
}

.txn-input,
.txn-output {
  border: 1px solid #ddd;
  padding: 18px 26px;
  margin-bottom: 0;
  position: relative;
  background: #ffffff;
  border-radius: 26px;
  text-align: left;
}

.txn-output:last-child {
  margin-bottom: 0;
}

.txn-amount {
  display: inline;
  flex: 0 0 auto;
  font-size: 1.15em;
  margin: 0;
  font-family: 'myriad_pro_lightregular', helvetica, arial, sans-serif;
  font-weight: normal;
  color: #333;
}

.txn-addr {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 4px;
  font-family: 'myriad_pro_lightregular', helvetica, arial, sans-serif;
  font-size: 17px;
  font-weight: normal;
  color: #555;
  overflow: visible;
  white-space: normal;
}

.txn-direction {
  flex: 0 0 auto;
}

.ic-qr {
  flex-shrink: 0;
}

.addr-link {
  color: #2a6496;
  text-decoration: none;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.addr-link:hover {
  text-decoration: underline;
}

.tag-link-wrap {
  flex: 0 0 auto;
}

.tag-link {
  color: #2a6496;
}

.tag-plain {
  color: #888;
  flex-shrink: 0;
}

.tx-value {
  padding: 16px 30px 20px;
  border-top: 1px solid #eee;
}

.tx-value h4 {
  font-size: 18px;
  font-weight: normal;
  color: #333;
  font-family: 'myriad_pro_lightregular', helvetica, arial, sans-serif;
  margin: 0;
}

.tx-value h4 strong {
  font-family: 'MyriadProSemibold', helvetica, arial, sans-serif;
  font-weight: normal;
}

#estValue,
.more-link {
  color: #2a6496;
  font-family: 'myriad_pro_lightregular', helvetica, arial, sans-serif;
  font-weight: normal;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

.addr-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.addr-qr-col {
  flex: 0 0 230px;
  text-align: center;
}

.addr-qr-col svg {
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  padding: 6px;
}

.addr-stats {
  flex: 1;
  min-width: 0;
}

.dash-3 .sum-col {
  width: 33.333%;
}

.tx-count {
  font-size: 22px;
  font-weight: normal;
  color: #333;
  margin: 30px 0 16px;
  font-family: 'myriad_pro_lightregular', helvetica, arial, sans-serif;
  text-align: left;
}

.tx-hash-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 30px;
  gap: 16px;
}

.tx-hash-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: normal;
  margin: 0 auto;
  min-width: 0;
  flex: 0 0 auto;
}

.tx-hash-title svg {
  position: absolute;
  left: -24px;
  flex-shrink: 0;
}

.hash-link {
  color: #2a6496;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.hash-link:hover {
  text-decoration: underline;
}

.tx-conf {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #333;
  font-size: 13px;
  white-space: nowrap;
  background: #f5f5f5;
  border-radius: 20px;
  padding: 6px 14px;
}

.tx-conf .conf-num {
  color: green;
  font-weight: 600;
}

@media (max-width: 767px) {
  .addr-layout {
    flex-direction: column;
    align-items: center;
  }

  .tx-hash-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.main-footer {
  width: 100%;
  min-height: 120px;
  flex-shrink: 0;
  background: #000;
  padding: 30px;
  color: #515151;
  font-size: 1.2em;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social-label {
  color: #515151;
}

.social {
  display: inline-flex;
  text-decoration: none;
}

.social:hover {
  opacity: 0.8;
  text-decoration: none;
}

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

.btn-gh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #444;
  border: 1px solid #444;
  border-radius: 4px;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
}

.btn-gh:hover {
  background: #555;
  border-color: #555;
  color: #fff;
  text-decoration: none;
}

.footer-right {
  text-align: right;
  line-height: 1.7;
}

.footer-right a {
  color: #515151;
  text-decoration: underline;
}

.footer-right a:hover {
  color: #ffffff;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .search-input {
    width: 160px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .search-input {
    width: 120px;
  }

  .logo-img {
    height: 40px;
  }
}

@media (max-width: 991px) {
  .logo-img {
    height: 40px;
  }

  .summary-card {
    flex-wrap: wrap;
  }

  .sum-col {
    width: 50%;
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }

  .sum-col:nth-child(2) {
    border-right: 0;
  }

  .sum-col:last-child {
    border: 0;
  }

  .txn-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 767px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
  }

  .nav-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .search-input {
    width: 140px;
    flex: 1;
  }

  .page-title {
    font-size: 26px;
  }

  .tagline {
    font-size: 16px;
  }

  .sum-col {
    width: 100%;
  }

  .tx-flow {
    flex-direction: column;
  }

  .tx-col.arrow {
    transform: rotate(90deg);
  }

  .main-footer,
  .main-footer .footer-right {
    text-align: center !important;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
  }
}
