@import url("https://fonts.googleapis.com/css?family=Titillium+Web:400,500,600,700");

.table-sm td,
.table-sm th {
  font-family: Titillium Web;
  text-shadow: none !important;
}

html,
body {
  margin: 35px 0 0;
  padding: 0;
  min-height: 100%
}

body {
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  min-height: 100vh
}

.navbar {
  background: linear-gradient(90deg, #241a3d 0%, #403066 55%, #4d3583 100%);
  box-shadow: 0px 2px 6px #000000;
}

.navbar .navbar-brand {
  color: #FFFFFF
}

.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
  color: #000000
}

.navbar .navbar-nav .nav-link {
  color: #fafafa;
  border-radius: .25rem;
  margin: 0 .25em
}

.navbar .navbar-nav .nav-link:not(.disabled):hover,
.navbar .navbar-nav .nav-link:not(.disabled):focus {
  color: #d9d9d9
}

.navbar .navbar-nav .nav-item.active .nav-link,
.navbar .navbar-nav .nav-item.active .nav-link:hover,
.navbar .navbar-nav .nav-item.active .nav-link:focus,
.navbar .navbar-nav .nav-item.show .nav-link,
.navbar .navbar-nav .nav-item.show .nav-link:hover,
.navbar .navbar-nav .nav-item.show .nav-link:focus {
  color: #000;
  background-color: #d9d9d9
}

.navbar .navbar-toggle {
  border-color: #d9d9d9
}

.navbar .navbar-toggle:hover,
.navbar .navbar-toggle:focus {
  background-color: #d9d9d9
}

.navbar .navbar-toggle .navbar-toggler-icon {
  color: #ecf0f1
}

.navbar .navbar-collapse,
.navbar .navbar-form {
  border-color: #ecf0f1
}

.navbar .navbar-link {
  color: #ecf0f1
}

.navbar .navbar-link:hover {
  color: #000
}

.bottom-border {
  border-bottom: 1px solid #fff;
}

.top-border {
  border-top: 1px solid #fff;
}

#dashboard-info {
  padding: 0;
  min-width: 100%;
  font-size: 15px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px
}

#dashboard-info h1 {
  font-size: 19px;
  text-align: center
}

.aff_url_block {
  width: 322px;
  background: url(images/back.png) repeat center center #292e31;
  color: #fff;
  padding: 6px 10px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-top: 0;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  text-align: center
}

#grey-box {
  display: block;
  background: #403066;
  color: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px
}

#grey-box .title {
  background: #0B0428;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 3px 10px;
  max-width: 50%;
  border-top: 1px solid #232F43;
  margin: 0 auto 10px;
  text-shadow: -1px 0 #232F43, 0 1px #232F43, 1px 0 #232F43, 0 -1px #232F43;
  -webkit-border-bottom-right-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px
}

#grey-box .infobox {
  background: #fff;
  display: block;
  clear: both;
  padding: 6px;
  width: 100%;
  font-size: 14px;
  color: #000;
  margin-bottom: 15px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px
}

#grey-box .content {
  padding: 25px 30px;
  line-height: 22px
}

#grey-box .content h1 {
  font-size: 26px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 5px
}

#home-box {
  display: block;
  background: #232F43;
  color: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

#home-box .content {
  padding: 25px 30px;
  line-height: 22px
}

#home-statistics {
  color: #fff;
  padding: 20px 5px;
  text-align: center;
  font-size: 18px;
  margin-left: -16px;
  margin-right: -16px;
  position: relative;
  z-index: 1;
  -webkit-box-shadow: 0 -3px 4px rgba(50, 50, 50, 0.5), 0 3px 4px rgba(50, 50, 50, 0.5);
  -moz-box-shadow: 0 -3px 4px rgba(50, 50, 50, 0.5), 0 3px 4px rgba(50, 50, 50, 0.5);
  box-shadow: 0 -3px 4px rgba(50, 50, 50, 0.5), 0 3px 4px rgba(50, 50, 50, 0.5)
}

#home-bottom-box {
  display: block;
  background: #232F43;
  color: #fff;
  -webkit-border-bottom-right-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px
}

#home-bottom-box .content {
  padding: 25px 30px
}

#home-bottom-box .content h2 {
  font-size: 26px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 5px
}

#home-box .content h1,
#home-bottom-box .content h1 {
  font-size: 26px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 5px
}

#home-info-box {
  background-color: #403066;
  border-radius: 52px;
  color: #FFFFFF;
  margin: 0 0 15px 0;
  box-shadow: -4px 5px #632a931a;
}

#home-info-box .content {
  padding: 25px 30px
}

#home-info-box .content h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 5px
}

#home-info-box .content hr {
  border: 0;
  height: 1px;
  margin: 10px 0;
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  background: -moz-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  background: -ms-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  background: -o-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0))
}

.home-stats.home-stats {
  background: #403066;
  color: #FFFFFF;
  /* padding: 13px 5px 12px; */
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  -webkit-border-radius: 54px;
  -moz-border-radius: 54px;
  border-radius: 54;
  width: 250px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.home-stats span {
  font-size: 26px;
  font-weight: 600
}

.homebox {
  background: #6d6d6d;
  display: block;
  clear: both;
  border: 1px solid #efefef;
  padding: 25px 12px;
  width: 98%;
  font-size: 14px;
  color: #efefef;
  margin-top: 20px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px
}

.homebox h2 {
  color: #93c52f;
  margin: 4px 2px 12px;
  font-size: 22px;
  text-align: center;
  font-family: Titillium Web;
  text-shadow: 0 1px 0 rgba(12, 12, 12, 0.6)
}

.animated {
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both
}

@-webkit-keyframes shake {

  0%,
  100% {
    -webkit-transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translateX(-10px);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translateX(10px);
  }
}

@-moz-keyframes shake {

  0%,
  100% {
    -moz-transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -moz-transform: translateX(-10px);
  }

  20%,
  40%,
  60%,
  80% {
    -moz-transform: translateX(10px);
  }
}

@-o-keyframes shake {

  0%,
  100% {
    -o-transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -o-transform: translateX(-10px);
  }

  20%,
  40%,
  60%,
  80% {
    -o-transform: translateX(10px);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

.bg-dark {
  background-color: #001926 !important;
}

.shake {
  -webkit-animation-name: shake;
  -moz-animation-name: shake;
  -o-animation-name: shake;
  animation-name: shake
}

.modal-login {
  color: #636363;
}

.modal-login .modal-content {
  padding: 18px 10px 6px;
  border: none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px
}

.modal-login .modal-header {
  border-bottom: none;
  padding: 0;
  position: relative;
  justify-content: center
}

.modal-login h4 {
  text-align: center;
  font-size: 26px
}

.modal-login .form-group {
  position: relative
}

.modal-login i {
  position: absolute;
  left: 13px;
  top: 11px;
  font-size: 18px
}

.modal-login .form-control {
  padding-left: 40px
}

.modal-login .form-control:focus {
  border-color: #00ce81
}

.modal-login .form-control,
.modal-login .btn {
  min-height: 40px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px
}

.modal-login .hint-text {
  text-align: center;
  padding-top: 10px
}

.modal-login .close {
  position: absolute;
  top: -5px;
  right: 3px;
}

.modal-login .btn {
  background: #00ce81;
  border: none;
  line-height: normal
}

.modal-login .btn:hover,
.modal-login .btn:focus {
  background: #00bf78
}

.modal-login .modal-footer {
  background: #ecf0f1;
  border-color: #dee4e7;
  text-align: center;
  margin: 0 -10px -6px;
  font-size: 13px;
  justify-content: center;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px
}

.modal-login .modal-footer a {
  color: #999
}

.affiliate-url .form-group {
  position: relative
}

.affiliate-url i {
  position: absolute;
  left: 13px;
  top: 11px;
  font-size: 18px
}

.affiliate-url .form-control {
  padding-left: 40px
}

.affiliate-url .form-control:focus {
  border-color: #00ce81
}

.static-bottom {
  right: 0;
  bottom: 0;
  left: 0;
  position: relative;
  border-width: 1px 1px 0
}

.footer_copyright {
  text-decoration: none;
  color: #ecf0f1
}

.footer_copyright:hover,
.footer_copyright:focus {
  text-decoration: none;
  color: #d9d9d9
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .1)
}

.box-style {
  border: 1px solid #ccc
}

.copyright {
  font-size: 12px
}

.membership-option {
  background: #212529;
  color: #fff
}

.membership-block {
  font-weight: 300;
  margin: -10px 0 10px;
  padding: 3px 2px;
  font-size: 21px;
  color: #000;
  padding: 8px 6px;
  display: inline-block;
  background: #efefef;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px
}

.membership-block b {
  font-weight: 600
}

.bitcoin-value {
  font-size: 21px;
  font-weight: 600
}

#aff-block {
  margin: 5px 0 20px;
  display: block;
  padding: 8px 10px 5px;
  background-color: #fff;
  color: #0e6083;
  font-size: 13px;
  text-align: left;
  border: 1px solid #08546b;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px
}

#aff-block .title {
  display: block;
  font-weight: 700;
  text-align: center;
  font-size: 18px;
  background-color: #08546b;
  color: #fff;
  margin: -23px auto 0;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px
}

#aff-block .aff_block_p {
  margin-bottom: 0;
  margin-top: 10px;
  display: block;
  text-align: center;
  font-size: 11px
}

#aff-block .aff_content_bottom {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-top: 14px
}

#aff-block .aff_block_p2 {
  display: block;
  background-color: #bedee2;
  margin: 9px 5px 0;
  padding: 4px 0;
  text-align: center;
  color: #0d5675;
  font-size: 18px;
  border: 1px solid #84afba;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  text-decoration: none
}

#aff-block .aff_block_p2 a {
  color: #0b516f
}

#aff-block .aff_block_p2:hover {
  background-color: #c2e2e6;
  border-color: #93c2cf
}

#aff-banner {
  padding: 4px 10px;
  background-color: #fff;
  color: #0e6083;
  border: 1px solid #08546b;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px
}

.aff-banner-title {
  display: block;
  margin: 0 auto;
  font-weight: 700;
  text-align: center;
  font-size: 18px;
  padding: 1px;
  background-color: #08546b;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px
}

.winner_block {
  display: block;
  position: relative;
  text-align: left;
  float: left;
}

.winner_block .inside {
  border: 1px solid #b6b6b6;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 #fff;
  color: #77787b;
  background: #efefef;
  -webkit-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
  -moz-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px
}

.winner_block .inside p,
h1,
h2,
h3,
h4 {
  color: #77787b
}

.winner_block .inside .winner {
  font-size: 16px;
  background: #6dbd4c;
  padding: 1px 4px 4px;
  text-shadow: 0;
  color: #fff;
  margin: -1px -1px 10px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.ribbon-green {
  background: #5bab3a;
  height: 32px;
  right: 8px;
  color: #fff;
  text-shadow: 0 1px 0 #4e8636;
  margin: -1px 0 -10px;
  position: absolute;
  width: 40px;
  padding-top: 4px;
  font-size: 18px;
  text-align: center
}

.ribbon-green:after,
.ribbon-green:before {
  border-top: 15px solid #5bab3a;
  content: '';
  height: 0;
  position: absolute;
  top: 100%;
  width: 0
}

.ribbon-green:after {
  border-left: 20px solid transparent;
  right: 0
}

.ribbon-green:before {
  border-right: 20px solid transparent;
  left: 0
}

#loterry_stats {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.85);
  font-size: 25px;
  font-weight: 700;
  line-height: 39px;
  color: #fff;
  font-family: Titillium Web;
  padding: 1px 30px;
  margin-bottom: 10px;
  background: #506377;
  background: -moz-linear-gradient(top, #506377 0%, #232F43 100%);
  background: -webkit-linear-gradient(top, #506377 0%, #232F43 100%);
  background: linear-gradient(to bottom, #506377 0%, #232F43 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#506377', endColorstr='#232F43', GradientType=0);
  border: 2px solid #232F43;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px
}

#loterry_stats_header {
  display: table;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.85);
  font-size: 14px;
  line-height: 19px;
  padding: 5px 12px;
  color: #fff;
  font-family: Titillium Web;
  margin: 0 auto;
  text-align: center;
  background: #232F43;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px
}

.lottery_sidebar_link,
.lottery_sidebar_link:hover {
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  color: #fff
}

.lotteryTitleBox {
  display: table;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  padding: 6px 15px;
  background-color: #506377;
  margin: 0 auto;
  border: 2px solid #33433B;
  border-bottom: 0;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px
}

.lotteryCountdownBox {
  text-align: center;
  padding: 15px 10px 0;
  background: #506377;
  background: -moz-linear-gradient(top, #506377 0%, #33433B 100%);
  background: -webkit-linear-gradient(top, #506377 0%, #33433B 100%);
  background: linear-gradient(to bottom, #506377 0%, #33433B 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#506377', endColorstr='#33433B', GradientType=0);
  margin: 0 auto 25px;
  border: 2px solid #33433B;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px
}

.lotteryCountdownBox .timer .timer-wrapper {
  display: inline-block;
  padding: 10px 5px;
  width: 100px
}

.lotteryCountdownBox .timer .timer-wrapper .time {
  font-size: 48px;
  font-weight: 700;
  color: #fff
}

.lotteryCountdownBox .timer .timer-wrapper .text {
  font-size: 14px;
  color: #fff
}

.lotteryTop {
  background-color: #403066;
  padding: 7px 10px 5px;
  color: #fff;
  margin-top: 45px;
  box-shadow: 0px 0px 8px 2px #000000;
  border-radius: 3px;
  border: 1px solid #fff;
}

.sidebarLottery {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 0 auto 5px;
  border: 1px solid #999;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px
}

.sidebarLottery .timer .timer-wrapper {
  display: inline-block;
  margin: 0 9px
}

.sidebarLottery .timer .timer-wrapper .time {
  font-size: 28px;
  font-weight: 700;
  color: #fff
}

.sidebarLottery .timer .timer-wrapper .text {
  font-size: 11px;
  color: #fff
}

.marquee {
  float: right;
  width: 80%;
  padding: 0 0 5px;
  overflow: hidden
}

.marquee ul li {
  display: inline-block;
  margin-right: 25px
}

.marquee ul li span {
  vertical-align: 4px
}

.marquee ul li span.user {
  font-weight: 700
}

.marquee ul li span.method {
  vertical-align: -2px
}

#sidebar-block {
  background: #e3ddf0;
  padding: 0;
  width: 100%;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08);
}

#sidebar-block:not(.ebm-sb-earn) {
  overflow: hidden !important
}

body.dark-mode #sidebar-block {
  background: #1c1830;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3)
}

#sidebar-block hr {
  border: 0;
  height: 1px;
  margin: 10px 0;
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  background: -moz-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  background: -ms-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  background: -o-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0))
}

#sidebar-block .menu {
  padding: 7px 2px
}

#sidebar-block .content {
  padding: 14px 16px;
  margin: 0;
  color: #333;
  font-size: 12.5px;
  border-radius: 0 0 16px 16px;
}

body.dark-mode #sidebar-block .content {
  color: #e8e6f0
}

#sidebar-block .inner {
  padding: 8px 3px 1px;
  margin-bottom: 5px;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px
}

#sidebar-block .manager {
  display: block;
  margin: 1px 2px 8px
}

#sidebar-block .block {
  width: 100%;
  background: #f8f9fa;
  border-radius: 3px;
  padding: 2px 3px 5px;
  color: #505050
}

#sidebar-block .block .data {
  width: 100%;
  padding: 2px 3px 5px;
  font-size: 14px;
  line-height: 14px;
  text-decoration: none;
  color: #505050
}

#sidebar-block .data {
  width: 100%;
  padding: 2px 3px 5px;
  font-size: 14px;
  line-height: 14px;
  text-decoration: none;
  color: #fff
}

#sidebar-block .level {
  width: 100%;
  background: #f8f9fa;
  border-radius: 3px;
  margin-top: 5px;
  padding: 4px;
  font-size: 14px;
  line-height: 14px;
  text-decoration: none;
  color: #505050
}

#sidebar-block .user {
  background: #EBEBEB;
  padding: 5px 5px 1px;
  margin: -6px -6px 0;
  color: #fff;
  color: #000;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

#sidebar-block .user .info {
  vertical-align: middle;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.7)
}

#sidebar-block .user .info span {
  display: inline-block;
  vertical-align: middle;
  text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.7)
}

#sidebar-block .user .logout {
  font-size: 11px;
  margin-top: -10px
}

#sidebar-block .user .logout a {
  color: #505050
}

#sidebar-block .title {
  background: linear-gradient(90deg, #241a3d 0%, #403066 60%, #4d3583 100%);
  margin: 0;
  padding: 14px 16px;
  color: #fff;
  border-bottom: none;
  font-weight: 700;
  font-size: 14px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

#sidebar-footer {
  background: #faf9fc !important;
  font-size: 11px;
  margin-top: -2px;
  padding: 8px 12px;
  text-align: center;
  width: 100%;
  border: none;
  color: #8a8398;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
}

body.dark-mode #sidebar-footer {
  background: #241d3d !important;
  color: #a8a2c0
}

#sidebar-ads {
  background: #232F43;
  padding: 2px 0;
  width: 100%;
  border: 1px solid #232F43;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.sidebar-stats {
  margin-top: -2px;
  background: #fff;
  color: #232F43;
  padding: 4px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  border: 2px solid #232F43;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.sidebar-stats .badge {
  background: #113449;
  color: #fff;
}

.sidebar-stats span {
  font-size: 16px;
  font-weight: 600
}

.price_block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: linear-gradient(135deg, #241a3d, #403066);
  padding: 14px 18px;
  margin: 14px 0 0;
  font-size: 14px;
  color: #fff;
  border: none;
  border-radius: 14px;
}

.price_block .text {
  display: inline-block;
  margin: 0;
  font-weight: 600;
}

.price_block .text b {
  color: #ffb020
}

.pay_block {
  display: inline-block;
  margin: 0;
  float: none;
}

.pay_block .btn {
  border-radius: 50px !important;
  font-weight: 700;
  padding: 8px 22px !important;
  border: none !important
}

.box {
  background: #f8f9fa;
  padding: 10px;
  color: #000;
  margin-bottom: 10px;
  border: 1px solid #0B0428;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px
}

#countdown {
  font-size: 16px;
  padding: 5px 5px 13px
}

.footer {
  display: flex
}

.btn-signup {
  font-weight: 600
}

.hidden {
  display: none
}

hr.global {
  border: 0;
  height: 1px;
  margin: 10px 0;
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  background: -moz-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  background: -ms-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  background: -o-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0))
}

.borderless td,
.borderless th {
  border: none
}

#luckyNumber {
  display: block;
  min-height: 60px;
  font-size: 70px;
  font-weight: 800;
  text-align: center;
  margin: 10px 0 2px;
  color: #403066
}

body.dark-mode #luckyNumber {
  color: #ffb020
}

pre {
  background: #f8f9fa;
  padding: 6px;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px
}

.ebm-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.website_block {
  background: #fff;
  overflow: hidden;
  position: relative;
  width: auto;
  border: 1px solid #eee;
  margin: 0;
  padding: 0 0 12px;
  text-align: center;
  color: #444;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(64, 48, 102, 0.08);
}

.website_block .website_title {
  background: linear-gradient(90deg, #241a3d, #403066);
  color: #fff;
  padding: 10px 28px 10px 10px;
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.website_block .description {
  margin: 8px 10px 0;
  display: block;
  height: 90px;
  padding: 8px 10px;
  background: #faf9fc;
  color: #444;
  font-size: 13px;
  line-height: 1.4;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.website_block .description::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: linear-gradient(rgba(250, 249, 252, 0), rgba(250, 249, 252, 1));
}

.ebm-video-meta {
  display: flex;
  gap: 6px;
  padding: 0 10px;
  margin-bottom: 8px
}

.website_block .reward,
.website_block .time {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  padding: 7px 4px;
  background: #faf9fc;
  color: #403066;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #eee;
  border-radius: 10px;
}

.website_block .reward span {
  color: #2ecc71
}

.website_block .time i {
  color: #7c4dff
}

.website_block .btn {
  margin-left: 10px;
  width: calc(100% - 20px) !important
}

.website_block.visited {
  opacity: .75
}

.website_block .countdown-btn {
  background: #eee !important;
  color: #8a8398 !important;
  border: none !important;
  font-weight: 700;
  border-radius: 50px !important;
}

.notify-icon {
  padding: 5px;
  width: 25px
}

.notify-icon-fa {
  line-height: 46px
}

.notification {
  display: inline-block;
  position: relative;
  padding: 8px 12px;
  background: #3498db;
  border-radius: 3px;
  font-size: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  text-decoration: none
}

.notification:hover {
  background: #2d87c3;
  text-decoration: none
}

.notification::before,
.notification::after {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3)
}

.notification::before {
  display: block;
  content: "\f0f3";
  font-family: "Font Awesome 5 Free";
  transform-origin: top center
}

.notification::after {
  font-family: Titillium Web;
  font-size: 11px;
  font-weight: 700;
  position: absolute;
  top: -15px;
  right: -15px;
  padding: 5px 8px;
  line-height: 100%;
  border: 2px #fff solid;
  border-radius: 60px;
  background: #3498db;
  opacity: 0;
  content: attr(data-count);
  opacity: 0;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  transition: transform, opacity;
  transition-duration: .3s;
  transition-timing-function: ease-out
}

.notification.notify::before {
  -webkit-animation: ring 1.5s ease;
  animation: ring 1.5s ease
}

.notification.show-count::after {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1
}

.tagline {
  border-bottom: 1px solid #D6D6D6;
  margin-bottom: 25px;
  text-align: center
}

.tagline span {
  display: inline-block;
  font-size: 12px;
  color: #666;
  font-weight: bold;
  background: none repeat scroll 0% 0% #FFF;
  padding: 3px 5px 4px;
  position: relative;
  top: 14px;
  border: 1px solid #D6D6D6;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px
}

.blog_comment {
  margin: 10px auto;
  background: #efefef;
  border: solid 1px #0B0428;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #696969
}

.com_title {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #fff;
  padding: 5px;
  background: #0B0428;
  border-bottom: solid 1px #1d1d1d;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px
}

.comments_wrap {
  overflow: hidden;
  margin: 5px auto;
  background: #efefef;
  border: 1px solid #0B0428;
  border-radius: 5px
}

.comments_wrap .content_text {
  padding: 10px 5px;
  overflow: hidden;
  text-align: justify;
  color: #464646
}

.comments_wrap .content_top {
  padding: 1px 5px 4px;
  background: #0B0428;
  color: #fff;
  border-bottom: 1px dotted #fff
}

@-webkit-keyframes ring {
  0% {
    -webkit-transform: rotate(35deg)
  }

  12.5% {
    -webkit-transform: rotate(-30deg)
  }

  25% {
    -webkit-transform: rotate(25deg)
  }

  37.5% {
    -webkit-transform: rotate(-20deg)
  }

  50% {
    -webkit-transform: rotate(15deg)
  }

  62.5% {
    -webkit-transform: rotate(-10deg)
  }

  75% {
    -webkit-transform: rotate(5deg)
  }

  100% {
    -webkit-transform: rotate(0)
  }
}

@keyframes ring {
  0% {
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg)
  }

  12.5% {
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg)
  }

  25% {
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg)
  }

  37.5% {
    -webkit-transform: rotate(-20deg);
    transform: rotate(-20deg)
  }

  50% {
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg)
  }

  62.5% {
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg)
  }

  75% {
    -webkit-transform: rotate(5deg);
    transform: rotate(5deg)
  }

  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }
}

.modal-close {
  margin: 0;
  position: absolute;
  top: -10px;
  right: -10px;
  width: 25px;
  height: 25px;
  background-color: #333;
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 13px;
  z-index: 11;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.no-space {
  margin-right: 0;
  padding-left: 0;
}

ad,
l {
  font-size: 10px;
  padding: 0 4px;
  border-radius: 4px;
  margin-left: 5px;
  height: 19px;
  line-height: 17px;
  display: inline-block;
  font-weight: 600
}

ad {
  border: 1px solid #ffa097;
  color: #f4786b
}

l {
  border: 1px solid #757575;
  color: #b6b6b6
}

l::before {
  content: "Lvl "
}

l::after {
  content: attr(class)
}

ad::before {
  content: "Admin"
}

@media only screen and (max-width: 800px) {
  #payouts {
    display: none;
  }
}

@media only screen and (min-width: 800px) {
  #desktop {
    display: none;
  }
}

#altcoin img {
  margin-left: 1.8%;
  margin-right: 10;
}

footer.mt-3 {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
}

main.container {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;
}

#side_ad {
  position: fixed;
  top: 110px;
  right: 200px;
  padding: 100px;
  width: 160px;
  z-index: 111111
}

@media only screen and (max-width: 1800px) {
  #side_ad {
    display: none;
  }

  .right-ads,
  .left-ads {
    display: none;
  }
}

.right-ads {
  position: fixed;
  right: 200px;
  top: 180px;
  transition: opacity .2s ease;
}

.left-ads {
  position: fixed;
  left: 200px;
  top: 180px;
  transition: opacity .2s ease;
}

.bb-flex-h-start-center {
  color: white;
}

@media screen and (max-width:621px) {

  .right-ads,
  .left-ads {
    display: none;
  }
}

.widget-design-leaderboard.bb-padding-10.bb-width-100.bb-height-100.widget__component.bb-cursor-pointer {
  background-color: black;
  color: white;
  border-radius: 20px;
  height: 700px;
}

.odometer {
  font-size: 40px;
  margin-bottom: 27px;
  color: #222
}

.odometer.odometer-auto-theme,
.odometer.odometer-theme-digital {
  display: inline-block;
  vertical-align: middle;
  position: relative
}

.odometer.odometer-auto-theme .odometer-digit,
.odometer.odometer-theme-digital .odometer-digit {
  display: inline-block;
  vertical-align: middle;
  position: relative
}

.odometer.odometer-auto-theme .odometer-digit .odometer-digit-spacer,
.odometer.odometer-theme-digital .odometer-digit .odometer-digit-spacer {
  display: inline-block;
  vertical-align: middle;
  visibility: hidden
}

.odometer.odometer-auto-theme .odometer-digit .odometer-digit-inner,
.odometer.odometer-theme-digital .odometer-digit .odometer-digit-inner {
  text-align: left;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden
}

.odometer.odometer-auto-theme .odometer-digit .odometer-ribbon,
.odometer.odometer-theme-digital .odometer-digit .odometer-ribbon {
  display: block
}

.odometer.odometer-auto-theme .odometer-digit .odometer-ribbon-inner,
.odometer.odometer-theme-digital .odometer-digit .odometer-ribbon-inner {
  display: block;
  -webkit-backface-visibility: hidden
}

.odometer.odometer-auto-theme .odometer-digit .odometer-value,
.odometer.odometer-theme-digital .odometer-digit .odometer-value {
  display: block;
  -webkit-transform: translateZ(0)
}

.odometer.odometer-auto-theme .odometer-digit .odometer-value.odometer-last-value,
.odometer.odometer-theme-digital .odometer-digit .odometer-value.odometer-last-value {
  position: absolute
}

.odometer.odometer-auto-theme.odometer-animating-up .odometer-ribbon-inner,
.odometer.odometer-theme-digital.odometer-animating-up .odometer-ribbon-inner {
  -webkit-transition: -webkit-transform 2s;
  -moz-transition: -moz-transform 2s;
  -ms-transition: -ms-transform 2s;
  -o-transition: -o-transform 2s;
  transition: transform 2s
}

.odometer.odometer-auto-theme.odometer-animating-up.odometer-animating .odometer-ribbon-inner,
.odometer.odometer-theme-digital.odometer-animating-up.odometer-animating .odometer-ribbon-inner {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%)
}

.odometer.odometer-auto-theme.odometer-animating-down .odometer-ribbon-inner,
.odometer.odometer-theme-digital.odometer-animating-down .odometer-ribbon-inner {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%)
}

.odometer.odometer-auto-theme.odometer-animating-down.odometer-animating .odometer-ribbon-inner,
.odometer.odometer-theme-digital.odometer-animating-down.odometer-animating .odometer-ribbon-inner {
  -webkit-transition: -webkit-transform 2s;
  -moz-transition: -moz-transform 2s;
  -ms-transition: -ms-transform 2s;
  -o-transition: -o-transform 2s;
  transition: transform 2s;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0)
}

.odometer.odometer-auto-theme,
.odometer.odometer-theme-digital {
  background-size: 100%;
  font-family: Wallpoet, monospace;
  padding: 0 .2em;
  line-height: 1.1em
}

.odometer.odometer-auto-theme .odometer-digit+.odometer-digit,
.odometer.odometer-theme-digital .odometer-digit+.odometer-digit {
  margin-left: .1em
}

#coinflip {
  position: relative;
  margin: 0 auto;
  width: 150px;
  height: 150px;
  cursor: pointer
}

#coinflip div {
  width: 100%;
  height: 100%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-box-shadow: inset 0 0 45px rgba(255, 255, 255, .3), 0 12px 20px -10px rgba(0, 0, 0, .4);
  -moz-box-shadow: inset 0 0 45px rgba(255, 255, 255, .3), 0 12px 20px -10px rgba(0, 0, 0, .4);
  box-shadow: inset 0 0 45px rgba(255, 255, 255, .3), 0 12px 20px -10px rgba(0, 0, 0, .4)
}

#bitcoin {
  background: url(images/flip/bitcoin.png) no-repeat center;
  background-size: contain;
  height: 200px
}

#ethereum {
  background: url(images/flip/ethereum.png) no-repeat center;
  background-size: contain;
  height: 200px
}

#coinflip {
  transition: -webkit-transform 1s ease-in;
  -webkit-transform-style: preserve-3d
}

#coinflip div {
  position: absolute;
  -webkit-backface-visibility: hidden
}

#bitcoin {
  z-index: 100
}

#ethereum {
  -webkit-transform: rotateY(-180deg)
}

#coinflip.heads {
  -webkit-animation: flipHeads 3s cubic-bezier(.39, .96, 1, 1) forwards;
  -moz-animation: flipHeads 3s cubic-bezier(.39, .96, 1, 1) forwards;
  -o-animation: flipHeads 3s cubic-bezier(.39, .96, 1, 1) forwards;
  animation: flipHeads 3s cubic-bezier(.39, .96, 1, 1) forwards
}

#coinflip.tails {
  -webkit-animation: flipTails 3s cubic-bezier(.39, .96, 1, 1) forwards;
  -moz-animation: flipTails 3s cubic-bezier(.39, .96, 1, 1) forwards;
  -o-animation: flipTails 3s cubic-bezier(.39, .96, 1, 1) forwards;
  animation: flipTails 3s cubic-bezier(.39, .96, 1, 1) forwards
}

#coinflip.wait {
  -webkit-animation: flipWait 300s cubic-bezier(.39, .96, 1, 1) forwards;
  -moz-animation: flipWait 300s cubic-bezier(.39, .96, 1, 1) forwards;
  -o-animation: flipWait 300s cubic-bezier(.39, .96, 1, 1) forwards;
  animation: flipWait 300s cubic-bezier(.39, .96, 1, 1) forwards
}

@-webkit-keyframes flipWait {
  from {
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
    transform: rotateY(0)
  }

  to {
    -webkit-transform: rotateY(180000deg);
    -moz-transform: rotateY(180000deg);
    transform: rotateY(180000deg)
  }
}

@-webkit-keyframes flipHeads {
  from {
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
    transform: rotateY(0)
  }

  to {
    -webkit-transform: rotateY(1800deg);
    -moz-transform: rotateY(1800deg);
    transform: rotateY(1800deg)
  }
}

@-webkit-keyframes flipTails {
  from {
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
    transform: rotateY(0)
  }

  to {
    -webkit-transform: rotateY(1980deg);
    -moz-transform: rotateY(1980deg);
    transform: rotateY(1980deg)
  }
}

@media screen and (min-width:100px) and (max-width:400px) {
  .scratch-ticket {
    transform: scale(.5);
    -webkit-transform: scale(.5);
    -ms-transform: scale(.5);
    transform-origin: 0 50%;
    -webkit-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%
  }
}

@media screen and (min-width:400px) and (max-width:500px) {
  .scratch-ticket {
    transform: scale(.65);
    -webkit-transform: scale(.65);
    -ms-transform: scale(.65);
    transform-origin: 0 50%;
    -webkit-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%
  }
}

@media screen and (min-width:500px) and (max-width:600px) {
  .scratch-ticket {
    transform: scale(.75);
    -webkit-transform: scale(.75);
    -ms-transform: scale(.75);
    transform-origin: 0 50%;
    -webkit-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%
  }
}

@media screen and (min-width:600px) and (max-width:770px) {
  .scratch-ticket {
    transform: scale(.8);
    -webkit-transform: scale(.8);
    -ms-transform: scale(.8);
    transform-origin: 0 50%;
    -webkit-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%
  }
}

@media screen and (min-width:770px) and (max-width:990px) {
  .scratch-ticket {
    transform: scale(.6);
    -webkit-transform: scale(.6);
    -ms-transform: scale(.6);
    transform-origin: 0 50%;
    -webkit-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%
  }
}

.interest_item {
  background: #f5f5f5;
  overflow: hidden;
  position: relative;
  width: 100%;
  border: 2px solid #081A28;
  margin: 0;
  padding: 3px;
  text-align: center;
  color: #666;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px
}

.interest_item .interest_title {
  background: #081A28;
  color: #fff;
  padding: 3px 2px 6px;
  display: block;
  margin: -3px -3px 3px
}

.interest_item .interest_img {
  max-height: 100px;
  margin-bottom: 5px;
}

.interest_item .info {
  text-align: left;
  margin: 0 auto 5px;
  display: inline-block;
  padding: 2px 3px;
  background: #fff;
  color: #444;
  font-size: 13px;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px
}

.interest_item .info span {
  text-align: right;
  float: right;
  color: #4c7d00
}

.interest_item .time {
  margin: 10px auto;
  display: inline-block;
  width: 62px;
  padding: 2px 3px;
  background: #fff;
  color: #444;
  font-size: 13px;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px
}

.user-level {
  display: inline-block;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 12px;
  text-transform: uppercase;
  margin-left: 5px;
  color: white;
}

/* Level 1-5 (Red) */
.user-level.lvl-red {
  background: linear-gradient(45deg, #ff4d4d, #cc0000);
}

/* Level 6-10 (Orange) */
.user-level.lvl-orange {
  background: linear-gradient(45deg, #ff9933, #ff6600);
}

/* Level 11-15 (Yellow) */
.user-level.lvl-yellow {
  background: linear-gradient(45deg, #ffdb4d, #ffcc00);
  color: black;
}

/* Level 16-20 (Green) */
.user-level.lvl-green {
  background: linear-gradient(45deg, #33cc33, #009900);
}

/* Level 21-25 (Blue) */
.user-level.lvl-blue {
  background: linear-gradient(45deg, #3399ff, #0066cc);
}

/* Level 26-30 (Purple) */
.user-level.lvl-purple {
  background: linear-gradient(45deg, #cc66ff, #9933cc);
}

/* Level 31-35 (Dark Gray) */
.user-level.lvl-dark {
  background: linear-gradient(45deg, #666666, #333333);
}

/* Level 36-40 (Elite Gold) */
.user-level.lvl-elite {
  background: linear-gradient(45deg, #ffcc00, #ff8800);
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
}

@media (max-width: 768px) {
  nav.navbar .dropdown-menu {
    position: static !important;
    /* Make dropdown flow within the layout */
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
  }
}

@media (min-width: 992px) {

  .navbar-nav .dropdown.show>a.dropdown-toggle:not(.btn),
  .navbar-nav .dropdown:hover>a.dropdown-toggle:not(.btn),
  .navbar-nav .dropdown>a.dropdown-toggle:not(.btn):focus,
  .navbar-nav .dropdown>a.dropdown-toggle:not(.btn):hover {
    background-color: transparent !important;
    color: #fff !important;
    font-weight: bold;
  }
}

/* DARK MODE OVERRIDES */
body.dark-mode {
  background-color: #121212 !important;
  color: #ffffff !important;
}

body.dark-mode .navbar,
body.dark-mode #dashboard-info,
body.dark-mode #grey-box,
body.dark-mode #home-box,
body.dark-mode #home-info-box,
body.dark-mode #home-bottom-box,
body.dark-mode #sidebar-block {
  background-color: #232f43 !important;
  color: #fff !important;
}

body.dark-mode .dropdown-menu,
body.dark-mode .modal-content {
  background-color: #2a2a3d !important;
  color: #fff !important;
  border-color: #444 !important;
}

/* OPRAVA – čitateľný text v dropdown menu */
body.dark-mode .dropdown-menu a,
body.dark-mode .dropdown-menu .dropdown-item {
  color: #ffffff !important;
}

/* Hover efekt pre položky v dropdown menu */
body.dark-mode .dropdown-menu a:hover,
body.dark-mode .dropdown-menu .dropdown-item:hover {
  background-color: #3a3a50 !important;
  color: #ffffff !important;
}

/* Neaktívne alebo disabled položky v dropdown menu */
body.dark-mode .dropdown-menu .dropdown-item.disabled,
body.dark-mode .dropdown-menu .disabled {
  color: #888888 !important;
}

body.dark-mode .navbar-nav .nav-link {
  color: #f0f0f0 !important;
}

body.dark-mode .navbar-nav .nav-link:hover {
  color: #ffffff !important;
}

body.dark-mode .homebox,
body.dark-mode .box,
body.dark-mode .price_block {
  background-color: #2b2b3d !important;
  color: #fff !important;
}

/* DARK MODE - Karty, text, formuláre */
body.dark-mode .card {
  background-color: #2a2a3d !important;
  color: #ffffff !important;
}

body.dark-mode .card-header {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
  border-bottom: 1px solid #444;
}

body.dark-mode .form-control {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
  border-color: #444 !important;
}

body.dark-mode label {
  color: #ffffff !important;
}

body.dark-mode .form-control::placeholder {
  color: #cccccc !important;
}

/* DARK MODE – tabuľka "Previous Games" */
body.dark-mode .table {
  color: #ffffff !important;
  background-color: #2a2a3d !important;
}

body.dark-mode .table thead {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
}

body.dark-mode .table-striped tbody tr:nth-of-type(odd) {
  background-color: #2f2f3f;
}

body.dark-mode .table-striped tbody tr:nth-of-type(even) {
  background-color: #252535;
}

/* DARK MODE – Challenges cards */
body.dark-mode .card {
  background-color: #2a2a3d !important;
  color: #ffffff !important;
}

body.dark-mode .card-header {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
}

body.dark-mode .card-body,
body.dark-mode .card-title {
  color: #ffffff !important;
}

body.dark-mode .card-footer {
  background-color: #1e1e2f !important;
  color: #dddddd !important;
}

/* Texty ako "Progress" a malé texty */
body.dark-mode .card-body small,
body.dark-mode .card-footer small {
  color: #cccccc !important;
}

/* Ak sa používa text-muted */
body.dark-mode .text-muted {
  color: #bbbbbb !important;
}

/* Oprava alert boxov */
body.dark-mode .alert-info {
  background-color: #3a3a50 !important;
  color: #ffffff !important;
  border-color: #444 !important;
}

body.dark-mode .alert-success {
  background-color: #284e2c !important;
  color: #d4edda !important;
  border-color: #1b3e22 !important;
}

body.dark-mode .alert-danger {
  background-color: #5c1f1f !important;
  color: #f8d7da !important;
  border-color: #842029 !important;
}

body.dark-mode .table tbody,
body.dark-mode .table-light,
body.dark-mode .table tbody td {
  background-color: #2b2b3b !important;
  color: #ffffff !important;
}

/* DARK MODE – blog karty a obsah */
body.dark-mode .card {
  background-color: #2a2a3d !important;
  color: #ffffff !important;
  border: 1px solid #444 !important;
}

body.dark-mode .card-header {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
}

body.dark-mode .card-body {
  color: #ffffff !important;
}

body.dark-mode .card a,
body.dark-mode .card a.text-dark {
  color: #ffcc66 !important;
}

body.dark-mode .card a.text-dark:hover {
  color: #ffd98e !important;
}

/* Blockquote a meta texty */
body.dark-mode blockquote {
  color: #ffffff !important;
}

body.dark-mode .blockquote-footer {
  color: #bbbbbb !important;
}

/* Komentáre */
body.dark-mode .comments_wrap {
  background-color: #1f1f2f;
  border: 1px solid #333;
  color: #ffffff;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
}

body.dark-mode .comments_wrap .content_top {
  font-weight: bold;
  margin-bottom: 5px;
  color: #ffffff;
}

body.dark-mode .comments_wrap .content_text {
  color: #dddddd;
}

/* Textarea na nový komentár */
body.dark-mode textarea.form-control {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
  border-color: #444 !important;
}

/* Paginácia */
body.dark-mode .pagination .page-link {
  background-color: #1e1e2f;
  color: #ffffff;
  border-color: #444;
}

body.dark-mode .pagination .page-item.active .page-link {
  background-color: #343a40;
  border-color: #444;
  color: #ffffff;
}

.btn-outline-purple {
  color: #6f42c1;
  border: 1px solid #6f42c1;
  background-color: transparent;
}

.btn-outline-purple:hover {
  background-color: #6f42c1;
  color: #fff;
}

/* DARK MODE – fialová s vyšším kontrastom */
body.dark-mode .btn-outline-purple {
  color: #c7a9ff;
  border-color: #c7a9ff;
}

body.dark-mode .btn-outline-purple:hover {
  background-color: #c7a9ff;
  color: #121212;
}

/* Odznaky (badge) */
.badge-purple {
  background-color: #6f42c1;
  color: #fff;
}

body.dark-mode .site-logo {
  content: url('/files/logo/logo_dark.gif');
  /* Uprav cestu podľa tvojho dark loga */
}

body.dark-mode #sidebar-footer {
  color: #cccccc !important;
  background-color: transparent !important;
}

/* Hlavný blok sidebaru */
body.dark-mode #sidebar-block {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
}

/* Vnútorný blok (obsah) */
body.dark-mode #sidebar-block .inner {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
}

/* Texty vo vnútri (bez ohľadu na farebné triedy) */
body.dark-mode #sidebar-block .data,
body.dark-mode #sidebar-block .data a,
body.dark-mode #sidebar-block .level,
body.dark-mode #sidebar-block .progress,
body.dark-mode #sidebar-block .logout a {
  color: #ffffff !important;
}

/* Ikonky ktoré majú preddefinované farby ako .text-dark */
body.dark-mode #sidebar-block .text-dark {
  color: #e0e0e0 !important;
}

/* Biele pozadie na progress bare a ďalších boxoch */
body.dark-mode #sidebar-block .progress {
  background-color: #343a40 !important;
}

body.dark-mode #sidebar-block .progress-bar {
  background-color: #4caf50 !important;
  /* Zelená progress bar */
}

body.dark-mode #sidebar-block .block {
  background-color: #2a2a3d !important;
  color: #ffffff !important;
}

body.dark-mode #sidebar-block .level {
  background-color: #2a2a3d !important;
  color: #ffffff !important;
}

body.dark-mode #sidebar-block .user {
  background-color: #2f2f3f !important;
  color: #ffffff !important;
}

body.dark-mode #sidebar-block .user a {
  color: #cccccc !important;
}

body.dark-mode #sidebar-block .user a:hover {
  color: #ffffff !important;
}

body.dark-mode #sidebar-block .user .info,
body.dark-mode #sidebar-block .user .info span {
  text-shadow: none !important;
}

body.dark-mode .description {
  background-color: #2a2a3d !important;
  color: #ffffff !important;
  border-color: #444 !important;
}

/* DARK MODE – obal PTC reklamy */
body.dark-mode .website_block {
  background-color: #1c1830 !important;
  color: #e8e6f0 !important;
  border: 1px solid #2c2646 !important;
}

/* DARK MODE – description text */
body.dark-mode .website_block .description {
  background-color: #241d3d !important;
  color: #e8e6f0 !important;
  border: 1px solid #2c2646 !important;
}

/* DARK MODE - fade-out na spodku popisu.
   Zakladne pravidlo (.website_block .description::after) sa vytraca do
   rgba(250,249,252,1), co je svetle pozadie. Bez tohto prepisu sa na
   tmavom podklade zobrazuje ako biely pruh. Farba MUSI sedet s
   background-color vyssie (#241d3d). */
body.dark-mode .website_block .description::after {
  background: linear-gradient(rgba(36, 29, 61, 0), rgba(36, 29, 61, 1)) !important;
}

/* To iste pre .description mimo .website_block - ta ma pozadie #2a2a3d */
body.dark-mode .description::after {
  background: linear-gradient(rgba(42, 42, 61, 0), rgba(42, 42, 61, 1)) !important;
}

/* DARK MODE – reward/time box */
body.dark-mode .website_block .reward,
body.dark-mode .website_block .time {
  background-color: #241d3d !important;
  color: #c9bdfb !important;
  border: 1px solid #2c2646 !important;
}

/* DARK MODE – visited countdown button */
body.dark-mode .website_block.visited button.countdown-btn {
  background-color: #241d3d !important;
  color: #a8a2c0 !important;
}

/* DARK MODE – report button */
body.dark-mode .description button.btn-link {
  color: #ff6666 !important;
}

body.dark-mode .description button.btn-link:hover {
  color: #ff9999 !important;
}

/* DARK MODE - Referral stránka */

body.dark-mode .box-style.bg-white {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
  border: 1px solid #444 !important;
}

body.dark-mode #grey-box .infobox {
  background-color: #2a2a3d !important;
  color: #ffffff !important;
  border: 1px solid #444 !important;
}

body.dark-mode .form-control {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
  border: 1px solid #444 !important;
}

body.dark-mode .form-control:focus {
  background-color: #26263a !important;
  color: #ffffff !important;
  border-color: #666 !important;
}

body.dark-mode .aff-banner-title {
  background-color: #2a2a3d !important;
  color: #ffcc66 !important;
  border: 1px solid #444 !important;
  border-radius: 4px;
}

body.dark-mode textarea.form-control {
  background-color: #1e1e2f !important;
  color: #ffffff !important;
  border: 1px solid #444 !important;
}

body.dark-mode .text-success {
  color: #87ff9e !important;
}

/* DARK MODE – faucet výherná tabuľka */
body.dark-mode .table-hover tbody tr:hover {
  background-color: #2f2f3f !important;
  /* Jemne tmavší tón na hover */
}

body.dark-mode .table.table-light {
  background-color: #2a2a3d !important;
  color: #ffffff !important;
  border-color: #444 !important;
}

body.dark-mode .table.table-light td,
body.dark-mode .table.table-light th {
  background-color: #2a2a3d !important;
  color: #ffffff !important;
  border-color: #444 !important;
}

body.dark-mode .modal-header .close {
  color: #ffffff !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-size: 28px;
}

/* Uprava tlačidla Close v modale pre dark mode */
body.dark-mode .modal-footer .btn-default {
  background-color: #444 !important;
  color: #fff !important;
  border: 1px solid #666 !important;
}

body.dark-mode .modal-footer .btn-default:hover {
  background-color: #555 !important;
  color: #fff !important;
  border-color: #888 !important;
}

.btn-group>.multiselect-container.dropdown-menu {
  display: none !important;
}

.btn-group.show>.multiselect-container.dropdown-menu {
  display: block !important;
}


/* =========================================================
   EBM HOMEPAGE REDESIGN — scoped "ebm-" classes, safe to append
   ========================================================= */
.ebm-home {
  padding-top: 10px
}

/* ---- Hero ---- */
.ebm-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 40px;
  margin: 10px 0 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #241a3d 0%, #403066 55%, #5b3aa0 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(64, 48, 102, 0.25);
}

.ebm-hero-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.35), transparent 70%);
  pointer-events: none;
}

.ebm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  margin-bottom: 18px;
}

.ebm-eyebrow i {
  color: #ffb020
}

.ebm-hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.ebm-gradient-text {
  background: linear-gradient(90deg, #ffb020, #ff7a59);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ebm-hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 26px;
}

.ebm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px
}

.ebm-btn-primary {
  background: linear-gradient(90deg, #e6394a, #ff6b6b);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 13px 26px;
  border-radius: 50px;
  box-shadow: 0 8px 18px rgba(230, 57, 74, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.ebm-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(230, 57, 74, 0.45)
}

.ebm-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 13px 26px;
  border-radius: 50px;
  transition: background .15s ease;
}

.ebm-btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18)
}

.ebm-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px
}

.ebm-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85)
}

.ebm-trust-item i {
  color: #ffb020
}

.ebm-trust-item strong {
  font-size: 16px;
  color: #fff;
  margin-right: 2px
}

.ebm-hero-visual {
  width: 100%;
  height: 320px
}

/* ---- Sponsored banner ---- */
.ebm-sponsor-banner {
  text-align: center;
  margin-bottom: 28px
}

.ebm-sponsor-banner img {
  max-width: 100%;
  border-radius: 10px
}

/* ---- Sections ---- */
.ebm-section {
  margin-bottom: 52px
}

.ebm-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 34px
}

.ebm-kicker {
  display: inline-block;
  color: #e6394a;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ebm-section-head h2 {
  font-size: 30px;
  font-weight: 700;
  color: #232323;
  margin-bottom: 10px
}

.ebm-section-head p {
  color: #777;
  font-size: 15px
}

/* ---- Feature grid ---- */
.ebm-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ebm-feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.ebm-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(64, 48, 102, 0.1)
}

.ebm-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #403066, #6c3ce0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 14px;
}

.ebm-feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #232323;
  margin-bottom: 6px
}

.ebm-feature-card p {
  font-size: 14px;
  color: #777;
  margin: 0
}

/* ---- How it works ---- */
.ebm-how-title {
  font-size: 28px;
  font-weight: 700;
  color: #232323;
  margin-bottom: 26px
}

.ebm-step {
  display: flex;
  gap: 16px;
  margin-bottom: 22px
}

.ebm-step-num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #403066;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ebm-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #232323;
  margin-bottom: 4px
}

.ebm-step p {
  font-size: 14px;
  color: #777;
  margin: 0
}

.ebm-how-visual {
  width: 100%;
  height: 340px
}

/* ---- Highlights ---- */
.ebm-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.ebm-highlight-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 22px;
}

.ebm-highlight-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 176, 32, 0.15);
  color: #e6820a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ebm-highlight-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #232323;
  margin-bottom: 4px
}

.ebm-highlight-card p {
  font-size: 13px;
  color: #777;
  margin: 0
}

/* ---- Coins ticker ---- */
.ebm-coins {
  text-align: center;
  margin-bottom: 52px
}

.ebm-coins-label {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 16px
}

.ebm-coins-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px
}

.ebm-coins-row img {
  width: 38px;
  height: 38px;
  opacity: .85;
  transition: opacity .15s ease, transform .15s ease
}

.ebm-coins-row img:hover {
  opacity: 1;
  transform: translateY(-3px)
}

/* ---- Final CTA ---- */
.ebm-final-cta {
  text-align: center;
  padding: 50px 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #403066, #241a3d);
  color: #fff;
  margin-bottom: 20px;
}

.ebm-final-cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px
}

.ebm-final-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 22px
}

/* ---- Responsive ---- */
@media (max-width:991px) {
  .ebm-feature-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .ebm-highlight-grid {
    grid-template-columns: 1fr
  }

  .ebm-hero-title {
    font-size: 32px
  }
}

@media (max-width:575px) {
  .ebm-hero {
    padding: 36px 22px
  }

  .ebm-feature-grid {
    grid-template-columns: 1fr
  }

  .ebm-hero-actions {
    flex-direction: column
  }

  .ebm-hero-actions .btn {
    width: 100%;
    text-align: center
  }
}

/* ---- Dark mode ---- */
body.dark-mode .ebm-feature-card,
body.dark-mode .ebm-highlight-card {
  background: #1c1830;
  border-color: #2c2646;
}

body.dark-mode .ebm-section-head h2,
body.dark-mode .ebm-how-title,
body.dark-mode .ebm-feature-card h3,
body.dark-mode .ebm-step h4,
body.dark-mode .ebm-highlight-card h4 {
  color: #f2f2f2
}

body.dark-mode .ebm-section-head p,
body.dark-mode .ebm-feature-card p,
body.dark-mode .ebm-step p,
body.dark-mode .ebm-highlight-card p {
  color: #a8a2c0
}

/* =========================================================
   EBM WIDE CONTAINER — fixes the "cut off" look on large monitors.
   Bootstrap 4 caps .container at 1140px forever; this widens it
   at larger breakpoints while leaving mobile/tablet untouched.
   ========================================================= */
@media (min-width:1200px) {
  .container.ebm-container {
    max-width: 1200px;
  }
}

@media (min-width:1400px) {
  .container.ebm-container {
    max-width: 1340px;
  }
}

@media (min-width:1700px) {
  .container.ebm-container {
    max-width: 1500px;
  }
}

/* =========================================================
   NAVBAR — pill buttons + dropdown polish
   ========================================================= */
.navbar .btn-success {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  font-weight: 600;
  transition: background .15s ease, transform .15s ease;
}

.navbar .btn-success:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-1px);
}

.navbar .btn-danger {
  background: linear-gradient(90deg, #e6394a, #ff6b6b) !important;
  border: none !important;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(230, 57, 74, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.navbar .btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(230, 57, 74, 0.45);
}

.navbar .dropdown-menu {
  border: none;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(20, 10, 40, 0.22);
  padding: 8px;
  margin-top: 0;
}

.navbar .dropdown-item {
  border-radius: 9px;
  padding: 8px 12px;
}

.navbar .dropdown-item:hover {
  background: rgba(64, 48, 102, 0.08);
}

/* =========================================================
   HOVER DROPDOWN (DESKTOP)
   ========================================================= */
@media (min-width: 992px) {

  /* Pure-CSS fallback: shows menu on hover even if JS hasn't bound yet.
     Safe now that there's no margin-top gap between toggle and menu. */
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
  }

  /* Zachovanie štýlu toggle tlačidla pri hoveri */
  .navbar-nav .dropdown.show>a.dropdown-toggle:not(.btn),
  .navbar-nav .dropdown:hover>a.dropdown-toggle:not(.btn),
  .navbar-nav .dropdown>a.dropdown-toggle:not(.btn):focus,
  .navbar-nav .dropdown>a.dropdown-toggle:not(.btn):hover {
    background-color: transparent !important;
    color: #fff !important;
    font-weight: bold;
  }
}

/* =========================================================
   AUTH MODALS (Login / Register / Google)
   ========================================================= */
#loginModal .modal-content,
#registrationModal .modal-content,
#google2faModal .modal-content,
#googleFinishModal .modal-content {
  border: none;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 10, 40, 0.35);
}

#loginModal .modal-header,
#registrationModal .modal-header,
#google2faModal .modal-header,
#googleFinishModal .modal-header {
  background: linear-gradient(135deg, #241a3d 0%, #403066 60%, #5b3aa0 100%);
  border-bottom: none;
  padding: 26px 26px 22px;
  justify-content: space-between;
  align-items: center;
}

#loginModal .modal-title,
#registrationModal .modal-title,
#google2faModal .modal-title,
#googleFinishModal .modal-title {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

#loginModal .modal-title i,
#registrationModal .modal-title i,
#google2faModal .modal-title i,
#googleFinishModal .modal-title i {
  color: #ffb020;
}

#loginModal .modal-header .close,
#registrationModal .modal-header .close,
#google2faModal .modal-header .close,
#googleFinishModal .modal-header .close {
  color: #fff;
  opacity: .8;
  text-shadow: none;
  position: static;
}

#loginModal .modal-header .close:hover,
#registrationModal .modal-header .close:hover,
#google2faModal .modal-header .close:hover,
#googleFinishModal .modal-header .close:hover {
  opacity: 1
}

#loginModal .custom-control-input,
#registrationModal .custom-control-input,
#googleFinishModal .custom-control-input {
  accent-color: #7c4dff;
}

#loginModal .modal-body,
#registrationModal .modal-body,
#google2faModal .modal-body,
#googleFinishModal .modal-body {
  padding: 26px
}

#loginModal .form-control,
#registrationModal .form-control,
#google2faModal .form-control,
#googleFinishModal .form-control {
  border: 1px solid #e6e2f0;
  border-radius: 12px;
  background: #faf9fc;
  padding: 11px 14px 11px 40px;
  height: auto;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

#loginModal .form-control:focus,
#registrationModal .form-control:focus,
#google2faModal .form-control:focus,
#googleFinishModal .form-control:focus {
  border-color: #7c4dff;
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15);
  background: #fff;
}

#loginModal .form-group i,
#registrationModal .form-group i,
#google2faModal .form-group i,
#googleFinishModal .form-group i {
  color: #7c4dff;
  top: 13px;
}

#loginModal .btn-primary,
#registrationModal .btn-primary,
#google2faModal .btn-primary,
#googleFinishModal .btn-primary {
  background: linear-gradient(90deg, #e6394a, #ff6b6b);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  padding: 13px;
  box-shadow: 0 10px 22px rgba(230, 57, 74, 0.3);
  transition: transform .15s ease, box-shadow .15s ease;
}

#loginModal .btn-primary:hover,
#registrationModal .btn-primary:hover,
#google2faModal .btn-primary:hover,
#googleFinishModal .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(230, 57, 74, 0.4)
}

#loginModal .modal-footer,
#registrationModal .modal-footer {
  border-top: 1px solid #f0eef7;
  justify-content: center;
  padding: 16px;
}

#loginModal .modal-footer a,
#registrationModal .modal-footer a {
  color: #7c4dff;
  font-weight: 600
}

#loginModal .custom-select,
#registrationModal .custom-select,
#googleFinishModal .custom-select {
  border: 1px solid #e6e2f0;
  border-radius: 12px;
  background-color: #faf9fc;
}

#loginModal #loginVerificationCode,
#google2faModal #g2faPin {
  padding-left: 14px
}

body.dark-mode #loginModal .form-control,
body.dark-mode #registrationModal .form-control,
body.dark-mode #google2faModal .form-control,
body.dark-mode #googleFinishModal .form-control,
body.dark-mode #loginModal .custom-select,
body.dark-mode #registrationModal .custom-select,
body.dark-mode #googleFinishModal .custom-select {
  background: #231d3d !important;
  border-color: #3a3160 !important;
  color: #fff !important;
}

body.dark-mode #loginModal .modal-footer,
body.dark-mode #registrationModal .modal-footer {
  border-top-color: #2c2646 !important;
}

/* =========================================================
   GOOGLE SIGN-IN — doplnkové prvky
   ========================================================= */

/* Google blok navrchu login/register modalu */
.ebm-g-top {
  margin: 0 0 4px;
}

.ebm-g-btn {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

/* oddeľovač "or ..." v login/register modáli */
.ebm-g-sep {
  position: relative;
  text-align: center;
  margin: 18px 0 16px;
}

.ebm-g-sep:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e6e2f0;
}

.ebm-g-sep span {
  position: relative;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9b93b0;
  background: #fff;
}

.ebm-g-status {
  margin-bottom: 12px;
}

.ebm-g-status:empty {
  display: none
}

.ebm-g-status .alert {
  margin-bottom: 0;
  font-size: 13px;
}

/* blok s captchou - vizualne oddeleny od poli */
#loginModal .ebm-verify-box,
#registrationModal .ebm-verify-box {
  background: #faf9fc;
  border: 1px solid #e6e2f0;
  border-radius: 12px;
  padding: 12px 12px 10px;
  margin: 4px 0 12px;
}

#loginModal .ebm-verify-box .ebm-captcha-label,
#registrationModal .ebm-verify-box .ebm-captcha-label {
  margin: 0 0 8px;
  font-size: 11.5px;
  color: #6b6385;
}

#loginModal .ebm-verify-box .ebm-captcha-label i,
#registrationModal .ebm-verify-box .ebm-captcha-label i {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  font-size: 12px;
}

#loginModal .ebm-verify-box .custom-select,
#registrationModal .ebm-verify-box .custom-select {
  background-color: #fff;
  font-size: 13px;
}

/* paticka s odkazmi */
#loginModal .ebm-modal-links,
#registrationModal .ebm-modal-links {
  gap: 10px;
  flex-wrap: nowrap;
}

#loginModal .ebm-modal-links .ebm-dot {
  color: #cfc9de;
  font-size: 11px;
}

/* "Signed in as" panel */
#googleFinishModal .ebm-g-account {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #faf9fc;
  border: 1px solid #e6e2f0;
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 18px;
}

#googleFinishModal .ebm-g-account svg {
  flex: 0 0 20px
}

#googleFinishModal .ebm-g-account span {
  font-size: 12px;
  color: #9b93b0;
  line-height: 1.35;
}

#googleFinishModal .ebm-g-account strong {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  color: #241a3d;
  word-break: break-all;
}

/* pole username + tlačidlo na generovanie */
#googleFinishModal .ebm-g-input {
  margin-bottom: 4px
}

#googleFinishModal .ebm-g-input .form-control {
  padding-right: 52px
}

#googleFinishModal .ebm-g-dice {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: #7c4dff;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}

#googleFinishModal .ebm-g-dice:hover {
  background: #6a3ff0;
  transform: translateY(-50%) rotate(-14deg);
}

#googleFinishModal .ebm-g-dice:disabled {
  opacity: .45;
  cursor: default;
  transform: translateY(-50%);
}

/* prebíja .modal-login i { position:absolute; left:13px; top:11px } */
#googleFinishModal .ebm-g-dice i {
  position: static;
  top: auto;
  left: auto;
  font-size: 15px;
  color: #fff;
}

/* hláška o dostupnosti mena */
#googleFinishModal #gUsernameHint {
  min-height: 19px;
  line-height: 19px;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 16px 2px;
}

#googleFinishModal #gUsernameHint.ok {
  color: #00a35c
}

#googleFinishModal #gUsernameHint.bad {
  color: #e6394a
}

/* 2FA */
#google2faModal .ebm-g-lead {
  font-size: 13px;
  color: #9b93b0;
  line-height: 1.5;
  margin: 0 0 16px;
}

#google2faModal #g2faPin {
  text-align: center;
  letter-spacing: 6px;
  font-size: 19px;
  font-weight: 700;
  -moz-appearance: textfield;
}

#google2faModal #g2faPin::-webkit-outer-spin-button,
#google2faModal #g2faPin::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* pätička s podmienkami */
#googleFinishModal .ebm-g-terms {
  font-size: 11px;
  line-height: 1.55;
  color: #9b93b0;
  text-align: center;
  margin: 16px 0 0;
}

#googleFinishModal .ebm-g-terms a {
  color: #7c4dff;
  font-weight: 600;
}

#googleFinishModal .btn-primary:disabled {
  opacity: .45;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* dark mode */
body.dark-mode .ebm-g-sep:before {
  background: #3a3160
}

body.dark-mode .ebm-g-sep span {
  background: #2a2a3d;
  color: #b6afc9;
}

body.dark-mode #googleFinishModal .ebm-g-account {
  background: #231d3d;
  border-color: #3a3160;
}

body.dark-mode #googleFinishModal .ebm-g-account strong {
  color: #fff
}

body.dark-mode #loginModal .ebm-verify-box,
body.dark-mode #registrationModal .ebm-verify-box {
  background: #231d3d;
  border-color: #3a3160;
}

body.dark-mode #loginModal .ebm-verify-box .ebm-captcha-label,
body.dark-mode #registrationModal .ebm-verify-box .ebm-captcha-label {
  color: #cfc9de;
}

body.dark-mode #loginModal .ebm-verify-box .custom-select,
body.dark-mode #registrationModal .ebm-verify-box .custom-select {
  background-color: #2a2340 !important;
}

/* =========================================================
   NEW LOGO (inline SVG) — transparent, scales cleanly on any
   dark navbar/footer background (light or dark-mode).
   ========================================================= */
.site-logo-svg {
  height: 34px;
  width: auto;
  display: block;
  transition: transform .15s ease;
}

.navbar-brand:hover .site-logo-svg {
  transform: translateY(-1px) scale(1.02);
}

@media (max-width:575px) {
  .site-logo-svg {
    height: 28px
  }
}

/* =========================================================
   "EARN COINS" MEGA-DROPDOWN REDESIGN
   2-column tile grid instead of 15 stacked full-width pills.
   Unified icon treatment instead of 4 arbitrary outline colors.
   ========================================================= */
.ebm-mega {
  min-width: 420px;
  max-width: 440px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(20, 10, 40, 0.22);
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ebm-mega-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #241a3d 0%, #403066 60%, #4d3583 100%);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.ebm-mega-summary i {
  color: #ffb020
}

.ebm-mega-summary b {
  color: #ffb020;
  font-size: 14px
}

.ebm-mega-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #8a8398;
  margin: 4px 4px 8px;
}

.ebm-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.ebm-mega-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #faf9fc;
  border-radius: 12px;
  padding: 9px 10px;
  text-decoration: none;
  color: #333;
  transition: background .15s ease, transform .15s ease;
}

.ebm-mega-item:hover {
  background: #f0ecf9;
  transform: translateY(-1px);
  text-decoration: none;
  color: #333
}

.ebm-mega-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #403066, #6c3ce0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.ebm-mega-label {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.ebm-mega-badge {
  flex-shrink: 0;
  background: #ffb020;
  color: #241a3d;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 50px;
  padding: 2px 7px;
  min-width: 18px;
  text-align: center;
}

.ebm-mega-badge-tag {
  background: #e6394a;
  color: #fff
}

.ebm-mega-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #e6394a, #ff6b6b);
  color: #fff;
  border-radius: 50px;
  padding: 11px 16px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(230, 57, 74, 0.3);
  transition: transform .15s ease;
}

.ebm-mega-cta:hover {
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none
}

.ebm-mega-cta i:first-child {
  color: #ffe27a
}

.ebm-mega-cta .ml-auto {
  margin-left: auto
}

.ebm-mega-subtle-link {
  display: block;
  text-align: center;
  font-size: 11.5px;
  color: #8a8398;
  text-decoration: none;
  margin-top: 8px;
}

.ebm-mega-subtle-link:hover {
  color: #403066;
  text-decoration: none
}

.ebm-mega-subtle-link i {
  margin-right: 4px
}

body.dark-mode .ebm-mega {
  background: #1c1830
}

body.dark-mode .ebm-mega-item {
  background: #241d3d;
  color: #e8e6f0
}

body.dark-mode .ebm-mega-item:hover {
  background: #2c2450;
  color: #fff
}

body.dark-mode .ebm-mega-label {
  color: #e8e6f0
}

body.dark-mode .ebm-mega-section-label {
  color: #a8a2c0
}

body.dark-mode .ebm-mega-subtle-link {
  color: #a8a2c0
}

@media (max-width:480px) {
  .ebm-mega {
    min-width: 90vw;
    max-width: 90vw;
    max-height: 88vh;
    max-height: 88dvh;
    padding: 14px !important;
  }

  .ebm-mega-section-label {
    margin: 2px 2px 6px;
    font-size: 10.5px
  }

  .ebm-mega-grid {
    gap: 6px;
    margin-bottom: 10px
  }

  .ebm-mega-item {
    padding: 7px 8px
  }

  .ebm-mega-icon {
    width: 24px;
    height: 24px;
    font-size: 10.5px
  }

  .ebm-mega-label {
    font-size: 11.5px
  }

  .ebm-mega-cta {
    padding: 10px 14px;
    margin-bottom: 4px
  }

  .ebm-mega-summary {
    padding: 8px 12px;
    margin-bottom: 10px
  }
}

/* ---- Extra badge/CTA variants for the other redesigned dropdowns ---- */
.ebm-mega-badge-new {
  background: #2ecc71;
  color: #fff
}

.ebm-mega-cta-muted {
  background: #faf9fc;
  color: #c0392b;
  box-shadow: none;
  margin-top: 6px;
  justify-content: center;
}

.ebm-mega-cta-muted:hover {
  background: #fdecea;
  color: #c0392b
}

.ebm-mega-cta-muted i:first-child {
  color: #c0392b
}

body.dark-mode .ebm-mega-cta-muted {
  background: #241d3d;
  color: #ff8a8a
}

body.dark-mode .ebm-mega-cta-muted:hover {
  background: #3a1f22
}

/* ---- Single-column variant for Games/Contests (kept full-width rows,
   full badge text, per user request) ---- */
.ebm-mega-grid-1col {
  grid-template-columns: 1fr
}

/* =========================================================
   DARK MODE TOGGLE — moved from footer into the main navbar
   ========================================================= */
.ebm-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  margin: 0 6px;
  padding: 0;
  transition: background .15s ease, transform .15s ease;
}

.ebm-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px)
}

.ebm-theme-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25)
}

.ebm-theme-toggle i {
  transition: transform .35s ease
}

.ebm-theme-toggle:active i {
  transform: rotate(50deg)
}

.ebm-theme-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff
}

@media (max-width:991px) {
  .ebm-theme-toggle-item {
    width: 100%
  }

  .ebm-theme-toggle {
    width: 100%;
    height: auto;
    border-radius: 10px;
    justify-content: flex-start;
    padding: 10px 14px;
    margin: 4px 0 0;
    background: rgba(255, 255, 255, 0.06);
  }

  .ebm-theme-toggle i {
    width: 18px;
    text-align: center;
    font-size: 15px
  }

  /* Login/Register buttons were sitting flush against each other and
	   against the theme toggle on mobile — give them proper stacked
	   spacing like every other nav item in the collapsed menu. */
  .navbar-nav .nav-item {
    margin-bottom: 6px
  }

  .navbar-nav .nav-item .btn.nav-link {
    width: 100%;
    text-align: left;
    padding: 10px 14px !important;
  }
}

.ebm-captcha-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #8a8398;
  margin: 6px 0 6px;
}

.ebm-captcha-label i {
  color: #7c4dff;
  margin-right: 4px
}

.ebm-captcha-label small {
  font-weight: 400;
  color: #b0abbf
}

body.dark-mode .ebm-captcha-label,
body.dark-mode .ebm-captcha-label small {
  color: #a8a2c0
}

/* =========================================================
   FOOTER REDESIGN
   ========================================================= */
.ebm-footer {
  background: linear-gradient(90deg, #241a3d 0%, #403066 55%, #4d3583 100%);
  color: #fff;
  padding: 32px 0 22px;
  margin-top: 30px;
}

.ebm-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ebm-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 340px
}

.ebm-footer-logo {
  height: 30px;
  width: auto;
  display: block;
  margin-left: -3px
}

.ebm-footer-brand p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6)
}

.ebm-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.ebm-footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 15px;
  border-radius: 50px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.ebm-footer-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffb020;
  text-decoration: none;
  transform: translateY(-1px);
}

.ebm-footer-bottom {
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.ebm-footer-bottom a,
.ebm-footer-bottom a.footer_copyright {
  color: #ffb020;
  text-decoration: none
}

.ebm-footer-bottom a:hover {
  text-decoration: underline
}

@media (max-width:767px) {
  .ebm-footer-top {
    flex-direction: column;
    align-items: flex-start
  }

  .ebm-footer-links {
    gap: 8px
  }
}

/* =========================================================
   #grey-box — shared generic page wrapper used by Blog, TOS,
   Privacy, FAQ, Contact, etc. One redesign here lifts all of them.
   ========================================================= */
#grey-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08);
  overflow: hidden;
}

#grey-box .title {
  background: linear-gradient(90deg, #241a3d 0%, #403066 55%, #4d3583 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: .2px;
  text-align: left;
  padding: 16px 26px;
  max-width: none;
  border-top: none;
  margin: 0;
  text-shadow: none;
  border-radius: 0;
}

#grey-box .content {
  padding: 28px;
  line-height: 1.7;
  color: #333;
  background: #e3ddf0
}

#grey-box .content h1 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  color: #232323;
  margin-bottom: 14px;
}

#grey-box .infobox {
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  color: #333;
}

body.dark-mode #grey-box .content {
  color: #e8e6f0;
  background: #232f43
}

body.dark-mode #grey-box .content h1 {
  color: #f2f2f2
}

body.dark-mode #grey-box .infobox {
  background: #1c1830;
  border-color: #2c2646;
  color: #e8e6f0
}

/* =========================================================
   Blog post meta row (views / comments / date) — replaces the
   plain blockquote-footer text with small icon chips.
   ========================================================= */
.ebm-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0eef7;
  font-size: 12.5px;
  color: #8a8398;
}

.ebm-blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px
}

.ebm-blog-meta i {
  color: #7c4dff
}

body.dark-mode .ebm-blog-meta {
  border-top-color: #2c2646;
  color: #a8a2c0
}

/* =========================================================
   Comments
   ========================================================= */
.blog_comment {
  margin: 18px auto 0;
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 14px;
  color: #333;
  padding: 16px;
}

.com_title {
  width: auto;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #403066;
  padding: 0 0 12px;
  background: transparent;
  border-bottom: none;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.comments_wrap {
  overflow: hidden;
  margin: 0 0 10px;
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 14px;
}

.comments_wrap .content_top {
  padding: 10px 14px;
  background: linear-gradient(90deg, #403066, #4d3583);
  color: #fff;
  border-bottom: none;
  font-size: 13px;
  font-weight: 600;
}

.comments_wrap .content_top a {
  color: #ffb020
}

.comments_wrap .content_text {
  padding: 12px 14px;
  overflow: hidden;
  text-align: left;
  color: #444;
  line-height: 1.6;
}

body.dark-mode .blog_comment {
  background: #1c1830;
  border-color: #2c2646;
  color: #e8e6f0
}

body.dark-mode .com_title {
  color: #c9bdfb
}

body.dark-mode .comments_wrap {
  background: #1c1830;
  border-color: #2c2646
}

body.dark-mode .comments_wrap .content_text {
  color: #d8d4e6
}

/* =========================================================
   Pagination
   ========================================================= */
.pagination {
  gap: 6px
}

.pagination .page-link {
  border: none;
  border-radius: 10px !important;
  color: #403066;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  margin: 0;
  background: #faf9fc;
  transition: background .15s ease, color .15s ease;
}

.pagination .page-link:hover {
  background: #efeaf7;
  color: #403066
}

.pagination .page-item.active .page-link {
  background: linear-gradient(90deg, #403066, #6c3ce0) !important;
  color: #fff !important;
  border: none !important;
}

.pagination .page-item.disabled .page-link {
  background: transparent;
  color: #c7c2d6
}

body.dark-mode .pagination .page-link {
  background: #1c1830;
  color: #c9bdfb
}

body.dark-mode .pagination .page-link:hover {
  background: #241d3d
}

body.dark-mode .pagination .page-item.disabled .page-link {
  color: #5a5470
}

/* =========================================================
   Comment form
   ========================================================= */
.ebm-comment-form textarea.form-control {
  border-radius: 14px;
  border: 1px solid #e6e2f0;
  background: #faf9fc;
  padding: 14px;
  resize: vertical;
}

.ebm-comment-form textarea.form-control:focus {
  border-color: #7c4dff;
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15);
  background: #fff;
}

.ebm-comment-form .btn-primary {
  background: linear-gradient(90deg, #403066, #6c3ce0);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  padding: 9px 22px;
  box-shadow: 0 8px 18px rgba(64, 48, 102, 0.25);
}

body.dark-mode .ebm-comment-form textarea.form-control {
  background: #1c1830;
  border-color: #2c2646;
  color: #fff
}

/* =========================================================
   .card — base rounded/shadow treatment. Also went missing in
   the same mix-up as .card-header above. Generic component used
   across many pages (blog, dashboard, etc.), not dashboard-only.
   ========================================================= */
.card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08);
  overflow: hidden;
}

/* =========================================================
   .card-header — base (light-mode) gradient, matching the rest
   of the brand. This rule went missing somewhere in a previous
   file upload/version mix-up; re-added here since several pages
   (dashboard, blog, etc.) depend on it for readable title text.
   ========================================================= */
.card-header {
  background: linear-gradient(90deg, #241a3d 0%, #403066 55%, #4d3583 100%) !important;
  color: #fff !important;
  border-bottom: none !important;
  padding: 16px 20px;
}

.card-header h6,
.card-header h5,
.card-header h4 {
  margin: 0;
  font-weight: 700
}

.card-header .text-warning {
  color: #ffb020 !important
}

/* =========================================================
   Light-mode page canvas — was pure white, same as card
   surfaces (#grey-box, .card), so everything blended into one
   flat white expanse with no depth. Softening it lets white
   cards actually "pop" with their shadow, same way dark-mode
   already contrasts #121212 canvas against lighter card tones.
   ========================================================= */
body {
  background-color: #e9e5f4 !important;
}

/* =========================================================
   MEMBERSHIP COMPARISON TABLE (membership.php)
   Replaces the old per-page membership.css div-grid with a
   real semantic table: sticky feature column, gradient header
   per tier, current-plan highlighting, combined min+wait cells.
   ========================================================= */

/* Current plan status strip */
.ebm-mem-current {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: linear-gradient(90deg, #241a3d 0%, #403066 60%, #4d3583 100%);
  color: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 20px;
  font-size: 14px;
}

.ebm-mem-current i {
  color: #ffb020;
  font-size: 16px
}

.ebm-mem-current-exp {
  margin-left: auto;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7)
}

body.dark-mode .ebm-mem-current {
  background: linear-gradient(90deg, #1c1830, #241d3d)
}

/* Table wrapper: horizontal scroll on narrow screens */
.ebm-mem-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.1);
  -webkit-overflow-scrolling: touch;
}

.ebm-mem-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 13px;
}

/* Feature label column — sticky while scrolling horizontally */
.ebm-mem-feature-col {
  text-align: left;
  white-space: nowrap;
  background: #faf9fc;
  font-weight: 600;
  color: #403066;
  padding: 11px 12px;
  border-right: 1px solid #eee;
  min-width: 150px;
}

.ebm-mem-feature-col i {
  color: #7c4dff;
  width: 16px;
  margin-right: 6px
}

/* Header row (tier columns) */
.ebm-mem-table thead th {
  background: linear-gradient(180deg, #241a3d 0%, #403066 70%, #4d3583 100%);
  color: #fff;
  text-align: center;
  vertical-align: top;
  padding: 16px 12px;
  min-width: 118px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.ebm-mem-table thead th.ebm-mem-feature-col {
  background: linear-gradient(180deg, #241a3d 0%, #403066 70%, #4d3583 100%);
  color: #fff;
  border-right-color: rgba(255, 255, 255, 0.08);
}

.ebm-mem-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffb020;
  color: #241a3d;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 3px 12px;
  border-radius: 0 0 8px 8px;
}

.ebm-mem-tier-name {
  font-size: 15px;
  font-weight: 700;
  margin-top: 14px
}

.ebm-mem-tier-price {
  margin: 10px 0
}

.ebm-mem-amount {
  font-size: 22px;
  font-weight: 800;
  color: #ffb020
}

.ebm-mem-period {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6)
}

.ebm-mem-free {
  font-size: 18px;
  font-weight: 800;
  color: #2ecc71
}

.ebm-mem-cta {
  margin-top: 8px
}

.ebm-mem-buy-btn {
  background: linear-gradient(90deg, #e6394a, #ff6b6b);
  border: none;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 18px;
  box-shadow: 0 8px 18px rgba(230, 57, 74, 0.3);
}

.ebm-mem-included {
  display: inline-block;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
}

/* Current plan column highlight */
.ebm-mem-current-col {
  background: #f4f0fc
}

.ebm-mem-table thead th.ebm-mem-current-col {
  background: linear-gradient(180deg, #33265a, #5a3fa0)
}

/* Body rows */
.ebm-mem-table tbody td {
  text-align: center;
  padding: 10px 12px;
  border-bottom: 1px solid #f0eef7;
  color: #333;
}

.ebm-mem-table tbody tr:nth-child(even) td:not(.ebm-mem-current-col) {
  background: #faf9fc
}

.ebm-mem-highlight {
  color: #403066
}

/* Section divider row (Withdrawals group header) */
.ebm-mem-section-row td {
  text-align: left;
  background: #efeaf7 !important;
  color: #403066;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 9px 18px;
}

.ebm-mem-section-row td i {
  margin-right: 6px;
  color: #7c4dff
}

/* Combined min + wait-time cell */
.ebm-mem-combo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px
}

.ebm-mem-combo-min {
  font-weight: 700;
  color: #232323
}

.ebm-mem-combo-wait {
  font-size: 10.5px;
  color: #8a8398;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50px;
  padding: 1px 9px;
}

/* Dark mode */
body.dark-mode .ebm-mem-table-wrap {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4)
}

body.dark-mode .ebm-mem-table {
  background: #1c1830
}

body.dark-mode .ebm-mem-feature-col {
  background: #201a38;
  color: #c9bdfb;
  border-right-color: #2c2646
}

body.dark-mode .ebm-mem-table tbody td {
  color: #e8e6f0;
  border-bottom-color: #2c2646
}

body.dark-mode .ebm-mem-table tbody tr:nth-child(even) td:not(.ebm-mem-current-col) {
  background: #201a38
}

body.dark-mode .ebm-mem-current-col {
  background: #2c2450
}

body.dark-mode .ebm-mem-section-row td {
  background: #241d3d !important;
  color: #c9bdfb
}

body.dark-mode .ebm-mem-combo-min {
  color: #f2f2f2
}

body.dark-mode .ebm-mem-combo-wait {
  background: #1c1830;
  border-color: #2c2646;
  color: #a8a2c0
}

body.dark-mode .ebm-mem-highlight {
  color: #c9bdfb
}

@media (max-width:575px) {
  .ebm-mem-feature-col {
    min-width: 150px;
    font-size: 12.5px;
    padding: 10px 12px
  }

  .ebm-mem-table thead th {
    min-width: 130px;
    padding: 16px 12px
  }

  .ebm-mem-current-exp {
    margin-left: 0;
    width: 100%
  }
}

/* =========================================================
   MEMBERSHIP PURCHASE MODAL (#payUp) — duration slider +
   price breakdown. Previously styled by the old per-page
   membership.css, which was removed since the old comparison
   table markup no longer needed it — this modal did, though.
   ========================================================= */
#payUp .modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 10, 40, 0.35);
}

#payUp .price-box {
  padding: 0
}

#payUp .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ebm-mem-modal-head {
  background: linear-gradient(135deg, #241a3d 0%, #403066 60%, #4d3583 100%);
  color: #fff;
  padding: 26px 28px 22px;
  text-align: center;
}

.ebm-mem-modal-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px
}

.ebm-mem-modal-head p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px
}

/* jQuery UI slider re-theme */
#timeSlide.ui-slider {
  position: relative;
  height: 8px;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 6px 22px;
}

#timeSlide .ui-slider-range {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #ffb020, #ff8a1e);
  border-radius: 50px;
}

#timeSlide .ui-slider-handle {
  display: block;
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  margin-left: -11px;
  background: #fff;
  border: 3px solid #ffb020;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  outline: none;
  touch-action: none;
}

.ebm-mem-modal-duration {
  color: #fff
}

.ebm-mem-modal-duration span {
  font-size: 30px;
  font-weight: 800;
  color: #ffb020
}

.ebm-mem-modal-duration small {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7)
}

#payUp #errMsg .alert {
  margin: 16px 26px 0;
  border-radius: 12px
}

.ebm-mem-modal-breakdown {
  padding: 22px 28px 6px
}

.ebm-mem-modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0
}

.ebm-mem-modal-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #232323
}

.ebm-mem-modal-help {
  font-size: 11.5px;
  color: #8a8398;
  margin-top: 2px
}

.ebm-mem-modal-value {
  font-size: 15px;
  font-weight: 700;
  color: #403066
}

.ebm-mem-modal-discount {
  color: #2ecc71
}

.ebm-mem-modal-breakdown hr {
  border-color: #f0eef7;
  margin: 4px 0
}

.ebm-mem-modal-total-row .ebm-mem-modal-label {
  font-size: 15px
}

.ebm-mem-modal-total {
  font-size: 22px;
  color: #ffb020;
  background: linear-gradient(90deg, #403066, #6c3ce0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.ebm-mem-modal-buy {
  display: block;
  width: calc(100% - 56px);
  margin: 6px 28px 28px;
  background: linear-gradient(90deg, #e6394a, #ff6b6b);
  border: none;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  padding: 13px;
  box-shadow: 0 10px 22px rgba(230, 57, 74, 0.3);
}

body.dark-mode .ebm-mem-modal-label {
  color: #f2f2f2
}

body.dark-mode .ebm-mem-modal-help {
  color: #a8a2c0
}

body.dark-mode .ebm-mem-modal-breakdown hr {
  border-color: #2c2646
}

/* =========================================================
   Generic .table thead — was missing a light-mode base style
   (only a dark-mode override existed). Reusable across any
   future page using a plain Bootstrap table, not just levels.
   ========================================================= */
.table thead th {
  background: linear-gradient(180deg, #403066 0%, #352a56 100%) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
  padding: 14px 16px;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: .5px;
}

.table td,
.table th {
  border-color: #f0eef7;
  vertical-align: middle
}

.table-striped tbody tr:nth-of-type(odd) {
  background: #faf9fc
}

.table-striped tbody tr {
  transition: background .15s ease
}

.table-striped tbody tr:hover {
  background: #f1ecfa
}

body.dark-mode .table-striped tbody tr:hover {
  background: #2c2450
}

/* =========================================================
   LEVELS TABLE (levels.php)
   ========================================================= */
.ebm-table-wrap {
  border-radius: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08);
  border: 1px solid #f0eef7;
}

.ebm-levels-table,
.ebm-table-wrap .table {
  margin: 0;
  background: #fff
}

.ebm-levels-table {
  min-width: 480px
}

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

.ebm-levels-table tbody td,
.ebm-table-wrap .table tbody td {
  padding: 14px 16px;
  font-size: 13.5px
}

.ebm-levels-table tbody tr:last-child td,
.ebm-table-wrap .table tbody tr:last-child td {
  border-bottom: none
}

body.dark-mode .ebm-table-wrap {
  border-color: #2c2646
}

body.dark-mode .ebm-levels-table,
body.dark-mode .ebm-table-wrap .table {
  background: #1c1830
}

.ebm-levels-icon-col {
  width: 64px
}

.ebm-levels-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf9fc;
  border-radius: 50%;
  border: 1px solid #eee;
  overflow: hidden;
}

.ebm-levels-icon img {
  max-width: 28px;
  max-height: 28px;
  object-fit: contain
}

.ebm-levels-reward {
  color: #2ecc71;
  font-size: 14px
}

.ebm-levels-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ffb020, #ff8a1e);
  color: #241a3d;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  border-radius: 50px;
  padding: 2px 10px;
  margin-right: 8px;
}

.ebm-levels-current td {
  background: #f4f0fc !important;
  box-shadow: inset 0 0 0 1.5px #7c4dff;
}

.ebm-levels-current .ebm-levels-icon {
  border-color: #ffb020;
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.25);
}

body.dark-mode .ebm-table-wrap {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4)
}

body.dark-mode .table-striped tbody tr:nth-of-type(odd) {
  background: #201a38
}

body.dark-mode .ebm-levels-icon {
  background: #241d3d;
  border-color: #2c2646
}

body.dark-mode .ebm-levels-current td {
  background: #2c2450 !important
}

/* =========================================================
   HISTORY TABLES — shared components for deposits, withdraw,
   offerhistory, jobhistory (and any future history-style page).
   ========================================================= */

/* Status pill — replaces plain colored text / <font color=""> */
.ebm-status {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
}

.ebm-status-success {
  background: #e9f9ef;
  color: #1e7e42
}

.ebm-status-pending {
  background: #eef2ff;
  color: #3d3a8f
}

.ebm-status-danger {
  background: #fdecea;
  color: #c0392b
}

.ebm-status-info {
  background: #e6f7f5;
  color: #0f7a6c
}

body.dark-mode .ebm-status-success {
  background: #1b3324;
  color: #7be3a4
}

body.dark-mode .ebm-status-pending {
  background: #211f3a;
  color: #b9aeff
}

body.dark-mode .ebm-status-danger {
  background: #3a1f22;
  color: #ff8a8a
}

body.dark-mode .ebm-status-info {
  background: #132e2a;
  color: #6fd8c7
}

/* Transaction ID / hash pill */
.ebm-txn-id {
  display: inline-block;
  font-family: monospace;
  font-size: 11.5px;
  background: #faf9fc;
  border: 1px solid #eee;
  color: #403066;
  padding: 3px 10px;
  border-radius: 6px;
}

body.dark-mode .ebm-txn-id {
  background: #1c1830;
  border-color: #2c2646;
  color: #c9bdfb
}

/* Summary / totals row — replaces harsh tfoot.bg-info */
.ebm-history-summary td,
.ebm-history-summary th {
  background: linear-gradient(180deg, #403066 0%, #352a56 100%) !important;
  color: #fff !important;
  font-weight: 700;
  border: none !important;
  padding: 12px 16px;
}

.ebm-history-summary .ebm-summary-amount {
  color: #ffb020
}

/* Section header (e.g. "Credited leads" / "Pending leads") */
.ebm-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #403066;
  padding: 14px 4px 10px;
}

.ebm-section-header i {
  color: #7c4dff
}

.ebm-section-header.ebm-section-warning i {
  color: #ffb020
}

.ebm-section-header.ebm-section-danger i {
  color: #e6394a
}

body.dark-mode .ebm-section-header {
  color: #c9bdfb
}

.ebm-history-empty {
  padding: 30px 10px;
  color: #8a8398;
  font-weight: 600
}

body.dark-mode .ebm-history-empty {
  color: #a8a2c0
}

/* =========================================================
   FLEXBOX OVERFLOW FIX — Bootstrap .row is display:flex, and
   flex items default to min-width:auto (not 0), so they refuse
   to shrink below their content's intrinsic width even when
   that content has its own overflow-x:auto wrapper inside.
   This is why the levels table broke out of its card instead
   of scrolling internally. Standard, safe, well-known fix.
   ========================================================= */
.col-xl-9.col-lg-8.col-md-7 {
  min-width: 0
}

.ebm-table-wrap {
  min-width: 0
}

/* =========================================================
   GENERIC FORM BUTTONS — .btn-primary/.btn-success/.btn-danger
   had no branded styling anywhere (plain Bootstrap). Used across
   many forms (contact, account, and future pages), so fixing
   once here benefits everything using standard Bootstrap buttons.
   ========================================================= */
.btn-primary,
.btn-success,
.btn-danger,
.ebm-form-submit {
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700;
  padding: 9px 24px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-primary,
.ebm-form-submit {
  background: linear-gradient(90deg, #403066, #6c3ce0) !important;
  color: #fff !important
}

.btn-success {
  background: linear-gradient(90deg, #2ecc71, #27ae60) !important;
  color: #fff !important
}

.btn-danger {
  background: linear-gradient(90deg, #e6394a, #ff6b6b) !important;
  color: #fff !important
}

.btn-primary:hover,
.btn-success:hover,
.btn-danger:hover,
.ebm-form-submit:hover {
  transform: translateY(-1px);
  color: #fff;
}

/* =========================================================
   CONTACT FORM — department toggle + upload notice
   ========================================================= */
.ebm-toggle-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px
}

.ebm-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0
}

.ebm-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #faf9fc;
  border: 1.5px solid #eee;
  color: #555;
  padding: 9px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .15s ease;
}

.ebm-toggle-input:checked+.ebm-toggle-btn {
  background: linear-gradient(90deg, #403066, #6c3ce0);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(64, 48, 102, 0.3);
}

.ebm-toggle-btn:hover {
  border-color: #c9bdfb
}

body.dark-mode .ebm-toggle-btn {
  background: #241d3d;
  border-color: #2c2646;
  color: #e8e6f0
}

body.dark-mode .ebm-toggle-btn:hover {
  border-color: #4a3d7a
}

body.dark-mode .ebm-toggle-input:checked+.ebm-toggle-btn {
  background: linear-gradient(90deg, #403066, #6c3ce0);
  color: #fff
}

.ebm-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #eef2ff;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 13px;
  color: #3d3a8f;
  line-height: 1.6;
}

.ebm-notice i {
  font-size: 16px;
  margin-top: 2px
}

.ebm-notice a {
  color: #403066;
  font-weight: 700
}

body.dark-mode .ebm-notice {
  background: #211f3a;
  color: #b9aeff
}

body.dark-mode .ebm-notice a {
  color: #c9bdfb
}

/* =========================================================
   ACCOUNT SETTINGS — checkbox rows
   ========================================================= */
.ebm-check-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 6px
}

.ebm-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  margin: 0;
}

.ebm-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #7c4dff;
  cursor: pointer;
  flex-shrink: 0;
}

.ebm-check-label span {
  flex: 1
}

.ebm-check-label i {
  color: #7c4dff
}

body.dark-mode .ebm-check-label {
  background: #1c1830;
  border-color: #2c2646;
  color: #e8e6f0
}

/* =========================================================
   CONTEST PAGE (contest.php) — applies uniformly across all
   7 contest types (tasks/survey/video/shortlinks/mining/
   faucet/referral) since they all share identical class names.
   ========================================================= */

/* ---- Intro/info boxes ---- */
.box {
  background: #faf9fc;
  border: 1px solid #eee;
  color: #333;
  padding: 20px;
  margin-bottom: 16px;
  border-radius: 16px;
}

body.dark-mode .box {
  background: #1c1830;
  border-color: #2c2646;
  color: #e8e6f0
}

/* ---- Countdown timer ---- */
.lotteryTitleBox {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #fff;
  padding: 10px 15px;
  background: linear-gradient(90deg, #241a3d, #403066);
  margin: 0 auto;
  border: none;
  border-radius: 14px 14px 0 0;
}

.lotteryCountdownBox {
  text-align: center;
  padding: 22px 10px 26px;
  background: linear-gradient(135deg, #241a3d 0%, #403066 60%, #4d3583 100%);
  margin: 0 auto 26px;
  border: none;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 10px 26px rgba(64, 48, 102, 0.2);
}

.lotteryCountdownBox .timer .timer-wrapper {
  display: inline-block;
  padding: 8px 14px;
  width: auto;
  min-width: 78px;
}

.lotteryCountdownBox .timer .timer-wrapper .time {
  font-size: 34px;
  font-weight: 800;
  color: #ffb020;
  line-height: 1.1;
}

.lotteryCountdownBox .timer .timer-wrapper .text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ---- Contest leaderboard table ---- */
.ebm-contest-table {
  margin-bottom: 0
}

.box .ebm-table-wrap {
  margin-bottom: 16px
}

.ebm-contest-table thead.thead-light th {
  background: linear-gradient(90deg, #ffb020, #ff8a1e) !important;
  color: #241a3d !important;
  border: none !important;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 16px;
}

.ebm-contest-table thead.thead-dark th {
  background: linear-gradient(180deg, #403066, #352a56) !important;
  color: #fff !important;
  border: none !important;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 12px 16px;
}

/* The tfoot repeats the header row again — redundant, hide it */
.ebm-contest-table tfoot {
  display: none
}

.ebm-contest-table tbody.table-primary {
  background: #fff !important
}

.ebm-contest-table tbody td {
  padding: 12px 16px;
  border-color: #f0eef7;
  vertical-align: middle
}

.ebm-contest-table tbody tr:nth-of-type(even) {
  background: #faf9fc
}

/* Top 3 highlight */
.ebm-contest-table tbody tr:nth-child(1) {
  background: linear-gradient(90deg, rgba(255, 176, 32, 0.16), rgba(255, 176, 32, 0.04)) !important;
  box-shadow: inset 3px 0 0 #ffb020
}

.ebm-contest-table tbody tr:nth-child(2) {
  background: linear-gradient(90deg, rgba(192, 192, 207, 0.22), rgba(192, 192, 207, 0.05)) !important;
  box-shadow: inset 3px 0 0 #adb0bd
}

.ebm-contest-table tbody tr:nth-child(3) {
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.16), rgba(205, 127, 50, 0.04)) !important;
  box-shadow: inset 3px 0 0 #cd7f32
}

.ebm-contest-table tbody tr:nth-child(1) td:first-child i {
  color: #ffb020;
  font-size: 17px
}

.ebm-contest-table tbody tr:nth-child(2) td:first-child i {
  color: #adb0bd;
  font-size: 17px
}

.ebm-contest-table tbody tr:nth-child(3) td:first-child i {
  color: #cd7f32;
  font-size: 17px
}

.ebm-contest-table tbody tr:nth-child(1) td:first-child i.text-success {
  color: #ffb020 !important
}

.ebm-contest-table tbody tr:nth-child(2) td:first-child i.text-secondary {
  color: #adb0bd !important
}

.ebm-contest-table tbody tr:nth-child(3) td:first-child i.text-danger {
  color: #cd7f32 !important
}

.ebm-contest-table tbody tr:nth-child(1) td:nth-child(2),
.ebm-contest-table tbody tr:nth-child(2) td:nth-child(2),
.ebm-contest-table tbody tr:nth-child(3) td:nth-child(2) {
  font-weight: 800
}

/* Qualified / Not Qualified — style existing <font>/<i> status markers as pill badges */
.ebm-contest-table font.text-success,
.ebm-contest-table font.text-danger {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 4px 11px;
  border-radius: 50px;
}

.ebm-contest-table font.text-success {
  background: #e9f9ef;
  color: #1e7e42 !important
}

.ebm-contest-table font.text-danger {
  background: #fdecea;
  color: #c0392b !important
}

.ebm-contest-table td i.text-success,
.ebm-contest-table td i.text-danger {
  font-size: 16px
}

body.dark-mode .ebm-contest-table tbody.table-primary {
  background: #1c1830 !important
}

body.dark-mode .ebm-contest-table tbody td {
  color: #e8e6f0;
  border-color: #2c2646
}

body.dark-mode .ebm-contest-table tbody tr:nth-of-type(even) {
  background: #201a38
}

body.dark-mode .ebm-contest-table font.text-success {
  background: #1b3324;
  color: #7be3a4 !important
}

body.dark-mode .ebm-contest-table font.text-danger {
  background: #3a1f22;
  color: #ff8a8a !important
}

/* ---- Previous round winners ---- */
.winner_block {
  padding: 0 10px;
  margin-bottom: 20px;
  float: none
}

.winner_block .inside {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: #333;
  text-shadow: none;
  box-shadow: 0 8px 22px rgba(64, 48, 102, 0.1);
  padding-bottom: 14px;
}

.winner_block .inside .winner {
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(90deg, #241a3d, #403066);
  color: #fff;
  padding: 12px 46px 12px 16px;
  margin: 0 0 12px;
  border-radius: 0;
  text-shadow: none;
}

.ribbon-green {
  background: linear-gradient(135deg, #ffb020, #ff8a1e);
  height: auto;
  width: auto;
  min-width: 34px;
  right: 10px;
  top: 8px;
  color: #241a3d;
  font-weight: 800;
  text-shadow: none;
  margin: 0;
  position: absolute;
  padding: 4px 10px;
  font-size: 14px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ribbon-green:after,
.ribbon-green:before {
  display: none
}

.winner_block .inside h4 {
  color: #403066 !important;
  font-weight: 800;
  font-size: 19px
}

.winner_block .inside p.text-center small {
  color: #8a8398
}

body.dark-mode .winner_block .inside {
  background: #1c1830;
  color: #e8e6f0
}

body.dark-mode .winner_block .inside h4 {
  color: #c9bdfb !important
}

body.dark-mode .winner_block .inside p.text-center small {
  color: #a8a2c0
}

/* =========================================================
   LOTTERY PAGE (lottery.php)
   ========================================================= */
.ebm-lottery-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.ebm-lottery-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(64, 48, 102, 0.06);
}

.ebm-lottery-stat i {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(64, 48, 102, 0.08);
  color: #403066;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.ebm-lottery-stat-prize {
  background: linear-gradient(135deg, #241a3d, #403066);
  border: none;
}

.ebm-lottery-stat-prize i {
  background: rgba(255, 176, 32, 0.18);
  color: #ffb020
}

.ebm-lottery-stat-prize span {
  color: rgba(255, 255, 255, 0.65) !important
}

.ebm-lottery-stat-prize b {
  color: #ffb020 !important
}

.ebm-lottery-stat span {
  display: block;
  font-size: 11px;
  color: #8a8398;
  text-transform: uppercase;
  letter-spacing: .4px
}

.ebm-lottery-stat b {
  font-size: 16px;
  color: #232323
}

.ebm-lottery-buy-card {
  border: none;
  width: 100%;
  max-width: 460px
}

.ebm-lottery-buy-card .card-header i {
  color: #ffb020;
  margin-right: 4px
}

body.dark-mode .ebm-lottery-stat {
  background: #1c1830;
  border-color: #2c2646
}

body.dark-mode .ebm-lottery-stat i {
  background: rgba(255, 255, 255, 0.06)
}

body.dark-mode .ebm-lottery-stat b {
  color: #f2f2f2
}

@media (max-width:767px) {
  .ebm-lottery-stats {
    grid-template-columns: 1fr
  }
}

/* =========================================================
   INVESTMENT GAME (invest.php)
   ========================================================= */
.ebm-invest-chart-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08);
}

.ebm-invest-price-card {
  text-align: center;
  margin-top: 16px;
  padding: 22px;
  background: linear-gradient(135deg, #241a3d, #403066);
  border-radius: 16px;
}

.ebm-invest-price-card span {
  font-size: 34px;
  font-weight: 800;
  color: #ffb020
}

.ebm-invest-price-card small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 11px;
  margin-top: 4px
}

.ebm-invest-bet-card {
  border: none;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08)
}

.ebm-invest-bet-btns {
  display: flex;
  gap: 8px
}

.ebm-invest-bet-btns .btn {
  flex: 1
}

.ebm-invest-active-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08);
}

.ebm-invest-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 10px
}

.ebm-invest-stat {
  background: #faf9fc;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.ebm-invest-stat span {
  display: block;
  font-size: 10.5px;
  color: #8a8398;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 4px
}

.ebm-invest-stat b {
  font-size: 17px;
  color: #232323
}

.ebm-invest-stat-timer b {
  color: #e6394a
}

body.dark-mode .ebm-invest-chart-card {
  background: #1c1830;
  border-color: #2c2646
}

body.dark-mode .ebm-invest-active-card {
  background: #1c1830;
  border-color: #2c2646
}

body.dark-mode .ebm-invest-stat {
  background: #241d3d
}

body.dark-mode .ebm-invest-stat b {
  color: #f2f2f2
}

@media (max-width:575px) {
  .ebm-invest-stats {
    grid-template-columns: 1fr 1fr
  }

  .ebm-invest-bet-btns {
    flex-direction: column
  }
}

/* =========================================================
   SCRATCH TICKET (scratch.php)
   ========================================================= */
.ebm-scratch-card {
  text-align: center;
  margin-top: 14px;
  padding: 20px;
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 16px;
}

.ebm-scratch-card img {
  max-width: 220px
}

body.dark-mode .ebm-scratch-card {
  background: #1c1830;
  border-color: #2c2646
}

/* =========================================================
   OFFERWALL PROVIDER MENU (offers.php)
   ========================================================= */
.ebm-offer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 12px;
}

.ebm-offer-btn {
  background: #fff !important;
  border: 1.5px solid #eee !important;
  color: #403066 !important;
  font-weight: 600;
  font-size: 13px;
  border-radius: 50px !important;
  padding: 8px 18px !important;
  margin: 0 !important;
  box-shadow: none !important;
  transition: all .15s ease;
}

.ebm-offer-btn:hover {
  border-color: #c9bdfb !important;
  background: #f4f0fc !important;
  transform: translateY(-1px);
}

.ebm-offer-btn.active {
  background: linear-gradient(90deg, #403066, #6c3ce0) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(64, 48, 102, 0.3) !important;
}

.ebm-offer-history {
  display: inline-block;
  background: transparent !important;
  border: 1.5px dashed #c9bdfb !important;
  color: #403066 !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 50px !important;
  padding: 8px 18px !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.ebm-offer-history:hover {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(90deg, #241a3d, #403066) !important;
}

body.dark-mode .ebm-offer-history {
  border-color: #4a3d7a !important;
  color: #c9bdfb !important;
}

body.dark-mode .ebm-offer-history:hover {
  color: #fff !important;
}

.ebm-offer-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #8a8398;
  margin: 8px 2px 6px;
}

.ebm-offer-section-label:first-of-type {
  margin-top: 0
}

body.dark-mode .ebm-offer-section-label {
  color: #a8a2c0
}

.ebm-offer-points {
  background: #eef2ff;
  border: none;
  border-radius: 14px;
  color: #3d3a8f;
  font-weight: 600;
  padding: 9px 16px;
  font-size: 13.5px;
}

.ebm-offer-points i {
  color: #7c4dff;
  margin-right: 4px
}

body.dark-mode .ebm-offer-points {
  background: #211f3a;
  color: #b9aeff
}

.ebm-offer-frame {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08)
}

.ebm-offer-frame iframe {
  display: block
}

body.dark-mode .ebm-offer-menu {
  background: #1c1830;
  border-color: #2c2646
}

body.dark-mode .ebm-offer-btn {
  background: #241d3d !important;
  border-color: #2c2646 !important;
  color: #c9bdfb !important
}

body.dark-mode .ebm-offer-btn:hover {
  background: #2c2450 !important;
  border-color: #403066 !important
}

@media (max-width:575px) {
  .ebm-offer-menu {
    justify-content: center
  }
}

/* =========================================================
   REWARDS / ACHIEVEMENTS (rewards.php)
   ========================================================= */
.ebm-rewards-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ebm-rewards-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 12px 14px;
}

.ebm-rewards-stat i {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(64, 48, 102, 0.08);
  color: #403066;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.ebm-rewards-stat span {
  display: block;
  font-size: 10.5px;
  color: #8a8398;
  text-transform: uppercase;
  letter-spacing: .3px
}

.ebm-rewards-stat b {
  font-size: 14px;
  color: #232323
}

.ebm-reward-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ffb020, #ff8a1e);
  color: #241a3d;
  font-weight: 800;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 50px;
}

body.dark-mode .ebm-rewards-stat {
  background: #1c1830;
  border-color: #2c2646
}

body.dark-mode .ebm-rewards-stat b {
  color: #f2f2f2
}

@media (max-width:767px) {
  .ebm-rewards-stats {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:480px) {
  .ebm-rewards-stats {
    grid-template-columns: 1fr
  }
}

/* =========================================================
   COUPONS (coupons.php)
   ========================================================= */
.ebm-coupon-hint {
  margin-top: 8px;
  font-size: 12.5px;
  color: #8a6100;
  background: #fff8e6;
  border-radius: 10px;
  padding: 8px 14px;
  display: inline-block;
}

.ebm-coupon-hint b {
  color: #403066
}

body.dark-mode .ebm-coupon-hint {
  background: #3a301a;
  color: #ffd27a
}

body.dark-mode .ebm-coupon-hint b {
  color: #c9bdfb
}

/* =========================================================
   HIDEOUT / PIXELPOINT.TV (hideout.php)
   ========================================================= */
.ebm-howitworks .card {
  border: none;
  box-shadow: 0 4px 14px rgba(64, 48, 102, 0.06);
  margin-bottom: 16px
}

.ebm-howitworks .btn-link {
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  padding: 0
}

.ebm-howitworks .btn-link:hover {
  text-decoration: none;
  color: #ffb020 !important
}

.ebm-hideout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.ebm-hideout-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08);
  display: flex;
  flex-direction: column;
}

.ebm-hideout-card-header {
  background: linear-gradient(90deg, #241a3d, #403066);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
}

.ebm-hideout-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center
}

.ebm-hideout-thumb {
  max-width: 110px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: contain
}

.ebm-hideout-card-body p {
  font-size: 13px;
  color: #666;
  flex: 1
}

body.dark-mode .ebm-hideout-card {
  background: #1c1830;
  border-color: #2c2646
}

body.dark-mode .ebm-hideout-card-body p {
  color: #a8a2c0
}

@media (max-width:767px) {
  .ebm-hideout-grid {
    grid-template-columns: 1fr
  }
}

/* =========================================================
   AFFILIATES (affiliates.php)
   ========================================================= */
.ebm-aff-intro {
  background: linear-gradient(135deg, #241a3d, #403066);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  text-align: center;
}

.ebm-aff-intro h1 {
  font-size: 20px;
  font-weight: 700;
  color: #ffb020 !important;
  margin-bottom: 8px
}

.ebm-aff-intro p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto
}

.ebm-aff-note {
  color: rgba(255, 255, 255, 0.55) !important;
  margin-top: 8px !important
}

.ebm-aff-link {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  margin: 16px auto 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 18px;
}

.ebm-aff-link i {
  color: #ffb020
}

.ebm-aff-link input {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  padding: 0 !important;
  box-shadow: none !important
}

.ebm-aff-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px
}

.ebm-aff-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px 16px;
}

.ebm-aff-stat:hover {
  background: #f1ecfa;
  text-decoration: none
}

.ebm-aff-stat i {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(64, 48, 102, 0.08);
  color: #403066;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.ebm-aff-stat span {
  display: block;
  font-size: 11px;
  color: #8a8398;
  text-transform: uppercase;
  letter-spacing: .3px
}

.ebm-aff-stat b {
  font-size: 15px;
  color: #232323
}

.ebm-banner-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(64, 48, 102, 0.06);
}

.ebm-banner-title {
  font-weight: 700;
  color: #403066;
  font-size: 14px;
  margin-bottom: 12px
}

.ebm-banner-preview {
  text-align: center;
  background: #faf9fc;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px
}

.ebm-banner-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.ebm-banner-code-block label {
  font-size: 11px;
  font-weight: 700;
  color: #8a8398;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 4px
}

.ebm-banner-code-block textarea {
  font-family: monospace;
  font-size: 11px;
  background: #faf9fc;
  resize: none
}

body.dark-mode .ebm-aff-stat {
  background: #1c1830;
  border-color: #2c2646
}

body.dark-mode .ebm-aff-stat:hover {
  background: #241d3d
}

body.dark-mode .ebm-aff-stat b {
  color: #f2f2f2
}

body.dark-mode .ebm-banner-card {
  background: #1c1830;
  border-color: #2c2646
}

body.dark-mode .ebm-banner-preview {
  background: #241d3d
}

body.dark-mode .ebm-banner-code-block textarea {
  background: #241d3d;
  color: #e8e6f0
}

@media (max-width:575px) {
  .ebm-aff-stats {
    grid-template-columns: 1fr
  }

  .ebm-banner-codes {
    grid-template-columns: 1fr
  }
}

/* =========================================================
   REFERRALS (referrals.php)
   ========================================================= */
.ebm-ref-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
}

.ebm-ref-toolbar label {
  margin: 0;
  color: #8a8398;
  font-weight: 600
}

.ebm-ref-toolbar select {
  width: auto;
  border-radius: 10px
}

.ebm-ref-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600
}

.ebm-ref-user img {
  border-radius: 2px;
  box-shadow: 0 0 0 1px #eee
}

.ebm-ref-claims {
  font-size: 11.5px;
  color: #8a8398;
  font-weight: 500
}

/* =========================================================
   LEGAL PAGES (privacy.php, tos.php)
   ========================================================= */
#grey-box .content h2 {
  font-size: 16px;
  font-weight: 700;
  color: #403066;
  margin: 18px 0 10px;
}

#grey-box .content h2:first-of-type {
  margin-top: 0
}

#grey-box .content hr.global {
  border: none;
  border-top: 1px solid #f0eef7;
  margin: 18px 0;
}

#grey-box .content ol {
  padding-left: 22px
}

#grey-box .content ol li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: #444
}

.ebm-legal-link {
  color: #7c4dff;
  font-weight: 700;
  text-decoration: none
}

.ebm-legal-link:hover {
  text-decoration: underline
}

body.dark-mode #grey-box .content h2 {
  color: #c9bdfb
}

body.dark-mode #grey-box .content hr.global {
  border-top-color: #2c2646
}

body.dark-mode #grey-box .content ol li {
  color: #d8d4e6
}

body.dark-mode .ebm-legal-link {
  color: #c9bdfb
}

/* =========================================================
   PAYMENT PROOFS (payments.php)
   ========================================================= */
.ebm-payments-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #241a3d, #403066);
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

.ebm-payments-headline i {
  color: #ffb020;
  font-size: 18px
}

.ebm-payments-headline b {
  color: #ffb020
}

/* =========================================================
   FAQ ACCORDION (faq.php)
   ========================================================= */
.ebm-faq-accordion .card {
  border: none;
  box-shadow: 0 4px 14px rgba(64, 48, 102, 0.06);
  margin-bottom: 12px
}

.ebm-faq-accordion .btn-link {
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  padding: 0;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ebm-faq-accordion .btn-link:hover {
  text-decoration: none;
  color: #ffb020 !important
}

.ebm-faq-accordion .btn-link i {
  font-size: 12px;
  transition: transform .2s ease
}

.ebm-faq-accordion .btn-link.collapsed i {
  transform: rotate(-90deg)
}

.ebm-faq-accordion .card-body {
  line-height: 1.7;
  color: #444
}

body.dark-mode .ebm-faq-accordion .card-body {
  color: #d8d4e6
}

/* =========================================================
   GENERIC SOFT ALERTS — .alert-warning/.alert-danger/.alert-info/
   .alert-success had no base styling anywhere (plain Bootstrap
   solid blocks). Used across many pages site-wide, not just jobs.
   ========================================================= */
.alert {
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(64, 48, 102, 0.06);
  font-weight: 600;
  padding: 14px 18px;
}

.alert-danger {
  background: #fdecea;
  color: #c0392b;
  border-left: 4px solid #e6394a
}

.alert-warning {
  background: #fff8e6;
  color: #8a6100;
  border-left: 4px solid #ffb020
}

.alert-info {
  background: #eef2ff;
  color: #3d3a8f;
  border-left: 4px solid #6c3ce0
}

.alert-success {
  background: #e9f9ef;
  color: #1e7e42;
  border-left: 4px solid #2ecc71
}

body.dark-mode .alert-danger {
  background: #3a1f22;
  color: #ff8a8a
}

body.dark-mode .alert-warning {
  background: #3a301a;
  color: #ffd27a
}

body.dark-mode .alert-info {
  background: #211f3a;
  color: #b9aeff
}

body.dark-mode .alert-success {
  background: #1b3324;
  color: #7be3a4
}

/* =========================================================
   SHORTLINKS — card-list design (shortlinks.php)
   Replaces the old dark table entirely. A vertical card list
   naturally stacks on any screen width, so there's no wide
   table to scroll in the first place — sidesteps the mobile
   scroll issue rather than patching it.
   ========================================================= */
.ebm-shortlink-panel {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08);
}

.ebm-shortlink-list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.ebm-shortlink-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 12px 16px;
  transition: background .15s ease, transform .15s ease;
}

.ebm-shortlink-item:hover {
  background: #f4f0fc;
  transform: translateY(-1px)
}

.ebm-shortlink-item.ebm-shortlink-done {
  opacity: .6
}

.ebm-shortlink-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #403066, #6c3ce0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

.ebm-shortlink-info {
  flex: 1;
  min-width: 0
}

.ebm-shortlink-name {
  font-weight: 700;
  font-size: 14px;
  color: #232323;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.ebm-shortlink-progress {
  height: 6px;
  border-radius: 50px;
  background: #e6e2f0;
  margin: 6px 0 4px;
  overflow: hidden;
}

.ebm-shortlink-progress-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, #ffb020, #ff8a1e);
  transition: width .3s ease;
}

.ebm-shortlink-done .ebm-shortlink-progress-fill {
  background: #c7c2d6
}

.ebm-shortlink-meta {
  font-size: 11px;
  color: #8a8398
}

.ebm-shortlink-reward {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 13px;
  color: #403066;
  background: #f0ecf9;
  border-radius: 50px;
  padding: 6px 12px;
  white-space: nowrap;
}

.ebm-shortlink-reward i {
  color: #ffb020;
  margin-right: 3px
}

.ebm-shortlink-action {
  flex-shrink: 0;
  text-align: right;
  min-width: 88px
}

.ebm-shortlink-timer {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #8a8398;
  background: #eee;
  border-radius: 50px;
  padding: 5px 12px;
}

.ebm-shortlink-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 14px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #241a3d, #403066);
  color: #fff;
  border-radius: 16px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}

.ebm-shortlink-summary i {
  color: #ffb020;
  font-size: 16px
}

.ebm-shortlink-summary b {
  color: #ffb020;
  font-weight: 800;
  margin: 0 3px;
  white-space: nowrap;
}

body.dark-mode .ebm-shortlink-panel {
  background: #1c1830;
  border-color: #2c2646
}

body.dark-mode .ebm-shortlink-item {
  background: #241d3d;
  border-color: #2c2646
}

body.dark-mode .ebm-shortlink-item:hover {
  background: #2c2450
}

body.dark-mode .ebm-shortlink-name {
  color: #f2f2f2
}

body.dark-mode .ebm-shortlink-progress {
  background: #2c2646
}

body.dark-mode .ebm-shortlink-reward {
  background: #241d3d;
  color: #c9bdfb
}

body.dark-mode .ebm-shortlink-timer {
  background: #241d3d;
  color: #a8a2c0
}

@media (max-width:575px) {
  .ebm-shortlink-item {
    flex-wrap: wrap
  }

  .ebm-shortlink-info {
    order: 1;
    flex-basis: 100%
  }

  .ebm-shortlink-icon {
    order: 0
  }

  .ebm-shortlink-reward {
    order: 2
  }

  .ebm-shortlink-action {
    order: 3;
    margin-left: auto
  }

  .ebm-shortlink-summary {
    font-size: 13px;
    padding: 12px 16px
  }
}

/* =========================================================
   DAILY CHALLENGES (challenges.php)
   ========================================================= */
.ebm-challenge-claimed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #2ecc71;
  font-weight: 800;
  font-size: 16px;
  padding: 20px 0;
}

.ebm-challenge-progress-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px
}

.ebm-challenge-progress-label b {
  color: #403066
}

.ebm-challenge-progress {
  height: 8px;
  border-radius: 50px;
  background: #e6e2f0;
  margin-bottom: 14px;
  overflow: hidden;
}

.ebm-challenge-progress-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, #ffb020, #ff8a1e);
  transition: width .3s ease;
}

.ebm-challenge-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #8a8398;
}

.ebm-challenge-footer i {
  margin-right: 4px;
  color: #7c4dff
}

body.dark-mode .ebm-challenge-progress-label {
  color: #a8a2c0
}

body.dark-mode .ebm-challenge-progress-label b {
  color: #c9bdfb
}

body.dark-mode .ebm-challenge-progress {
  background: #2c2646
}

body.dark-mode .ebm-challenge-footer {
  color: #a8a2c0
}

/* =========================================================
   PTC (ptc.php) — reuses .website_block from video.php, plus
   the report-flag button style (previously only defined inline
   in video.php's own <style> block, now available globally so
   ptc.php can use it too).
   ========================================================= */
/* =========================================================
   REPORT FLAG — restored to the original approach (nested
   inside .description for ptc.php with self-contained inline
   positioning, matching the source file exactly). This shared
   rule stays available for any page not defining its own local
   copy, but video.php now carries its own local copy too so it
   no longer depends on this external file at all.
   ========================================================= */
.report-flag-btn-top {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 15px;
  color: #e6394a;
  background: transparent;
  border: none;
  opacity: 0.75;
  transition: all 0.2s ease;
  z-index: 5;
}

.report-flag-btn-top:hover {
  opacity: 1;
  transform: scale(1.25);
  color: #ff0000;
}

.report-flag-btn-top i {
  pointer-events: none;
}

.ebm-ptc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  color: #7c4dff;
  margin: 8px 10px 0;
}

/* =========================================================
   REPORT MODAL (ptc.php / video.php) — same design language
   as the membership purchase modal.
   ========================================================= */
#reportModal .modal-content,
.ebm-report-modal {
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 10, 40, 0.35) !important;
}

#reportModal .modal-header {
  background: linear-gradient(135deg, #241a3d 0%, #403066 60%, #5b3aa0 100%) !important;
  border-bottom: none !important;
  padding: 22px 26px !important;
}

#reportModal .modal-title {
  color: #fff !important;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#reportModal .modal-title i {
  color: #ffb020
}

#reportModal .close {
  color: #fff !important;
  opacity: .8;
  text-shadow: none !important;
}

#reportModal .close:hover {
  opacity: 1
}

#reportModal .modal-body {
  padding: 24px 26px !important
}

.ebm-report-hint {
  font-size: 13.5px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.6
}

.ebm-report-title {
  font-weight: 700;
  color: #403066;
  margin-bottom: 12px
}

#reportModal select.form-control {
  border: 1px solid #e6e2f0 !important;
  border-radius: 12px !important;
  background: #faf9fc !important;
  padding: 11px 14px !important;
  height: auto !important;
}

#reportModal select.form-control:focus {
  border-color: #7c4dff !important;
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15) !important;
  background: #fff !important;
}

#reportModal .modal-footer {
  border-top: 1px solid #f0eef7 !important;
  padding: 16px 26px !important
}

.ebm-report-cancel {
  background: #faf9fc !important;
  border: 1px solid #eee !important;
  color: #666 !important;
  border-radius: 50px !important;
  font-weight: 600;
  padding: 9px 20px !important;
}

.ebm-report-cancel:hover {
  background: #f0eef7 !important
}

#reportModal .btn-danger {
  border-radius: 50px !important;
  padding: 9px 22px !important
}

body.dark-mode #reportModal .modal-body {
  background: #1c1830 !important
}

body.dark-mode .ebm-report-hint {
  color: #a8a2c0
}

body.dark-mode .ebm-report-title {
  color: #c9bdfb
}

body.dark-mode #reportModal select.form-control {
  background: #241d3d !important;
  border-color: #2c2646 !important;
  color: #fff !important
}

body.dark-mode #reportModal .modal-footer {
  background: #1c1830 !important;
  border-top-color: #2c2646 !important
}

body.dark-mode .ebm-report-cancel {
  background: #241d3d !important;
  border-color: #2c2646 !important;
  color: #c9bdfb !important
}

/* =========================================================
   DAILY BONUS (bonus.php) — visual restyle only, no spacing
   changes were made in the HTML around the ad banners.
   ========================================================= */
.ebm-bonus-claim-btn {
  background: linear-gradient(90deg, #e6394a, #ff6b6b) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 28px !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 24px rgba(230, 57, 74, 0.35);
  animation: ebmPulse 2.4s infinite;
}

.ebm-bonus-claim-btn i {
  color: #ffe27a
}

.ebm-faucet-claim-btn {
  background: linear-gradient(90deg, #e6394a, #ff6b6b) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  padding: 5px 20px !important;
  border-radius: 50px !important;
  box-shadow: 0 6px 14px rgba(230, 57, 74, 0.3);
  line-height: 1.4;
  animation: ebmPulse 2.4s infinite;
}

.ebm-faucet-claim-btn:hover {
  color: #fff
}

.ebm-bonus-modal {
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 10, 40, 0.35) !important;
}

.ebm-bonus-modal .modal-header {
  background: linear-gradient(135deg, #241a3d 0%, #403066 60%, #5b3aa0 100%) !important;
  border-bottom: none !important;
  padding: 22px 26px !important;
}

.ebm-bonus-modal .modal-title {
  color: #fff !important;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ebm-bonus-modal .modal-title i {
  color: #ffb020
}

.ebm-bonus-modal .close {
  color: #fff !important;
  opacity: .8;
  text-shadow: none !important
}

.ebm-bonus-modal .close:hover {
  opacity: 1
}

.ebm-bonus-modal .modal-body {
  padding: 26px !important
}

.ebm-bonus-disabled {
  background: #eee !important;
  color: #8a8398 !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700;
  padding: 12px 28px !important;
}

body.dark-mode .ebm-bonus-modal .modal-body {
  background: #1c1830 !important
}

body.dark-mode .ebm-bonus-disabled {
  background: #241d3d !important;
  color: #a8a2c0 !important
}

@keyframes ebmPulse {

  0%,
  100% {
    box-shadow: 0 10px 24px rgba(230, 57, 74, .35)
  }

  50% {
    box-shadow: 0 10px 34px rgba(230, 57, 74, .55)
  }
}

/* =========================================================
   REPORT FLAG v4 — completely different approach: a normal
   button sitting next to Visit/Watch at the bottom of the
   card, in plain flexbox flow. No position:absolute/relative
   anywhere at all, so there's nothing left to misbehave.
   ========================================================= */
.ebm-card-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.ebm-visit-btn {
  flex: 1;
  margin: 0 !important
}

.ebm-report-side-btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf9fc !important;
  border: 1px solid #eee !important;
  color: #e6394a !important;
  border-radius: 10px !important;
  padding: 0 !important;
  font-size: 14px;
  transition: background .15s ease, transform .15s ease;
}

.ebm-report-side-btn:hover {
  background: #fdecea !important;
  transform: translateY(-1px)
}

body.dark-mode .ebm-report-side-btn {
  background: #241d3d !important;
  border-color: #2c2646 !important;
  color: #ff6b6b !important
}

body.dark-mode .ebm-report-side-btn:hover {
  background: #3a1f22 !important
}

/* =========================================================
   ADVERTISER PAGES — advertise.php, myjobs.php, jobsadd.php
   ========================================================= */
.ebm-job-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #faf9fc;
  border: 1px solid #eee;
  color: #403066;
  font-size: 12px;
  margin: 0 2px;
}

.ebm-job-action:hover {
  background: #f1ecfa;
  color: #403066;
  text-decoration: none
}

.ebm-job-action-success {
  color: #1e7e42
}

.ebm-job-action-success:hover {
  background: #e9f9ef;
  color: #1e7e42
}

.ebm-job-action-danger {
  color: #c0392b
}

.ebm-job-action-danger:hover {
  background: #fdecea;
  color: #c0392b
}

body.dark-mode .ebm-job-action {
  background: #241d3d;
  border-color: #2c2646;
  color: #c9bdfb
}

.ebm-lightbox-modal {
  background: #1c1830 !important;
  border: none !important;
  border-radius: 16px !important;
  overflow: hidden;
}

.ebm-row-muted td {
  background: #faf9fc !important;
  color: #8a8398 !important
}

body.dark-mode .ebm-row-muted td {
  background: #201a38 !important;
  color: #6b6580 !important
}

/* Soften the third-party ad banner inside the login modal so it
   doesn't jarringly interrupt the form flow */
#loginModalBannerContainer {
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 14px;
}

body.dark-mode #loginModalBannerContainer {
  background: #1c1830;
  border-color: #2c2646
}

/* =========================================================
   TRANSACTION MODAL (#transModal) — Deposit/Withdraw/Transfer
   sidebar.php. Shares .ebm-report-modal container styling
   (rounded, shadow) with a dedicated gradient header.
   ========================================================= */
#transModal .modal-header {
  background: linear-gradient(135deg, #241a3d 0%, #403066 60%, #5b3aa0 100%);
  border-bottom: none;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#transModal .modal-title {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

#transModal .modal-title i {
  color: #ffb020
}

#transModal .close {
  color: #fff;
  opacity: .8;
  text-shadow: none
}

#transModal .close:hover {
  opacity: 1
}

#transModal .modal-body {
  padding: 26px
}

#transModal label {
  font-size: 12.5px;
  font-weight: 700;
  color: #8a8398;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 6px
}

#transModal .form-control,
#transModal .custom-select {
  border: 1px solid #e6e2f0;
  border-radius: 12px;
  background: #faf9fc;
  padding: 11px 14px;
  height: auto;
  font-size: 14px;
}

#transModal select.custom-select,
#transModal select.form-control,
#transModal select#withdrawCoin,
#transModal select#withdrawMethod,
#transModal select#depositMethod {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffb020' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

#transModal .form-control:focus,
#transModal .custom-select:focus {
  border-color: #7c4dff;
  box-shadow: 0 0 0 3px rgba(124, 77, 255, .15);
  background: #fff;
}

/* Insurance for the method-specific step-2 withdraw fields
   (amount/coin/address) returned dynamically by ajax.php —
   styled by ID so they stay consistent regardless of the exact
   wrapper markup, as long as standard classes are used. */
#transModal #withdrawAmount,
#transModal #withdrawCoin,
#transModal #withdrawAddress,
#transModal #withdrawResult .form-control,
#transModal #withdrawResult select {
  border: 1px solid #e6e2f0;
  border-radius: 12px;
  background: #faf9fc;
  padding: 11px 14px;
  height: auto;
  font-size: 14px;
}

#transModal #withdrawResult {
  margin-top: 10px
}

body.dark-mode #transModal .form-control,
body.dark-mode #transModal .custom-select,
body.dark-mode #transModal #withdrawAmount,
body.dark-mode #transModal #withdrawCoin,
body.dark-mode #transModal #withdrawAddress {
  background-color: #231d3d !important;
  border-color: #3a3160 !important;
  color: #fff !important;
}

body.dark-mode #transModal select.custom-select,
body.dark-mode #transModal select.form-control,
body.dark-mode #transModal select#withdrawCoin,
body.dark-mode #transModal select#withdrawMethod,
body.dark-mode #transModal select#depositMethod {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffb020' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px 8px !important;
}

body.dark-mode #transModal label {
  color: #a8a2c0
}

.ebm-withdraw-result {
  min-height: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #403066;
  transition: all .15s ease;
}

.ebm-withdraw-result:not(:empty) {
  background: #f4f0fc;
  border: 1px solid #e6e2f0;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
}

.ebm-withdraw-result strong {
  color: #2ecc71
}

body.dark-mode .ebm-withdraw-result {
  color: #c9bdfb
}

body.dark-mode .ebm-withdraw-result:not(:empty) {
  background: #241d3d;
  border-color: #2c2646
}

/* =========================================================
   SIDEBAR REDESIGN (sidebar.php) — compact identity header,
   hero balance card, combined membership/claims chips, and
   a 2x2 action grid for Advertise/Jobs/Deposit/Transfer.
   ========================================================= */
.ebm-sb-identity {
  padding: 0;
  overflow: hidden
}

.ebm-sb-body {
  padding: 18px
}

.ebm-sb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(90deg, #241a3d 0%, #403066 60%, #4d3583 100%);
  padding: 14px 14px;
}

.ebm-sb-identity-text {
  min-width: 0;
  text-align: left;
  flex: 1
}

.ebm-sb-greeting {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600
}

.ebm-sb-username {
  font-weight: 800;
  font-size: 14px;
  color: #ffb020;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.ebm-sb-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffb020;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-decoration: none;
}

.ebm-sb-level-badge i {
  color: #ffb020;
  font-size: 10px
}

.ebm-sb-level-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffb020;
  text-decoration: none
}

.ebm-sb-bell {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.ebm-sb-bell:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2)
}

.ebm-sb-bell::after {
  content: attr(data-count);
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ffb020;
  color: #241a3d;
  font-size: 9px;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid #403066;
  opacity: 0;
  transform: scale(.5);
  transition: transform .2s ease, opacity .2s ease;
}

.ebm-sb-bell.show-count::after {
  opacity: 1;
  transform: scale(1)
}

.ebm-sb-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #241a3d 0%, #403066 60%, #5b3aa0 100%);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
}

.ebm-sb-hero-label {
  font-size: 10.5px;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 700
}

.ebm-sb-hero-value {
  font-size: 19px;
  font-weight: 800;
  color: #ffb020;
  margin-top: 4px;
  line-height: 1.2
}

.ebm-sb-hero-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .75);
  margin-top: 2px
}

.ebm-sb-withdraw-btn {
  background: linear-gradient(90deg, #1ea34c, #2ecc71) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 12px !important;
  padding: 10px !important;
  box-shadow: 0 6px 16px rgba(46, 204, 113, 0.3);
}

.ebm-sb-withdraw-btn:hover {
  color: #fff
}

.ebm-sb-chip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 8px;
  text-decoration: none;
  font-size: 12.5px;
  color: #403066;
  font-weight: 700;
}

.ebm-sb-chip:hover {
  background: #f4f0fc;
  color: #403066;
  text-decoration: none
}

.ebm-sb-chip i {
  color: #7c4dff;
  width: 16px;
  text-align: center;
  flex-shrink: 0
}

.ebm-sb-chip span {
  flex: 1;
  min-width: 0
}

.ebm-sb-chip small {
  color: #8a8398;
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
  margin-left: auto
}

.ebm-sb-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px
}

.ebm-sb-stat {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  box-shadow: 0 2px 8px rgba(64, 48, 102, 0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

a.ebm-sb-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(64, 48, 102, 0.14);
  text-decoration: none
}

.ebm-sb-stat-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
}

.ebm-sb-stat-icon-gold {
  background: linear-gradient(135deg, #ffb020, #ff8a1e)
}

.ebm-sb-stat-icon-purple {
  background: linear-gradient(135deg, #403066, #6c3ce0)
}

.ebm-sb-stat-label {
  font-size: 9.5px;
  color: #8a8398;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-weight: 700
}

.ebm-sb-stat-value {
  font-size: 13px;
  color: #232323;
  font-weight: 800;
  margin-top: -3px
}

body.dark-mode .ebm-sb-stat {
  background: #241d3d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15)
}

body.dark-mode .ebm-sb-stat-value {
  color: #f2f2f2
}

body.dark-mode .ebm-sb-stat-label {
  color: #a8a2c0
}

.ebm-sb-level {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 10px;
  box-shadow: 0 2px 8px rgba(64, 48, 102, 0.06);
}

.ebm-sb-level-label {
  text-align: center;
  font-size: 11px;
  color: #8a8398;
  font-weight: 600;
  margin-bottom: 8px;
}

.ebm-sb-level .progress {
  height: 9px;
  border-radius: 50px;
  background: #e6e2f0;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.ebm-sb-level .progress-bar {
  background: linear-gradient(90deg, #ffb020, #ff8a1e) !important;
  border-radius: 50px;
}

body.dark-mode .ebm-sb-level {
  background: #241d3d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15)
}

body.dark-mode .ebm-sb-level .progress {
  background: #2c2646
}

body.dark-mode .ebm-sb-level-label {
  color: #a8a2c0
}

.ebm-sb-earn .content {
  padding: 14px
}

.ebm-sb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px
}

.ebm-sb-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #403066;
  width: 100%;
  text-align: center;
}

.ebm-sb-tile:hover {
  background: #f4f0fc;
  color: #403066
}

.ebm-sb-tile i {
  font-size: 18px;
  color: #7c4dff
}

.ebm-sb-tile-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  background: #e6394a;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  font-style: normal;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.dropdown-menu[aria-labelledby="advertiseMenu"],
.dropdown-menu[aria-labelledby="jobsMenu"] {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(64, 48, 102, 0.18);
  padding: 6px;
  min-width: 210px;
  white-space: nowrap;
}

.dropdown-menu[aria-labelledby="advertiseMenu"] .dropdown-item,
.dropdown-menu[aria-labelledby="jobsMenu"] .dropdown-item {
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
}

.dropdown-menu[aria-labelledby="advertiseMenu"] .dropdown-item:hover,
.dropdown-menu[aria-labelledby="jobsMenu"] .dropdown-item:hover {
  background: #f4f0fc;
}

body.dark-mode .ebm-sb-level-badge {
  background: #241d3d;
  color: #c9bdfb
}

body.dark-mode .ebm-sb-chip {
  background: #241d3d;
  border-color: #2c2646;
  color: #c9bdfb
}

body.dark-mode .ebm-sb-chip:hover {
  background: #2c2450;
  color: #c9bdfb
}

body.dark-mode .ebm-sb-chip small {
  color: #a8a2c0
}

body.dark-mode .ebm-sb-tile {
  background: #241d3d;
  border-color: #2c2646;
  color: #c9bdfb
}

body.dark-mode .ebm-sb-tile:hover {
  background: #2c2450;
  color: #c9bdfb
}

/* =========================================================
   DASHBOARD — faucet card/modal + community/referral cards
   ========================================================= */
.ebm-dash-card {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(64, 48, 102, 0.08);
  display: flex;
  flex-direction: column;
}

.ebm-dash-card-title {
  background: linear-gradient(90deg, #241a3d 0%, #403066 60%, #4d3583 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ebm-dash-card-title i {
  color: #ffb020
}

.ebm-dash-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.ebm-dash-card-body p {
  color: #8a8398;
  font-size: 13px;
  margin-bottom: 16px
}

.ebm-dash-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto
}

.ebm-dash-card-actions .btn {
  flex: 1;
  min-width: 140px
}

.ebm-dash-card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 50px;
  padding: 8px 16px;
  margin-bottom: 14px;
}

.ebm-dash-card-link i {
  color: #7c4dff
}

.ebm-dash-card-link input {
  border: none;
  background: transparent;
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  color: #403066;
  font-weight: 600;
}

.ebm-dash-card-link input:focus {
  outline: none
}

@media (max-width:575px) {
  .ebm-dash-card-title {
    padding: 14px 16px;
    font-size: 13px
  }

  .ebm-dash-card-body {
    padding: 16px
  }

  .ebm-dash-card-actions .btn {
    min-width: 120px;
    font-size: 12px;
    padding: 8px 12px !important
  }

  .ebm-dash-card-link {
    padding: 7px 14px
  }

  .ebm-dash-card-link input {
    font-size: 11.5px
  }
}

body.dark-mode .ebm-dash-card {
  background: #1c1830;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3)
}

.ebm-dash-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px
}

.ebm-dash-stat {
  background: #faf9fc;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.ebm-dash-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(64, 48, 102, 0.12);
  text-decoration: none
}

.ebm-dash-stat-icon {
  color: #7c4dff;
  font-size: 16px;
  margin-bottom: 6px
}

.ebm-dash-stat-label {
  font-size: 9.5px;
  color: #8a8398;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-weight: 700
}

.ebm-dash-stat-value {
  font-size: 13px;
  color: #232323;
  font-weight: 800;
  margin-top: 2px
}

.ebm-dash-card-footer-links {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f0eef7;
  font-size: 12px;
  color: #8a8398;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ebm-dash-card-footer-links a {
  color: #403066;
  font-weight: 700;
  text-decoration: none
}

.ebm-dash-card-footer-links a:hover {
  color: #7c4dff;
  text-decoration: none
}

.ebm-dash-card-footer-links-lg {
  font-size: 13.5px
}

.ebm-dash-card-footer-links-lg a {
  font-size: 14px;
  background: #f4f0fc;
  padding: 5px 12px;
  border-radius: 50px;
}

.ebm-dash-card-footer-links-lg a:hover {
  background: #e9e0fa;
  color: #403066
}

body.dark-mode .ebm-dash-card-footer-links-lg a {
  background: #241d3d;
  color: #c9bdfb
}

body.dark-mode .ebm-dash-card-footer-links-lg a:hover {
  background: #2c2450
}

body.dark-mode .ebm-dash-stat {
  background: #241d3d;
  border-color: #2c2646
}

body.dark-mode .ebm-dash-stat-value {
  color: #f2f2f2
}

body.dark-mode .ebm-dash-stat-label {
  color: #a8a2c0
}

body.dark-mode .ebm-dash-card-footer-links {
  border-top-color: #2c2646;
  color: #a8a2c0
}

body.dark-mode .ebm-dash-card-footer-links a {
  color: #c9bdfb
}

body.dark-mode .ebm-dash-card-body p {
  color: #a8a2c0
}

body.dark-mode .ebm-dash-card-link {
  background: #241d3d;
  border-color: #2c2646
}

body.dark-mode .ebm-dash-card-link input {
  color: #c9bdfb
}

#modal2my .modal-header {
  background: linear-gradient(135deg, #241a3d 0%, #403066 60%, #5b3aa0 100%) !important;
  border-bottom: none !important;
  padding: 20px 24px !important;
}

#modal2my .modal-title {
  color: #fff !important;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

#modal2my .modal-title i {
  color: #ffb020
}

#modal2my .close {
  color: #fff !important;
  opacity: .85;
  text-shadow: none !important
}

#modal2my .close:hover {
  opacity: 1
}

#modal2my .modal-body {
  padding: 24px
}

#modal2my .modal-footer {
  border-top: 1px solid #f0eef7
}

body.dark-mode #modal2my .modal-body {
  background: #1c1830
}

body.dark-mode #modal2my .modal-footer {
  background: #1c1830;
  border-top-color: #2c2646
}

.ebm-ad-slot {
  position: relative;
  display: inline-block;
  min-height: 250px
}

.ebm-ad-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #faf9fc 25%, #f1ecfa 37%, #faf9fc 63%);
  background-size: 400% 100%;
  animation: ebmShimmer 1.6s ease-in-out infinite;
  border-radius: 10px;
  color: #a8a2c0;
  font-size: 12px;
  font-weight: 600;
}

.ebm-ad-skeleton i {
  font-size: 22px;
  opacity: .6
}

@keyframes ebmShimmer {
  0% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0 50%
  }
}

body.dark-mode .ebm-ad-skeleton {
  background: linear-gradient(90deg, #241d3d 25%, #2c2450 37%, #241d3d 63%);
  background-size: 400% 100%;
  color: #a8a2c0
}


.ebm-contest-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #ffb020, #ff8a1e);
  color: #241a3d;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 50px;
  padding: 9px 18px;
  margin: -4px 0 12px;
  box-shadow: 0 6px 16px rgba(255, 176, 32, 0.3);
}

.ebm-contest-rank b {
  color: #241a3d;
  font-size: 16px;
  font-weight: 900
}

.ebm-contest-rank i {
  color: #241a3d;
  margin-right: 2px
}

body.dark-mode .ebm-contest-rank {
  color: #241a3d
}

@media (max-width:991px) {
  [data-ebm-advertise="1"] {
    display: none;
  }
}

.ebm-advertise-relocated {
  display: block !important;
  margin: 20px auto !important;
  max-width: 600px;
}

/* =========================================================
   FEATURED SURVEYS WIDGET — shared, universal (dashboard PC +
   sidebar mobile). Moved out of dashboard.php's own <style>
   block so it works on every page via sidebar.php.
   ========================================================= */
.cpx-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%) scale(0.92);
  background: #241d3d;
  border-radius: 18px;
  padding: 24px;
  max-width: 420px;
  width: 95%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  z-index: 10050;
  border: 1px solid #ffb020;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease-out;
  backdrop-filter: blur(5px);
  color: #fff;
  font-family: "Inter", sans-serif;
}

.cpx-popup.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.cpx-popup-title {
  font-weight: 800;
  color: #ffb020;
  font-size: 1.1em;
}

.cpx-popup-body {
  font-size: 0.95em;
  color: #e8e6f0;
  margin-top: 10px;
}

.cpx-popup-close-x {
  position: absolute;
  top: 12px;
  right: 15px;
  background: transparent;
  border: none;
  color: #a8a2c0;
  font-size: 22px;
  cursor: pointer;
}

.cpx-popup-close-x:hover {
  color: #fff;
}

.survey-provider-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2em;
  flex-shrink: 0;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.05);
}

.p-box-cpx {
  background: rgba(255, 202, 40, 0.1);
  color: #ffca28;
  border: 1px solid rgba(255, 202, 40, 0.25);
}

.p-box-bitlabs {
  background: rgba(0, 210, 255, 0.1);
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.p-box-prime {
  background: rgba(224, 64, 251, 0.1);
  color: #e040fb;
  border: 1px solid rgba(224, 64, 251, 0.25);
}

.survey-btn-action {
  background: linear-gradient(90deg, #403066, #6c3ce0);
  color: #fff;
  font-weight: 700;
  font-size: 0.9em;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.survey-btn-action:hover {
  background: transparent;
  color: #ffb020;
  border-color: #ffb020;
  box-shadow: 0 0 15px rgba(255, 176, 32, 0.2);
}

.stars-yellow {
  color: #ffb020;
  letter-spacing: 2px;
  font-size: 0.95em;
}

.survey-micro-card {
  background: #241d3d;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out;
  flex: 1 1 calc(25% - 12px);
  min-width: 150px;
}

.survey-micro-card:hover {
  background: #2c2450;
  border-color: rgba(255, 176, 32, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.survey-micro-data {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.survey-micro-coins {
  font-weight: 800;
  font-size: 1.15em;
  color: #ffb020;
  line-height: 1.1;
}

.survey-micro-time {
  font-size: 0.82em;
  color: #c9bdfb;
  font-weight: 600;
}

.survey-micro-stars {
  font-size: 0.7em;
  color: #ffb020;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .survey-mobile-hide {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .survey-micro-card {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .survey-micro-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 45%;
    padding: 8px 10px;
  }

  .survey-micro-coins {
    font-size: 1em;
  }
}

/* Dashboard PC widget - desktop only now (sidebar covers mobile) */
@media (max-width: 991px) {
  #dashboard-widget-row {
    display: none !important
  }
}

/* Sidebar mobile survey widget - mobile only, hidden on desktop */
#sidebar-survey-widget {
  display: none
}

@media (max-width: 991px) {
  #sidebar-survey-widget {
    display: block
  }
}

.ebm-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  max-width: 520px;
  width: calc(100% - 30px);
  box-shadow: 0 12px 34px rgba(20, 10, 40, .28);
  border: none;
  border-radius: 12px;
  font-size: 14px;
}

/* oddelovac "or" - bez ciary, len text */
.ebm-g-sep:before {
  display: none;
}

.ebm-g-sep span {
  padding: 0;
  background: transparent;
}