/* Fixes */
.dl-horizontal dt {
    white-space: normal;
}

/* Space out content a bit */
body {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Custom page header */
.header {
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

a.logo {
  background: #04191f;
  padding: 3px;
  text-decoration: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
span.logo-1 {
  font-weight: 700;
  color: #1994b8;
}
span.logo-2 {
  font-weight: 300;
  color: #fff;
}
span.logo-3 {
  color: #fff;
  font-weight: 100;
}

.hash {
  font-family: 'Inconsolata', monospace;
}

/* Custom page footer */
.footer {
  padding-top: 15px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

/* Customize container */
@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}

.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
  padding: 14px 24px;
  font-size: 21px;
}

/* Supporting marketing content */
.marketing {
  margin: 40px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}

.pool-title {
  font-size: 42px;
  font-weight: 700;
  margin: 20px 0 5px 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.35);
}

.pool-subtitle {
  font-size: 16px;
  margin-bottom: 25px;
  color: #ddd;
}

.pool-red {
  color: #c62828;
}

.pool-white {
  color: #ffffff;
}

.pool-blue {
  color: #1565c0;
}

/* DARK MODE (default) */
body {
  background-color: #121212;
  color: #e0e0e0;
}

.panel {
  background-color: #1e1e1e !important;
  border-color: #333 !important;
}

.panel-heading {
  background-color: #222 !important;
  border-color: #333 !important;
  color: #fff !important;
}

.panel-body {
  color: #f0f0f0 !important;
}

.table {
  background-color: #181818 !important;
  color: #f0f0f0 !important;
}

.table > thead > tr > th {
  background-color: #202020 !important;
  color: #ffffff !important;
  border-color: #333 !important;
}

.table > tbody > tr > td {
  background-color: #181818 !important;
  color: #f0f0f0 !important;
  border-color: #2f2f2f !important;
}

.table > tbody > tr:nth-child(even) > td {
  background-color: #202020 !important;
}

input, button {
  background-color: #222;
  color: #fff;
  border: 1px solid #444;
}

a {
  color: #4dabf7;
}

.table > tbody > tr > td.reject-good {
  color: #00c853 !important;
  font-weight: bold !important;
}

.table > tbody > tr > td.reject-warn {
  color: #ffd600 !important;
  font-weight: bold !important;
}

.table > tbody > tr > td.reject-bad {
  color: #ff5252 !important;
  font-weight: bold !important;
}

.hide {
  display: none !important;
}

.reject-good { color: #00c853 !important; font-weight: bold !important; }
.reject-warn { color: #ffd600 !important; font-weight: bold !important; }
.reject-bad  { color: #ff5252 !important; font-weight: bold !important; }

}
#walletDashboard {
  background: linear-gradient(to bottom, #000000, #050505);
}

/* Wallet prompt */
/*#walletPrompt .panel {
  background-color: #111 !important;
}

#walletPrompt h4 {
  color: #ffffff !important;
}

#walletPrompt p {
  color: #dddddd !important;
}
/* Pool Overview title */
h3 {
  color: #4da3ff;
}
/* ===== Header / title area ===== */
.pool-title {
  font-size: 42px;
  font-weight: 700;
  margin: 20px 0 5px 0;
  text-shadow: 0 0 8px rgba(255,255,255,0.08);
}

.pool-subtitle {
  font-size: 16px;
  margin-bottom: 25px;
  color: #d7d7d7;
}

.pool-red {
  color: #c62828;
}

.pool-white {
  color: #ffffff;
}

.pool-blue {
  color: #1565c0;
}

/* Flag gradient bar */
.header-flag-bar {
  height: 8px;
  width: 100%;
  margin: 0 0 18px 0;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    #b71c1c 0%,
    #d32f2f 20%,
    #f5f5f5 45%,
    #ffffff 55%,
    #1565c0 80%,
    #0d47a1 100%
  );
  box-shadow: 0 0 10px rgba(255,255,255,0.12);
}

/* Pool Overview title */
.pool-overview-title {
  color: #4da3ff;
}

/* Wallet prompt */
#walletPrompt .panel {
  background-color: #111 !important;
}

#walletPrompt h4 {
  color: #ffffff !important;
}

#walletPrompt p {
  color: #dddddd !important;
}

#walletDashboard {
  background: linear-gradient(to bottom, #000000, #050505);
  border: 1px solid #aa0000;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  animation: walletFadeIn 0.4s ease-out;
}

#walletDashboard h3 {
  color: #ff4d4d;
}

#walletDashboard h4 {
  color: #00bfff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 6px;
  margin-top: 20px;
}

/* Wallet dashboard fade/slide animation */
@keyframes walletFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reject % glow colors */
.table > tbody > tr > td.reject-good {
  color: #00e676 !important;
  font-weight: bold !important;
  text-shadow: 0 0 6px rgba(0, 230, 118, 0.55);
}

.table > tbody > tr > td.reject-warn {
  color: #ffd600 !important;
  font-weight: bold !important;
  text-shadow: 0 0 6px rgba(255, 214, 0, 0.5);
}

.table > tbody > tr > td.reject-bad {
  color: #ff5252 !important;
  font-weight: bold !important;
  text-shadow: 0 0 7px rgba(255, 82, 82, 0.6);
}
.hide {
  display: none !important;
}

/* Wallet not found / loading polish */
.wallet-loading-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #00c3ff;
  background: #0a0a0a;
  border: 1px solid #00c3ff;
  border-radius: 6px;
  padding: 10px 16px;
  box-shadow: 0 0 8px rgba(0, 195, 255, 0.18);
}

.wallet-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 195, 255, 0.25);
  border-top: 2px solid #00c3ff;
  border-radius: 50%;
  display: inline-block;
  animation: walletSpin 0.8s linear infinite;
}

@keyframes walletSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Wallet card spacing polish */
.wallet-stats-row .panel {
  min-height: 92px;
}

.wallet-stats-row .panel-body {
  text-align: center;
}

#walletDashboard .panel-danger .panel-body h4 {
  margin-top: 0;
  color: #ff6b6b;
}

#walletDashboard .panel-danger .panel-body p {
  margin-bottom: 0;
  color: #f0f0f0;
}
#walletDashboard h4 {
  color: #00bfff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 6px;
  margin-top: 20px;
}
/* Mobile-friendly layout */
@media (max-width: 767px) {
  body {
    padding-left: 8px;
    padding-right: 8px;
  }

  .pool-title {
    font-size: 32px !important;
    line-height: 1.2;
  }

  .pool-subtitle {
    font-size: 16px !important;
  }

  #walletSearchForm {
    display: block !important;
    width: 100%;
  }

  #walletSearchInput {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 10px;
    display: block;
  }

  #walletSearchForm button {
    width: 100%;
    display: block;
    margin-bottom: 8px;
  }

.wallet-stats-row > [class*="col-xs-"] {
  width: 50% !important;
  float: left !important;
}

  #walletDashboard .panel,
  .row.marketing .panel {
    margin-bottom: 12px;
  }

  #walletDashboard h3,
  #walletDashboard h4,
  .pool-overview-title {
    font-size: 20px !important;
  }

  .table-responsive {
    border: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table.table {
    min-width: 700px;
  }

  .panel-body {
    word-break: break-word;
  }

  .header-flag-bar {
    margin-bottom: 10px;
  }

  .container-lg {
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .container-lg,
  .container,
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }

  #walletSearchForm {
    display: block !important;
    width: 100%;
  }

  #walletSearchInput {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 10px;
  }

  #walletSearchForm button,
  #clearWalletSearch {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .pool-title {
    font-size: 34px;
    line-height: 1.2;
  }

  .pool-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }

  .wallet-stats-row > [class*="col-xs-"],
  .row.marketing > .col-xs-1,
  .row.marketing > .col-xs-2,
  .row.marketing > .col-xs-3,
  .row.marketing > .col-xs-4,
  .row.marketing > .col-xs-5,
  .row.marketing > .col-xs-6,
  .row.marketing > .col-xs-7,
  .row.marketing > .col-xs-8,
  .row.marketing > .col-xs-9,
  .row.marketing > .col-xs-10,
  .row.marketing > .col-xs-11,
  .row.marketing > .col-xs-12 {
    float: none;
    width: 100%;
  }

  .wallet-stats-row .panel,
  .row.marketing .panel {
    margin-bottom: 12px;
  }

  .panel-heading,
  .panel-body {
    text-align: center;
  }

  .table-responsive {
    border: 0;
    margin-bottom: 15px;
  }

  .table {
    font-size: 12px;
  }

  .table th,
  .table td {
    white-space: nowrap;
  }

  h3,
  h4 {
    text-align: center;
  }

  .pool-overview-title {
    text-align: center;
  }

  .panel-body p,
  .panel-body li {
    font-size: 14px;
    line-height: 1.4;
  }

  ul {
    padding-left: 20px;
  }
}
