body {
  background: #2A475E;
  color: #fff;
  font-family: Rajdhani;
}

a {
    text-underline-offset: 3px;
}

.bg-dark {
    background-color: rgba(16, 29, 44, 0.9)!important;
}

.testnet-badge{
	position: absolute;
    bottom: 21px;
    font-size: 8px;
    font-family: 'Rajdhani';
    left: 146px;
}

.sj-logo-image{
    height: 36px;
    border-radius: 50%;
    vertical-align: -11px;
    margin-right: 4px;
}

.profile-card-block{
    background-color: #171d25!important;
}

#appProfileContainer .login-btn, #lockScreen .login-btn{
    border: solid 1px rgb(255 204 0 / 50%) !important;
    background-color: #010000;
    color: #ffcc00!important;
}

hr{
	border-color: #607D8B;
}

.nav-link:focus-visible, .nav-link:focus, .nav-link:active{
	box-shadow: none!important;
}

.bottom-navbar a small, .bottom-navbar button small{
	font-size: 9px;
	font-family: Bungee;
}

.bottom-navbar a.nav-link.active{
	color: #FF9800 !important;
}

.dropdown-menu li a{
	font-family: Rajdhani;
	color: rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important
}

.navbar {
  background-color: #171d25;
  color: #fff;
}

.navbar .navbar-brand, #userAvailablePlays, .offcanvas-title{
    font-family: Bungee;
}

#userAvailablePlays{
    font-size: 16px!important;
    vertical-align: -2px;
}

.nav-link {
  color: #ffffff;
}
.nav-link:hover, .navbar-brand, .navbar-brand:hover, .navbar-brand:focus, a {
  color: #ffcc00;
}

.navbar-brand{
    font-size: 16px!important;
}

.btn{
	font-family: Rajdhani;
}
.card {
  background-color: #18364d;
  color: #ffffff;
  border-color: rgb(255 255 255 / 5%)!important;
  border: none !important;
    border-radius: 8px;
    overflow: hidden;
}

#lockScreen{
	/* border: solid 1px rgb(255 255 255 / 10%); */
	background-color: #18364d;
}

.card-title{
	font-family: Rajdhani;
    font-size: 18px;
    font-weight: 600;
}
.footer {
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  background-color: #1f1f1f;
  color: #cccccc;
}

.dropdown-menu li.nav-item{
	margin-bottom: 8px;
	width: 100%;
	white-space: nowrap;
}

.dropdown-menu li.nav-item a{
    display: block;
}

.dropdown-menu li.nav-item.current a{
    color: #FF9800 !important;
}

.card-footer{
	border-top-color: rgb(255 255 255 / 5%);
}

#appBodyContainer{
	min-height: calc(100vh - 150px);
}

#appBodyContainer > .container{
	padding-bottom: 100px!important;
	max-width: 1024px;
}

#piWarning{
	margin-top: 70px;
	margin-bottom: -60px;
}

.game-thumbnail {
  object-fit: cover;
  height: 120px;
}

.user-avatar{
	width: 30px;
    height: 30px;
    border: solid 1px #ffc107;
}

.simplejoy-game-container{
	position: relative;
    margin: 0 auto;
    min-height: 400px;
}

.profile-container a{
	text-decoration: none;
}

.game-players-meta i{
	vertical-align: -1px;
}

.popover {
  background-color: #202D39; 
  color: #f1f1f1; 
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  max-width: 280px;
  font-family: Rajdhani;
}


.popover-header {
  background-color: #2A475E;
  color: #ffdc60;
  font-weight: 600;
  border-bottom: none;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  font-size: 0.9rem;
  padding-left: 12px;
}

.popover-body {
  font-size: 0.9rem;
  padding: 0.75rem;
  line-height: 1.4;
  color: #aaa;
}

.bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after,
.bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after,
.bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after,
.bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {
  background-color: #1e1e2f;
  border: none;
}


.table thead {
  color: #ffc107;
}

.table th {
    border-color: rgb(255 255 255 / 10%);
}

.table tbody tr {
  vertical-align: middle;
  border-color: rgba(255, 255, 255, 0.05);
}

.user-info-wrapper{
    position: relative;
    min-width: 120px;
}

.joy-level{
    position: absolute;
    left: 40px;
    top: 20px;
    font-size: 11px;
    color: #ccc;
}

.avatar {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 2px;
}

.table td, .table th {
  color: #f8f9fa;
  background-color: transparent;
}

.general-card {
  /*background-color: rgba(255, 255, 255, 0.05);*/
  background-color: #18364d;
  border-radius: 8px;
  padding: 20px 14px;
  /*box-shadow: 0 0 10px rgba(0,0,0,0.2);*/
}

.general-card-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.btn{
	position: relative;
}


.btn.sending{
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
}


.btn:before
 {
	content: '';
    position: absolute;
    top: 2px;
    width: 15px;
    height: 15px;
    border: 2px solid;
    border-left-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s;
    animation: 0.8s linear infinite btnrotate;
    right: 1px;
}


.btn.sending:before {
    transition-delay: 0.5s;
    transition-duration: 1s;
    opacity: 1 !important;
}


@keyframes btnrotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.nav-tabs {
    border-bottom: none;
    background: #18364d;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    gap: 8px;
}

.general-card .nav-tabs{
    background: rgb(23 29 37 / 30%);
}

.nav-tabs .nav-item {
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    color: #cfd3dc;
    background-color: #2A475E;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-tabs .nav-link:hover {
    background-color: #FFCC00;
    color: #000;
    text-decoration: none;
}

.nav-tabs .nav-link.active {
    background: #FFCC00;
    color: #000;
    box-shadow: 0 2px 10px rgba(79, 145, 255, 0.4);
    font-weight: 600;
}

.table .app-page-loader{
	margin-top: 20px!important;
}


#journey {
  position: relative;
  padding-left: 14px;
  border-left: 2px solid #1b2838; /* Steam dark line */
  color: #acb2b8;
}

.journey-block {
  position: relative;
  margin-bottom: 1rem;
  background: rgba(16, 29, 44, 0.9); /* card-style background */
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.5s ease-out;
}

.journey-block.in-view {
  opacity: 1;
  transform: translateY(0);
}

.journey-block::before {
  content: '';
  position: absolute;
  left: -1.3rem;
  top: 1.4rem;
  width: 12px;
  height: 12px;
  background: #66c0f4; 
  border-radius: 50%;
}

.journey-block h2 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #fff;
}

.journey-block p {
  margin: 0;
  line-height: 1.5;
}


/* Modal Styles */

.modal-content {
    border-radius: 15px;
}

.modal-header,
.modal-footer {
    background-color: #171D25;
    border-color: rgb(255 255 255 / 10%);
}

.modal-body {
    background-color: #171D25;
}


.sj-breadcrumb .breadcrumb {
    background-color: #18364d!important;
    padding: 16px 14px !important;
    margin-bottom: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}
.rounded{
    border-radius: 8px;
}
.sj-breadcrumb .breadcrumb-item a {
    color: #66c0f4!important;
    transition: color 0.2s;
}
.sj-breadcrumb .breadcrumb-item a:hover {
    color: #9fe0ff;
    text-decoration: underline;
}
.sj-breadcrumb .breadcrumb-item.active {
    color: #c7d5e0;
    font-weight: bold;
}
.breadcrumb-item+.breadcrumb-item::before{
    color: #999;
}

.toast.bg-primary{
    background: linear-gradient(135deg, #4b6b22, #8bc53f)!important;
}

.five-stars-staking-section{
    background-color: #18364d!important;
}

/* Notifications list styling */
#notificationsList .list-group-item {
    background-color: #1a3d57!important;
    border-radius: 8px!important;
    margin-bottom: 12px!important;
    border: none!important;
    color: #fff!important;
    padding: 14px 16px!important;
}

#notificationsList .list-group-item:hover {
    background-color: #1a3d57!important;
    color: #fff!important;
}

#notificationsList .list-group-item:last-child {
    margin-bottom: 0!important;
}


.modal .modal-body #lockScreen{
    background-color: transparent!important;
}

.pay-pi-btn .fa-ticket, .watch-ad-btn .fa-ticket{
    vertical-align: -2px;
}

.sj-alert.alert-info {
    /*
    background: linear-gradient(145deg, #1b1e26 0%, #13161c 100%);
    border-left: 4px solid #ffcc00;
    color: #fff8e6;
    border-radius: 8px;
    padding: 14px 18px;
    font-weight: 500;
    letter-spacing: 0.2px;
    border-color: #ffcc00;
    */
    background: rgb(23 29 37 / 30%);
    border-left: 4px solid #ffcc00;
    color: #fff8e6;
    border-radius: 8px;
    padding: 14px 18px;
    font-weight: 500;
    letter-spacing: 0.2px;
    border-color: #ffcc00;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
}

.playpass-pack-item.btn-secondary{
    background-color: #2A475E;
}

.text-muted{
    color: rgb(217 217 217 / 75%) !important;
}

#eventStatus{
    background-color: #2A475E;
}


/* ===================================================
   STEAM STYLE MODAL (FOR DUEL)
   =================================================== */


.steam-game-item {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid transparent !important;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    border-radius: 2px !important;
    padding: 12px 15px !important;
    text-align: left;
    width: 100%;
}

.steam-game-item:hover {
    background: linear-gradient(to right, #3d6c8d, #2a475e) !important;
    border-color: #66c0f4 !important;
    transform: translateX(5px);
}

.steam-game-item i {
    color: #66c0f4;
}

.opponent-profile-card {
    background: linear-gradient(135deg, rgba(42, 71, 94, 0.4) 0%, rgba(27, 40, 56, 0.4) 100%);
    border: 1px solid rgba(102, 192, 244, 0.2);
    padding: 1.5rem;
    border-radius: 4px;
}

.steam-avatar-frame {
    position: relative;
    padding: 4px;
    background: #ffffff;
    display: inline-block;
    border-radius: 50%;
}

.steam-avatar-frame img {
    border: 2px solid #1b2838;
}

.pulse-steam {
    animation: pulse-blue 2s infinite;
    border-radius: 50%;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(102, 192, 244, 0.6); }
    70% { box-shadow: 0 0 0 25px rgba(102, 192, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 192, 244, 0); }
}

@keyframes pulse-warning {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

#fullscreen-duel-btn {
    transition: all 0.3s ease;
}

#fullscreen-duel-btn:hover {
    background: rgba(255, 193, 7, 0.3) !important;
}

#fullscreen-duel-panel {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.duel-item-card{
    background-color: #232d3b;
}

