html, body
{
  height: 100%;
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0;
  padding: 0;
}
.main-body
{
  background: #121316;
}
.login-body
{
  background: #121316;
}
:focus
{
  outline: none !important;
}
a
{
  transition: .3s all;
  -webkit-transition: .3s all;
  -moz-transition: .3s all;
  -ms-transition: .3s all;
  -o-transition: .3s all;
  text-decoration: none;
}
a:hover
{
  text-decoration: none;
}

/* Alert Boxes

=================================================================== */

.alert {

	font-family: Arial, sans-serif;

	font-size: 12px;

	line-height: 18px;

	margin-bottom: 15px;

	position: relative;

	padding: 14px;

	-webkit-box-shadow:  0px 1px 1px 0px rgba(180, 180, 180, 0.1);

	box-shadow:  0px 1px 1px 0px rgba(180, 180, 180, 0.1);

	-webkit-border-radius: 0px;

	border-radius: 0px;

}



.alert.alert-success {

	background-color: #edf6e5 !important;

	color: #7a9659 !important;

	border: 1px solid #9fc76f !important;

}



.alert.alert-error {

	background-color: #fdeaea !important;

	color: #ca6f74 !important;

	border: 1px solid #f27b81 !important;

}



.alert {

	background-color: #fffee1 !important;

	color: #daac50 !important;

	border: 1px solid #f5c056 !important;

}



.alert.alert-info {

	background-color: #e9f8ff !important;

	color: #5d9fa9 !important;

	border: 1px solid #75c7d3 !important;

}

.loading
{
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    display: block;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}
.loader{
  width: 50px;
  height: 50px;
  border-radius: 100%;
  position: relative;
  margin-left: 10px;
}

/* LOADER 1 */

#loader-1:before, #loader-1:after{
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: 5px solid transparent;
  border-top-color: #1895e7;
}

#loader-1:before{
  z-index: 100;
  animation: spin 1s infinite;
}

#loader-1:after{
  border: 5px solid #ccc;
}
@keyframes spin{
  0%{
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100%{
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.wrapper
{
  width: 97.5%;
  height: auto;
  float: left;
}

.app-login
{
	width: 100%;
	height: auto;
	float: left;
  padding-bottom: 50px;
}
.app-signin
{
  height: auto;
}
.login-logo
{
	width: 100%;
	height: auto;
	float: left;
	padding: 2em 2em 0;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.login-logo img
{
	width: 200px;
}

.login-box
{
  width: 100%;
  height: auto;
  float: left;
}
.login-box h1
{
  text-align: center;
  margin: 0;
  margin-bottom: 20px;
  color: #FFD700;
  text-transform: uppercase;
  font-weight: bold;
}
.login-box h3
{
  text-align: center;
  margin: 0;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}
.login-box input[type=tel], .login-box input[type=text], .login-box input[type=file], .login-box select, .login-box input[type=email], .login-box input[type=password]
{
  width: 100%;
  height: 40px;
  border: 0;
  padding: 10px;
  font-size: 16px;
  padding-left: 35px;
  margin-bottom: 10px;
  border-bottom: 1px solid #000;
  background: #282a32;
  color: #fff;
}
.login-body .login-box input[type=tel], .login-body .login-box input[type=text], .login-body .login-box select, .login-body .login-box input[type=email], .login-body .login-box input[type=password]
{
  background: rgba(0, 0, 0, 0.2);
  border-color: #000;
}
.login-box i
{
  color: #39e199;
  font-size: 18px;
  position: absolute;
  margin-top: 10px;
  margin-left: 5px;
}
.login-body .login-box i
{
  color: #fff;
}
::placeholder
{
  color: #fff;
}
.login-box input[type=button], .login-box input[type=submit], .contact form input[type=submit]
{
  width: 100%;
  background: #000;
  border: 1px solid #000;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 10px;
  border-radius: 30px;
  margin-top: 10px;
  transition: .3s all;
  -webkit-transition: .3s all;
  -o-transition: .3s all;
  -moz-transition: .3s all;
  -ms-transition: .3s all;
}
.login-body .login-box input[type=button], .login-body .login-box input[type=submit], .login-body .contact form input[type=submit]
{
  background: #000;
  border-color: #000;
}
.login-box input[type=button]:hover, .login-box input[type=submit]:hover, .contact form input[type=submit]:hover
{
  background: #282a32;
}
.login-box a
{
  width: 100%;
  float: left;
  background: none;
  border: 1px solid #39e199;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 10px;
  border-radius: 30px;
  transition: .3s all;
  -webkit-transition: .3s all;
  -o-transition: .3s all;
  -moz-transition: .3s all;
  -ms-transition: .3s all;
}
.login-body .login-box a
{
  border-color: #000;
}
.login-box a:hover
{
  background: #39e199;
}

.login-box p
{
  margin: 0;
  margin-top: 25px;
}
.login-box p a
{
  width: auto;
  float: right;
  color: #fff;
  padding: 0;
  background: none;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.login-box p a i
{
  position: static;
  margin-left: 2px;
  color: #fff;
}

.login-checkbox
{
  width: 100%;
  height: auto;
  float: left;
  margin-bottom: 15px;
  margin-top: 10px;
}
.login-checkbox label
{
  color: #fff;
margin-left: 5px;
}
.login-checkbox input
{
  float: left;
}
.login-checkbox label
{
  float: left;
  font-weight: 400;
}
.login-checkbox label a
{
  border: 0;
  padding: 0;
  color: #fff;
  background: none;
  float: none;
  margin-left: 5px
}

.coins-section
{
  width: 100%;
  height: auto;
  float: left;
  background: #fafafa;
  color: #333;
  padding: 5px;
  position: fixed;
  bottom: 0;
}
.coins-section p
{
  width: auto;
  float: left;
  margin: 0;
  margin-top: 7px;
  margin-right: 20px;
}
.coins-section a
{
  width: 33.33%;
  float: left;
  text-align: center;
}
.coins-section a i
{
  color: #10b981;
  font-size: 20px;
  margin-bottom: 2px;
}
.coins-section a p
{
  font-size: 13px;
  margin: 0;
  color: #10b981;
  width: 100%;
  text-align: center;
}
.coins-section-authenticate a
{
  width: 25%;
}

.betting-matches
{
  width: 100%;
  height: auto;
  float: left;
  padding: 20px 10px 80px;
}

.app-match-head
{
  padding: 3px 5px !important;
}
.match-col-4
{
  padding: 0;
  width: 33.33%;
  float: left;
}
.match-col-2
{
  padding: 0;
  width: 15%;
  float: left;
}
.match-col-8
{
  width: 70%;
  padding: 0;
  float: left;
}
.match-col-3
{
  width: 30%;
  padding: 0;
  float: left;
}
.app-match
{
  width: 100%;
  background: #fff;
  padding: 5px;
  margin-bottom: 10px;
  border-radius: 7px;
  float: left;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.app-match h4
{
  margin: 0;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
  margin-top: 20px;
}
.app-match p
{
  margin: 0;
  color: #333;
}
.app-match span img
{
  width: 100%;
  border-radius: 50%;
  margin-bottom: 0px;
}
.app-match span p
{
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.top-marquee
{
  width: 100%;
  height: auto;
  float: left;
  background: rgba(0 ,0, 0, 0.2);
  color: #fff;
  padding: 5px 10px;
  margin-bottom: 15px;
  text-align: center;
}
.top-marquee p
{
  font-size: 13px;
  margin: 0;
}

.top-bet
{
  width: 100%;
  height: auto;
  float: left;
  font-size: 14px;
}
.top-bet h4
{
  font-size: 16px;
  text-align: center;
  margin: 0;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
}
.top-bet-top
{
  width: 100%;
  height: auto;
  float: left;
  padding: 4px 4px 4px 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  margin-bottom: 10px;
}
.top-bet-top p
{
  margin: 0;
  width: auto;
  float: left;
  font-weight: 600;
  margin-top: 5px;
  font-size: 16px;
}
.top-bet-top p strong
{
  font-weight: 400;
}
.top-bet-top span
{
  width: auto;
  float: right;
}
.bet1, .bet2, .bet3, .bet4
{
  width: auto;
  float: left;
  padding: 7px 15px;
  font-size: 15px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  background: #212121;
  margin-right: 5px;
}
.bet2
{
  background: #00c28f;
  margin: 0;
}
.bet3
{
  background: #f24b4d;
}
.bet1:focus, .bet2:focus
{
  text-decoration: none;
  color: #fff;
}
.bet4
{
  background: #f8c346;
  margin: 0;
}

.odd-match-form
{
  width: 100%;
  height: auto;
  float: left;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px 3px 5px 10px;
  margin: -10px 0 10px;
  border-top: 1px solid #212121;
}
.odd-match-form form
{
  margin: 0;
}
.odd-match-form form input[type=tel], .odd-match-form form input[type=number]
{
  width: 100px;
  border: 1px solid #e1e1e1;
  height: 37px;
  float: left;
  padding-left: 5px;
  border-radius: 3px;
}
.odd-match-form form input[type=tel]::placeholder
{
  color: #333;
}
.odd-match-form form span a
{
  padding: 8px 12px;
  font-size: 13px;
  background: #39e199;
  color: #fff;
  border: 1px solid #fff;
  margin-left: 15px;
  float: left;
  border-radius: 7px;
}

.top-bet-btm
{
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}
.top-bet-btm-head
{
  width: 100%;
  height: auto;
  float: left;
  text-align: center;
  font-size: 13px;
  padding: 3px;
  color: #fff;
  background: #10b981;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}
.top-bet-btm-head p
{
  margin: 0;
  font-size: 15px;
}

.match-results
{
  width: 100%;
  height: auto;
  float: left;
  margin-bottom: 10px;
  border-top: 1px solid #fff;
  padding-top: 10px;
}

.match-score
{
  width: 100%;
  height: auto;
  float: left;
	display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-bottom: 5px;
  padding: 5px 0;
  border-top: 1px solid #fff;
}
.match-score h4, .match-score h2
{
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 0px;
  width: 100%;
  text-align: center;
}
.match-score p
{
  margin: 0;
  width: 100%;
  text-align: center;
}

.match-score-right
{
  width: 40%;
  float: left;
  height: 78px;
  border: 1px solid #fff;
  padding: 10px;
	display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.match-score-right h3
{
  margin: 0;
  text-align: center;
  animation:blinkingText 5s infinite;
}
.blinking{
    
}
@keyframes blinkingText{
    0%{     color: #fff;    }
    50%{    color: transparent; }
    100%{   color: #fff;    }
}

.match-score-btm
{
  width: 100%;
  height: auto;
  float: left;
  padding: 5px 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
}
.match-score-btm p
{
  font-size: 12px;
  margin: 0;
}

.total-balls
{
  width: 100%;
  height: auto;
  float: left;
  margin-bottom: 10px;
}
.balls
{
  width: 100%;
  height: auto;
  float: left;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px;
  overflow: hidden;
}
.balls p
{
  color: #fff;
  margin: 0;
  font-size: 16px;
  letter-spacing: 3px;
  width: 100%;
  overflow: hidden;
}
.balls li
{
  list-style: none;
  float: left;
  margin: 0 2.5px;
  width: 27.25px;
  overflow: hidden;
}
.balls li span
{
  background: #999;
  width: 27.25px;
  height: 27.25px;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
	display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.balls li p
{
  margin: 0;
  font-size: 10px;
  color: #fff;
  width: 100%;
  text-align: center;
}

.live-commentory
{
  width: 100%;
  height: auto;
  float: left;
  margin-bottom: 10px;
}

.live-commentory table
{
  width: 100%;
  height: auto;
  float: left;
  margin-bottom: 10px;
}
.live-commentory table tr th
{
  background: #10b981;
  color: #fff;
  font-size: 13px;
  font-weight: normal;
  padding: 5px;
}
.live-commentory table tr th, .live-commentory table tr td
{
  width: 10%;
}
.batter-table tr td:nth-child(1)
{
  width: 50%;
}
.batter-table tr th:nth-child(1)
{
  border-top-left-radius: 7px;
  width: 50%;
}
.bowler-table tr th:nth-child(1)
{
  border-top-left-radius: 7px;
  width: 60%;
}
.batter-table tr th:nth-child(6)
{
  border-top-right-radius: 7px;
}
.bowler-table tr th:nth-child(5)
{
  border-top-right-radius: 7px;
}
.live-commentory table tr td
{
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: normal;
  padding: 5px;
  border-bottom: 1px solid #fff;
}
.live-commentory table tr:last-child td
{
  border: none;
}

.commentory
{
  width: 100%;
  height: auto;
  float: left;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 10px;
}
.commentory p
{
  margin: 0;
  font-size: 12px;
}

.coin-section
{
  width: 100%;
  height: auto;
  float: left;
  text-align: center;
  padding: 15px 0;
  border-bottom: 1px solid #fff;
  color: #fff;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.coin-section i
{
  width: 100px;
  height: 100px;
  font-size: 35px;
  background: #FFD700;
  color: #fff;
  border: 4px solid #fff;
  margin-bottom: 10px;
  border-radius: 50%;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.coin-section img
{
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}
.coin-section h4
{
  width: 100%;
  text-align: center;
  margin: 0;
  margin-bottom: 10px;
  font-weight: 400;
}
.copyrefer, .referid
{
  padding: 3px 6px;
  font-size: 14px;
  background: green;
  border-radius: 3px;
  cursor: pointer;
}
.coin-section a
{
  float: left;
  text-align: center;
  color: #fff;
  background: #1e2025;
  border: 1px solid #1e2025;
  padding: 5px 10px;
  margin: 0 2px;
  border-radius: 5px;
}
.coin-section a:hover, .coin-section-btm a:hover
{
  background: #282a32;
}

.coin-section-btm
{
  width: 100%;
  height: auto;
  float: left;
  padding-top: 0px;
}
.coin-section-btm a i
{
  font-size: 20px;
}
.coin-section-btm a .fa-whatsapp
{
  color: #5fcd64;
}
.coin-section-btm a .fa-telegram
{
  color: #2e85c5;
}
.coin-section-btm a
{
  float: left;
  text-align: left;
  width: 100%;
  color: #fff;
  background: #1e2025;
  border: 1px solid #1e2025;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 15px;
  margin: 0 2px;
  border-radius: 5px;
}

.mybets
{
  width: 100%;
  height: auto;
  float: left;
  margin-bottom: 15px;
}
.bets
{
  width: 100%;
  height: auto;
  float: left;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 5px 10px;
  border-bottom: 1px solid #000;
}
.bets:last-child
{
  border: 0;
}
.colmd2
{
  width: 20%;
  float: left;
  height: auto;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.colmd3
{
  width: 25%;
  float: left;
  height: auto;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.colmd4
{
  width: 33.33%;
  float: left;
  height: auto;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.colmd6
{
  width: 50%;
  height: auto;
  float: left;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.bets p
{
  width: 100%;
  margin: 0;
  font-size: 13px;
}
.bets .bet1, .bets .bet2, .bets .bet3
{
  margin: 0;
}

.paytm-qr
{
  width: 100%;
  height: auto;
  float: left;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
  border-bottom: 1px solid #fff;
}
.paytm-qr h3, .login-box h5
{
  margin: 0;
  margin-bottom: 15px;
  color: #fff;
  width: 100%;
  font-size: 17px;
  text-transform: uppercase;
  text-align: center;
}
.login-box h5 small, .login-box h3 small
{
  color: #fff;
  text-transform: none;
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 18px;
  float: left;
}
.paytm-qr img
{
  width: 150px;
}

.contact
{
  width: 100%;
  height: auto;
  float: left;
  color: #fff;
}
.contact h2, .bets-title
{
  font-size: 17px;
  text-align: center;
  margin: 0;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
}
.contact h3
{
  margin: 0;
  margin-bottom: 10px;
  font-size: 15px;
}
.contact ul
{
  padding-left: 25px;
}
.contact p, .contact li
{
  font-size: 13px;
  margin: 0;
  margin-bottom: 8px;
  color: #fff;
}
.contact form
{
  width: 100%;
  height: auto;
  float: left;
}
.contact form input[type=text], .contact form input[type=email], .contact form input[type=tel], .contact form textarea, .contact form select
{
  background: #282a32;
  width: 100%;
  height: 40px;
  padding: 5px;
  color: #fff;
  border: 0;
  border-bottom: 1px solid #fff;
  margin-bottom: 5px;
}
.contact form textarea
{
  height: 70px;
  resize: none;
}
.contact form input[type=text]::placeholder, .contact form input[type=email]::placeholder, .contact form input[type=tel]::placeholder, .contact form textarea::placeholder
{
  color: #e1e1e1;
}

.panel-default
{
  border: 0;
    width: 100%;
    float: left;
}
.panel-default > .panel-heading
{
    font-size: 13px !important;
    padding: 5px;
    color: #fff;
    width: 100%;
    float: left;
    background: #10b981;
    border: 0 !important;
}
.panel-title, .panel-title a
{
  font-size: 13px;
  width: 100%;
  cursor: pointer;
    float: left;
}
.panel-title span
{
  float: right;
}

.panel-body
{
  padding: 15px 5px 0;
  padding-bottom: 0;
    width: 100%;
    float: left;
  background: #282a32;
  border: 1px solid #000;
  border-top: 0 !important;
}
.coin-section-btm1 h3
{
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 20px;
  margin: 0;
  margin-bottom: 10px;
}
.coin-section-btm a
{
  margin-bottom: 10px;
}

.top-loading
{
  width: 100%;
  height: auto;
  float: left;
  padding: 8px 0;
}
.top-loading a#reload
{
  color: #fff;
  position: absolute;
  right: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 0 7px;
  top: 5px;
  font-size: 18px;
}
.top-loading a.back
{
  color: #fff;
  position: absolute;
  left: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 0 7px;
  top: 5px;
  font-size: 18px;
}

.title-p
{
  width: 100%;
  text-align: center;
  margin: 0;
  margin-bottom: 15px !important;
  color: #fff;
  margin-top: -10px !important;
  float: left;
}

.packages
{
  width: 100%;
  height: auto;
  float: left;
  margin: 0 0 5px 0;
}
.packages img
{
  width: 100% !important;
}

.package
{
  width: 100%;
  height: auto;
  float: left;
  margin-bottom: 10px;
}
.package-top
{
  background: #10b981;
  width: 100%;
  height: auto;
  float: left;
  color: #fff;
  text-align: center;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  font-size: 13px;
  padding: 3px 5px;
}
.package-btm
{
  width: 100%;
  height: auto;
  float: left;
  background: #fff;
  color: #333;
  padding: 5px 10px;
}
.package-btm img
{
  width: 20%;
  float: left;
}
.package-content
{
  width: 75%;
  height: auto;
  float: left;
  margin-left: 5%;
  padding-top: 5px;
}
.package-content p
{
  text-align: center;
  font-size: 16px;
  color: #333;
}
.package-content p del
{
  margin-right: 5px;
}

.add-coins-section
{
  width: 100%;
  height: auto;
  float: left;
  margin-top: 20px;
}
.add-coins-section .col-md-6
{
  width: 50%;
  float: left;
  padding: 5px;
}
.coins
{
  background: rgba(0, 0, 0, 0.4);
  padding: 15px;
  color: #fff;
  border-radius: 10px;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    border: 1px solid #222;
}
.coins-top
{
  width: 100%;
  height: auto;
  float: left;
  margin-bottom: 10px;
  font-size: 20px;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.coins-top i
{
  float: left;
  font-size: 30px;
  margin-right: 8px;
}
.coins h3
{
  margin: 0;
  margin-bottom: 10px;
  font-size: 18px;
  width: 100%;
  float: left;
  text-align: center;
}

.daily_bonus_box
{
  width: 85%;
  margin-left: 7.5%;
  top: 20%;
  height: auto;
  float: left;
  position: absolute;
  z-index: 1000000;
  background: #282a32;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #fff;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.daily_bonus_box img
{
  position: absolute;
  right: 5px;
  top: 5px;
  width: 20px;
  cursor: pointer;
}
.daily_bonus_box h3
{
  margin: 0;
  margin-bottom: 20px;
  font-size: 20px;
  width: 100%;
  text-align: center;
}
.daily_bonus_box h2
{
  margin: 0;
  margin-bottom: 20px;
  font-size: 24px;
  width: 100%;
  text-align: center;
}
.daily_bonus_box h2 i
{
  font-size: 28px;
  margin-right: 5px;
}

#timestamp
{
  font-size: 16px;
  color: #fff;
  position: absolute;
  left: 42%;
}

.match-sessions
{
  padding: 7px 0;
  width: 100%;
  float: left;
  border-bottom: 1px solid #e1e1e1;
}
.match-sessions:last-child
{
  border: none;
}

.wallet-history
{
  width: 100%;
  height: auto;
  float: left;
}
.wallet-history li
{
  list-style: none;
    width: 100%;
    float: left;
    margin: 5px 0;
    background: #fafafa;
    border-radius: 10px;
    padding: 10px;
}
.wallet-history li p
{
  color: #666;
    width: 70%;
    font-size: 16px;
    margin: 0;
    float: left;
    line-height: 20px;
}
.wallet-history li p span
{
  font-size: 14px;
    color: #999;
}
.wallet-history li h6
{
  width: 30%;
  float: left;
  text-align: right;
  font-weight: normal;
  margin: 0;
  font-size: 16px;
  color: #666;
}

.betting-front
{
  width: 100%;
  height: auto;
  float: left;
  margin-top: 25px;
}
.betting-front .nav-tabs
{
  padding: 0 10px;
}
.betting-front .nav-tabs > li > a
{
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
}
.betting-front .nav-tabs > li.active > a, .betting-front .nav-tabs > li.active > a:hover, .betting-front .nav-tabs > li.active > a:focus
{
  color: #fff;
  background: #10b981;
  border-color: #10b981;
}

.home-modal .modal-dialog
{
  margin: 4em 1rem;
}
.home-modal .modal-dialog .modal-content
{
  width: 100%;
  float: left;
  background: #41a5ce;
}
.home-modal .modal-header
{
  padding: 0;
  border: none;
  width: 100%;
  float: left;
  padding: 0;
  min-height: 0;
}
.home-modal .modal-header .close
{
  background: red;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  position: absolute;
  right: -10px;
  opacity: 1;
  top: -15px;
  z-index: 999;
}
.home-modal .modal-body
{
  text-align: center;
  padding: 0rem;
  width: 100%;
  float: left;
}
.home-modal .modal-body .odd-match-form
{
  margin-bottom: 0;
}

.moneydetails
{
  padding-left: 10px;
}
.moneydetails h3
{
  margin: 0;
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
  font-weight: 600;
}
.moneydetails p
{
  font-size: 14px;
}
.card-group {
  width: 100%;
  float: left;
  margin-bottom: 20px;
}

.card {
  position: static;
  height: auto;
  width: 100%;
  border-radius: 25px;
  background: #10b981;
  backdrop-filter: blur(30px);
  border: 2px solid #333;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.chip img,
.number,
.name,
.from,
.to{
  position: static; /* All items inside card should have absolute position */
}
.ring, .logo img
{
  position: absolute;
}

.logo img {
  top: 15px;
  right: 15px;
  width: 60px;
  height: auto;
  opacity: 0.8;
}
.chip
{
  width: 100%;
  float: left;
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 15px;
}
.chip img {
  width: 50px;
  float: left;
  height: auto;
  opacity: 0.8;
  border-radius: 50%;
}
.chip h3
{
  float: left;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
  font-size: 30px;
  margin-left: 20px;
  font-weight: 600;
  margin-top: 10px;
}

.number,
.name,
.from,
.to {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  letter-spacing: 2px;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}

.number {
  margin-left: 20px;
  margin-bottom: 5px;
  font-family: "Nunito", sans-serif;
  font-size: 2rem;
}

.name {
  font-size: 1.5rem;
  margin-left: 20px;
  bottom: 25px;
}

.from {
  font-size: 1.5rem;
  top: 118px;
  right: 10px;
  position: absolute;
}

.to {
  font-size: 1.5rem;
  bottom: 25px;
  left: 60px;
}

.card-btns
{
  width: 100%;
  float: left;
  padding: 10px 0px 20px 20px;
  position: relative;
  z-index: 999;
}
.card-btns .btn
{
  font-size: 18px;
  padding: 6px 25px;
  text-transform: uppercase;
  font-weight: 600;
  float: right;
  margin-right: 10px;
}
.card-btns .name
{
  margin-left: 0;
  margin-right: 20px;
  float: left;
}
.card .odd-match-form
{
  position: relative;
  z-index: 999;
}

/* The two rings on the card background */
.ring {
  height: 500px;
  width: 500px;
  border-radius: 50%;
  background: transparent;
  border: 50px solid rgba(255, 255, 255, 0.1);
  bottom: -250px;
  right: -250px;
  box-sizing: border-box;
}

.ring::after {
  content: "";
  position: absolute;
  height: 600px;
  width: 600px;
  border-radius: 50%;
  background: transparent;
  border: 30px solid rgba(255, 255, 255, 0.1);
  bottom: -80px;
  right: -110px;
  box-sizing: border-box;
}

.moneydetails .btn
{
  font-size: 18px;
  padding: 6px 25px;
  text-transform: uppercase;
  font-weight: 600;
}
.zsiq-float
{
    bottom: 60px !important;
}

/* ===================================================================
   Stock MCX Theme System - Deep Matte Carbon & Emerald Bull-Market Green
   100% Blue-Free Dark Theme
   =================================================================== */

:root {
  /* ==================================================================
     STOCK MCX COLOR CONFIGURATION (CARBON GRAPHITE & EMERALD GREEN)
     Zero Blue Tint - Pure Neutral Charcoal & Bull-Market Green
     ================================================================== */
  
  /* 1. Main Background Canvas (Neutral Carbon Graphite) */
  --smcx-bg: #121316;              /* Matte Charcoal Black - No Blue */
  --smcx-bg-deep: #0c0d0f;         /* Deep Pitch Carbon */
  --smcx-bg-highlight: #1a1c20;    /* Ambient Charcoal */
  
  /* 2. Cards & Panels Surface (Neutral Dark Graphite) */
  --smcx-surface: #1a1c22;         /* Card Surface */
  --smcx-surface-light: #22252d;   /* Lighter Container / Field Surface */
  --smcx-surface-card: #16171d;    /* Deep Card Base */
  
  /* 3. Primary Accent & Buttons (Bull-Market Emerald Green) */
  --smcx-primary: #10b981;         /* Vivid Emerald */
  --smcx-primary-hover: #059669;   /* Deep Forest Emerald */
  --smcx-primary-glow: #00d084;    /* Neon Bull Green */
  --smcx-accent-mint: #34d399;     /* Light Mint */
  --smcx-accent-amber: #f59e0b;    /* Warm Amber / Gold Badge */
  
  /* 4. High-Contrast Typography */
  --smcx-text: #ffffff;            /* Pure Crisp White */
  --smcx-text-dim: #e5e7eb;        /* Neutral Light Gray */
  --smcx-muted: #9ca3af;           /* Neutral Slate Muted */
  
  /* 5. Borders & Shadows */
  --smcx-border: rgba(16, 185, 129, 0.25);  /* Emerald border accent */
  --smcx-border-subtle: rgba(255, 255, 255, 0.1);
  --smcx-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  --smcx-shadow-glow: 0 4px 20px rgba(16, 185, 129, 0.4);
  
  /* 6. Status Colors */
  --smcx-success: #10b981;
  --smcx-danger: #ef4444;
  
  /* 7. Button & Card Geometry */
  --smcx-radius-pill: 9999px;
  --smcx-radius-lg: 18px;
  --smcx-radius-md: 12px;
  --smcx-radius-sm: 8px;

  /* Backward Compatibility Bridge */
  --gk-bg: var(--smcx-bg);
  --gk-bg-deep: var(--smcx-bg-deep);
  --gk-surface: var(--smcx-surface);
  --gk-surface-light: var(--smcx-surface-light);
  --gk-gold: var(--smcx-primary-glow);
  --gk-amber: var(--smcx-accent-amber);
  --gk-text: var(--smcx-text);
  --gk-muted: var(--smcx-muted);
  --gk-success: var(--smcx-success);
  --gk-danger: var(--smcx-danger);
  --gk-border: var(--smcx-border);
  --gk-shadow: var(--smcx-shadow);
}

/* ===================================================================
   Global Page Canvas - Deep Matte Carbon (Zero Blue)
   =================================================================== */

html,
body,
.main-body,
.login-body {
  color: var(--smcx-text) !important;
  background-color: var(--smcx-bg) !important;
  background-image:
    radial-gradient(circle at 15% 12%, rgba(16, 185, 129, 0.14), transparent 42%),
    radial-gradient(circle at 85% 88%, rgba(245, 158, 11, 0.08), transparent 45%),
    linear-gradient(160deg, #0c0d0f 0%, #121316 50%, #0e0f12 100%) !important;
  background-attachment: fixed !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, 'Source Sans Pro' !important;
  -webkit-font-smoothing: antialiased;
}

/* ===================================================================
   Cards, Panels, and Containers - Matte Carbon Graphite
   =================================================================== */

.login-box,
.contact form,
.card,
.modal-content,
.betting-front,
.moneydetails,
.profile-box,
.history-box,
.app-match,
.coin-section,
.package,
.packages {
  border: 1px solid var(--smcx-border) !important;
  border-radius: var(--smcx-radius-lg) !important;
  background: linear-gradient(145deg, rgba(26, 28, 34, 0.96), rgba(18, 19, 23, 0.98)) !important;
  box-shadow: var(--smcx-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: var(--smcx-text) !important;
}

.login-box {
  max-width: 500px;
  margin: 20px auto 40px;
  padding: 36px 30px;
  float: none;
  clear: both;
  display: flow-root;
  box-sizing: border-box;
}

.login-box > a {
  box-sizing: border-box;
  float: none;
  display: block;
  clear: both;
  margin: 14px 0 0;
}

.login-box > a + a {
  margin-top: 12px;
}

.login-box h1,
.login-box h3,
h1,
h2,
h3,
h4 {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.login-box h1 {
  background: linear-gradient(135deg, #ffffff 30%, #10b981 75%, #00d084 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  font-size: 36px !important;
  margin-bottom: 22px !important;
  text-shadow: none !important;
}

/* App Match & Investment Cards */
.app-match {
  padding: 16px 18px !important;
  margin-bottom: 14px !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

.app-match:hover {
  border-color: rgba(16, 185, 129, 0.5) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 0 18px rgba(16, 185, 129, 0.25) !important;
}

.app-match h4,
.app-match h3,
.moneydetails h3 {
  color: #ffffff !important;
  font-weight: 700 !important;
  margin-top: 4px;
}

.app-match p,
.moneydetails p {
  color: var(--smcx-text-dim) !important;
  font-size: 14px;
}

.moneydetails p i.fa-rupee {
  color: var(--smcx-primary-glow) !important;
  font-weight: 700;
}

/* ===================================================================
   Distinctive Modern Buttons - Radiant Emerald Bull-Market Green
   =================================================================== */

input[type="submit"],
input[type="button"],
button,
.btn,
.login-box input[type=button],
.login-box input[type=submit],
.contact form input[type=submit],
.card-btns .btn,
.moneydetails .btn,
.loan-actions button,
.loan-history-card .loan-submit,
.odd-match-form form span > a.coin_bet_submit,
.odd-match-form form span > a.odd-bet-submit-money,
.odd-match-form form span > a.session-bet-submit-money {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  padding: 13px 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--smcx-radius-pill) !important;
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #00d084 100%) !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45), 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
  cursor: pointer !important;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s ease, filter 0.18s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.btn:hover,
.login-box input[type=button]:hover,
.login-box input[type=submit]:hover,
.contact form input[type=submit]:hover,
.card-btns .btn:hover,
.moneydetails .btn:hover,
.loan-actions button:hover,
.loan-history-card .loan-submit:hover,
.odd-match-form form span > a.coin_bet_submit:hover,
.odd-match-form form span > a.odd-bet-submit-money:hover,
.odd-match-form form span > a.session-bet-submit-money:hover,
.odd-match-form form span > a.coin_bet_submit:focus,
.odd-match-form form span > a.odd-bet-submit-money:focus,
.odd-match-form form span > a.session-bet-submit-money:focus {
  color: #ffffff !important;
  filter: brightness(1.14) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 208, 132, 0.6), 0 3px 6px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

input[type="submit"]:active,
input[type="button"]:active,
button:active,
.btn:active,
.loan-actions button:active,
.loan-history-card .loan-submit:active,
.odd-match-form form span > a.coin_bet_submit:active,
.odd-match-form form span > a.odd-bet-submit-money:active,
.odd-match-form form span > a.session-bet-submit-money:active {
  transform: translateY(1px) scale(0.99) !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(0, 0, 0, 0.2) !important;
}

/* Secondary & Action Link Buttons */
.login-box > a,
.login-box a.demo-login,
.coin-section a {
  display: block !important;
  text-align: center !important;
  padding: 12px 20px !important;
  border-radius: var(--smcx-radius-pill) !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  letter-spacing: 0.3px !important;
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.login-box > a:hover,
.login-box a.demo-login:hover,
.coin-section a:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.35), rgba(16, 185, 129, 0.35)) !important;
  border-color: #00d084 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* ===================================================================
   Form Inputs & Controls - Matte Carbon with Emerald Glow
   =================================================================== */

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea,
.form-control,
.login-box input[type=tel],
.login-box input[type=text],
.login-box input[type=file],
.login-box input[type=email],
.login-box input[type=password],
.contact form input[type=text],
.contact form input[type=email],
.contact form input[type=tel],
.contact form textarea,
.contact form select,
.odd-match-form form input[type=tel],
.odd-match-form form input[type=number] {
  color: #ffffff !important;
  caret-color: var(--smcx-primary-glow) !important;
  background: linear-gradient(180deg, #14151a, #1a1c22) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--smcx-radius-md) !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6) !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
select:focus,
textarea:focus,
.form-control:focus,
.odd-match-form form input:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-1px) !important;
}

::placeholder {
  color: var(--smcx-muted) !important;
  opacity: 0.85 !important;
}

select option {
  color: #ffffff;
  background: var(--smcx-surface);
}

.login-checkbox label {
  color: var(--smcx-text-dim) !important;
}

.login-box i {
  color: #9ca3af !important;
}

/* ===================================================================
   Top Navigation, Header & Bottom Menu - Carbon Matte Glass
   =================================================================== */

.top-loading,
.app-header,
.bottom-menu,
.btm-menu,
.navbar,
.coins-section {
  background: rgba(18, 19, 23, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.top-loading {
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-loading a.back,
.top-loading a#reload {
  color: #f8fafc !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 50% !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  transition: all 0.2s ease !important;
}

.top-loading a.back:hover,
.top-loading a#reload:hover {
  background: rgba(16, 185, 129, 0.3) !important;
  border-color: #10b981 !important;
  color: #10b981 !important;
  transform: scale(1.08) !important;
}

/* Bottom Bar */
.coins-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 8px 5px !important;
}

.coins-section a i {
  color: var(--smcx-muted) !important;
  font-size: 20px !important;
  transition: all 0.2s ease !important;
}

.coins-section a p {
  color: var(--smcx-muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.coins-section a:hover i,
.coins-section a:hover p,
.coins-section a.active i,
.coins-section a.active p {
  color: #10b981 !important;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.5) !important;
}

/* ===================================================================
   Navigation Tabs
   =================================================================== */

.nav-tabs,
.betting-front .nav-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 5px !important;
  background: rgba(18, 19, 23, 0.9) !important;
  display: flex !important;
  gap: 6px !important;
  overflow-x: auto !important;
}

.nav-tabs > li > a,
.betting-front .nav-tabs > li > a {
  color: var(--smcx-muted) !important;
  border-radius: var(--smcx-radius-pill) !important;
  padding: 8px 18px !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  transition: all 0.2s ease !important;
  text-shadow: none !important;
}

.nav-tabs > li > a:hover,
.betting-front .nav-tabs > li > a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.betting-front .nav-tabs > li.active > a,
.betting-front .nav-tabs > li.active > a:hover,
.betting-front .nav-tabs > li.active > a:focus {
  color: #ffffff !important;
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #00d084 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45) !important;
}

/* ===================================================================
   Account & User Management Links - Carbon Graphite Cards
   =================================================================== */

.coin-section {
  padding: 20px 15px !important;
  margin-bottom: 18px !important;
}

.coin-section h4 {
  color: #ffffff !important;
  font-weight: 700;
}

.coin-section-btm {
  width: 100%;
  padding-top: 10px;
}

.coin-section-btm a {
  float: left;
  text-align: left;
  width: 100% !important;
  color: #f1f5f9 !important;
  background: linear-gradient(135deg, rgba(26, 28, 34, 0.9), rgba(18, 19, 23, 0.94)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 14px 20px !important;
  margin: 6px 0 !important;
  border-radius: var(--smcx-radius-md) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.coin-section-btm a:hover {
  background: linear-gradient(135deg, rgba(34, 38, 48, 0.95), rgba(22, 24, 30, 0.95)) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  color: #10b981 !important;
  transform: translateX(4px) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
}

.coin-section-btm a[href*="logout"] {
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #fca5a5 !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

.coin-section-btm a[href*="logout"]:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

.copyrefer {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #ffffff !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
}

/* ===================================================================
   Loan Wizard Styling - Carbon Dark Theme
   =================================================================== */

.loan-page {
  width: 100%;
  float: left;
  padding: 34px 15px 90px;
  box-sizing: border-box;
}

.loan-shell {
  width: min(980px, 100%);
  margin: 0 auto;
}

.loan-heading {
  text-align: center;
  margin-bottom: 24px;
}

.loan-heading h1 {
  margin: 5px 0 10px;
}

.loan-heading p {
  color: var(--smcx-muted);
  font-size: 16px;
}

.loan-kicker {
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.loan-wizard,
.loan-history,
.loan-ineligible {
  background: linear-gradient(145deg, rgba(26, 28, 34, 0.96), rgba(18, 19, 23, 0.98)) !important;
  border: 1px solid var(--smcx-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--smcx-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  padding: 28px;
  box-sizing: border-box;
}

.loan-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 34px;
}

.loan-progress:before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.loan-progress-step {
  position: relative;
  z-index: 1;
  border: 0 !important;
  background: transparent !important;
  color: var(--smcx-muted) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 !important;
}

.loan-progress-step span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #121316;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
  color: var(--smcx-muted);
}

.loan-progress-step small {
  font-size: 12px;
}

.loan-progress-step.active span,
.loan-progress-step.complete span {
  color: #ffffff !important;
  background: linear-gradient(135deg, #059669, #10b981) !important;
  border-color: #00d084 !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.55) !important;
}

.loan-progress-step.active {
  color: #10b981 !important;
}

.loan-step {
  display: none;
}

.loan-step.active {
  display: block;
  animation: loanFade 0.25s ease;
}

.loan-step h2 {
  margin: 0 0 22px;
}

.loan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.loan-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--smcx-text);
  font-weight: 600;
}

.loan-grid label span {
  color: var(--smcx-muted);
  font-weight: 400;
}

.loan-wide {
  grid-column: 1/-1;
}

.loan-file-note {
  color: var(--smcx-muted);
  margin-bottom: 18px;
}

.loan-files input[type=file] {
  min-height: 50px;
  padding: 10px;
}

.loan-declaration {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
}

.loan-declaration input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.loan-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.loan-actions button {
  min-width: 150px;
}

.loan-actions .loan-next,
.loan-actions .loan-submit {
  margin-left: auto;
}

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

.loan-ineligible i {
  font-size: 42px;
  color: #10b981;
}

.loan-ineligible h2 {
  margin: 12px 0;
}

.loan-history {
  margin-top: 26px;
}

.loan-history > h2 {
  margin: 0 0 18px;
}

.loan-history-card {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.loan-history-card:first-of-type {
  border-top: 0;
}

.loan-history-card > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.loan-history-card small {
  display: block;
  color: var(--smcx-muted);
  margin-top: 4px;
}

.loan-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.loan-status-in-review {
  color: #ffffff;
  background: #f59e0b;
}

.loan-status-accepted {
  color: #ffffff;
  background: #10b981;
}

.loan-status-rejected,
.loan-status-cancelled {
  color: #ffffff;
  background: var(--smcx-danger);
}

.loan-history-card p {
  color: var(--smcx-muted);
  margin-top: 10px;
}

.loan-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.loan-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.3);
}

.loan-summary span {
  color: var(--smcx-muted);
}

.loan-summary strong {
  color: #10b981;
  white-space: nowrap;
}

.loan-summary .loan-summary-total {
  grid-column: 1/-1;
  border-color: #10b981;
  font-size: 17px;
}

.loan-summary .loan-summary-fee {
  padding: 9px 12px;
  font-size: 12.5px;
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.loan-summary .loan-summary-fee strong {
  color: var(--smcx-muted);
  font-weight: 600;
}

.loan-summary .loan-summary-main strong,
.loan-summary .loan-summary-date strong,
.loan-summary .loan-summary-total strong {
  color: #ffffff;
}

.loan-summary .loan-summary-interest {
  grid-column: 1/-1;
  border-color: #10b981;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.2);
  font-size: 16px;
}

.loan-summary .loan-summary-interest span,
.loan-summary .loan-summary-interest strong {
  color: #34d399;
  font-weight: 800;
}

@keyframes loanFade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

/* ===================================================================
   Alerts & Notifications
   =================================================================== */

.alert-success {
  color: #ecfdf5 !important;
  background: rgba(16, 185, 129, 0.18) !important;
  border: 1px solid var(--smcx-success) !important;
  border-radius: 10px !important;
}

.alert-error,
.alert-danger {
  color: #fff1f2 !important;
  background: rgba(239, 68, 68, 0.18) !important;
  border: 1px solid var(--smcx-danger) !important;
  border-radius: 10px !important;
}

.alert-info {
  color: #fef3c7 !important;
  background: rgba(245, 158, 11, 0.18) !important;
  border: 1px solid #f59e0b !important;
  border-radius: 10px !important;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .loan-page {
    padding: 24px 10px 80px;
  }
  .loan-wizard,
  .loan-history,
  .loan-ineligible {
    padding: 20px 15px;
  }
  .loan-grid {
    grid-template-columns: 1fr;
  }
  .loan-wide {
    grid-column: auto;
  }
  .loan-progress-step small {
    display: none;
  }
  .loan-progress:before {
    left: 5%;
    right: 5%;
  }
  .loan-actions button {
    min-width: 0;
    flex: 1;
  }
  .loan-history-card > div {
    align-items: flex-start;
  }
  .login-box,
  .contact form {
    border-radius: 14px;
    padding: 22px 18px;
  }
  .loan-summary {
    grid-template-columns: 1fr;
  }
  .loan-summary .loan-summary-total,
  .loan-summary .loan-summary-interest {
    grid-column: auto;
  }
}

/* ===================================================================
   Offers & Buy Now System Styling (Professional Dark Frontend)
   =================================================================== */

.offers-page-wrapper,
.buy-offer-page-wrapper,
.offers-history-page-wrapper {
  width: 100%;
  float: left;
  padding: 24px 15px 95px;
  box-sizing: border-box;
}

.offers-container {
  max-width: 680px;
  margin: 0 auto;
}

/* 1. Offers Listing Page */
.offer-card {
  background: linear-gradient(145deg, rgba(26, 28, 34, 0.98), rgba(18, 19, 23, 0.98)) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
  margin-bottom: 24px !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

.offer-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(16, 185, 129, 0.55) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(16, 185, 129, 0.25) !important;
}

.offer-image-wrap {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f1013;
}

.offer-main-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.offer-card:hover .offer-main-img {
  transform: scale(1.02);
}

.offer-btn-wrap {
  padding: 16px 20px 20px !important;
  text-align: center !important;
  background: rgba(14, 15, 18, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.offer-buy-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 320px !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #00d084 100%) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45), 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.offer-buy-btn:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(0, 208, 132, 0.6) !important;
  color: #ffffff !important;
}

.offer-buy-btn:active {
  transform: translateY(1px) scale(0.99) !important;
}

.offer-empty-card,
.history-empty-card {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(145deg, rgba(26, 28, 34, 0.96), rgba(18, 19, 23, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

/* 2. Buy Now Page */
.buy-offer-box {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(26, 28, 34, 0.98), rgba(18, 19, 23, 0.98));
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.offer-title-main {
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
  text-align: center !important;
  letter-spacing: -0.3px;
}

.offer-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
  font-size: 16px;
  color: #9ca3af;
  font-weight: 600;
}

.price-amount {
  font-size: 32px;
  font-weight: 800;
  color: #10b981;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.price-unit {
  font-size: 14px;
  color: #9ca3af;
}

.buy-field-group {
  margin-bottom: 20px;
}

.buy-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 8px;
}

.buy-label i {
  color: #10b981;
  margin-right: 6px;
}

/* Quantity Stepper (+ - buttons) */
.qty-stepper-wrap {
  display: inline-flex;
  align-items: center;
  background: #121316;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
  padding: 4px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.qty-btn {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
  transition: transform 0.15s ease, filter 0.15s ease !important;
}

.qty-btn:hover {
  filter: brightness(1.15) !important;
  transform: scale(1.05) !important;
}

.qty-btn:active {
  transform: scale(0.95) !important;
}

.qty-field {
  width: 70px !important;
  height: 44px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 4px !important;
}

/* Calculated Total Box */
.calculated-total-display {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(5, 150, 105, 0.08));
  border: 1.5px solid #10b981;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}

.calculated-total-display .currency-symbol {
  font-size: 24px;
  font-weight: 700;
  color: #34d399;
}

#calculated-total-val {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}

/* Dynamic Account Details Box */
.dynamic-account-details-box {
  background: #121316;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid #10b981;
  border-radius: 12px;
  padding: 18px 20px;
  color: #e5e7eb;
  font-size: 14.5px;
  line-height: 1.6;
}

.dynamic-account-details-box h4,
.dynamic-account-details-box h3,
.dynamic-account-details-box h2 {
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.dynamic-account-details-box p {
  margin: 0 0 6px 0 !important;
  color: #cbd5e1 !important;
}

.dynamic-account-details-box strong {
  color: #ffffff !important;
}

/* Form inputs for Buy Now */
.buy-input-control {
  width: 100% !important;
  box-sizing: border-box !important;
  background: linear-gradient(180deg, #14151a, #1a1c22) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  padding: 13px 16px !important;
  font-size: 15px !important;
  transition: all 0.2s ease !important;
}

.buy-input-control:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3) !important;
  transform: translateY(-1px);
}

.buy-textarea {
  min-height: 80px;
  resize: vertical;
}

.file-upload-styled {
  position: relative;
  background: #14151a;
  border: 1.5px dashed rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.file-upload-styled:hover {
  border-color: #10b981;
}

.file-input-native {
  width: 100%;
  padding: 10px;
  color: #ffffff;
}

.buy-submit-wrap {
  margin-top: 30px;
  text-align: center;
}

.buy-now-submit-large {
  width: 100% !important;
  max-width: 100% !important;
  padding: 16px !important;
  font-size: 18px !important;
}

/* Order confirmation success card */
.order-success-card {
  text-align: center;
  padding: 20px 10px;
}

.success-icon {
  font-size: 64px;
  color: #10b981;
  margin-bottom: 16px;
  animation: pulseSuccess 1.5s infinite alternate ease-in-out;
}

@keyframes pulseSuccess {
  0% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.4)); }
  100% { transform: scale(1.08); filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.7)); }
}

.order-id-label {
  font-size: 18px;
  color: #ffffff;
  margin: 12px 0;
}

.order-id-label strong {
  color: #00d084;
}

.order-note {
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 26px;
}

.order-success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
}

.offer-secondary-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 13px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.4) !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.offer-secondary-btn:hover {
  background: rgba(16, 185, 129, 0.22) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* 3. Offers History Page */
.history-shell {
  max-width: 680px;
  margin: 0 auto;
}

.history-page-header {
  margin-bottom: 22px;
}

.history-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.history-back-link:hover {
  color: #10b981;
}

.history-page-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
}

.history-page-desc {
  color: #9ca3af;
  font-size: 14px;
  margin: 0;
}

.history-cards-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.history-offer-card {
  background: linear-gradient(145deg, rgba(26, 28, 34, 0.98), rgba(18, 19, 23, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45) !important;
  transition: border-color 0.2s ease, transform 0.2s ease !important;
}

.history-offer-card:hover {
  border-color: rgba(16, 185, 129, 0.4) !important;
  transform: translateY(-2px);
}

.history-card-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.history-thumb-wrap {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f1013;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-secondary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-img-placeholder {
  font-size: 28px;
  color: #10b981;
}

.history-info-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.history-offer-name {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3;
}

.history-price-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.history-meta-label {
  font-size: 13px;
  color: #9ca3af;
}

.history-meta-val {
  color: #ffffff;
  font-size: 14px;
}

.history-total-chip {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.history-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 12px;
}

.history-datetime {
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
}

.history-datetime i {
  color: #10b981;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.status-running {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.status-won {
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.status-refunded {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.history-card-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: #cbd5e1;
}

.history-detail-item small {
  color: #9ca3af;
  margin-right: 6px;
}

.history-detail-item code {
  background: #121316;
  color: #10b981;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.history-proof-link {
  color: #34d399;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.history-proof-link:hover {
  color: #ffffff;
  text-decoration: underline;
}



/* ==========================================================================
   STOCK & MCX LIVE TRADING TERMINAL STYLES (DARK CARBON / EMERALD)
   ========================================================================== */

.stock-trading-app {
  padding: 10px 12px 75px 12px;
  max-width: 900px;
  margin: 0 auto;
}

/* Top Summary Bar */
.trade-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  gap: 8px;
}

.trade-summary-bar .summary-col {
  display: flex;
  flex-direction: column;
}

.trade-summary-bar .lbl {
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.trade-summary-bar .val {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
}

.trade-summary-bar .wallet-val {
  color: #10b981;
}

.trade-summary-bar .pnl-pos {
  color: #10b981;
}

.trade-summary-bar .pnl-neg {
  color: #ef4444;
}

.trade-summary-bar .btn-deposit-quick {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(52, 211, 153, 0.5) !important;
  padding: 5px 11px !important;
  border-radius: 6px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
  transition: all 0.2s ease !important;
}

.trade-summary-bar .btn-deposit-quick:hover {
  background: linear-gradient(135deg, #059669 0%, #065f46 100%) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6) !important;
  transform: translateY(-1px) !important;
}

/* Compact Navigation Tabs (MCX, Nifty50, Favorites, Positions, Pending) */
.trading-nav-tabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 10px;
  border-bottom: 1px solid #334155;
  scrollbar-width: none;
}

.trading-nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tab-btn {
  border-radius: 5px !important;
  padding: 4px 9px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  height: 26px !important;
  line-height: 18px !important;
  box-sizing: border-box !important;
  transition: all 0.18s ease !important;
}

.nav-tab-btn i {
  font-size: 10.5px !important;
}

/* 1. MCX Button: Warm Amber / Gold */
.tab-btn-mcx {
  background: #251b0a !important;
  color: #fbbf24 !important;
  border: 1px solid #d97706 !important;
}
.tab-btn-mcx:hover {
  background: #38280f !important;
  color: #fef08a !important;
  border-color: #f59e0b !important;
}
.tab-btn-mcx.active {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%) !important;
  color: #ffffff !important;
  border-color: #f59e0b !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45) !important;
}

/* 2. Nifty 50 Button: Electric Royal Blue */
.tab-btn-nifty {
  background: #0d1b33 !important;
  color: #60a5fa !important;
  border: 1px solid #2563eb !important;
}
.tab-btn-nifty:hover {
  background: #172a4d !important;
  color: #93c5fd !important;
  border-color: #3b82f6 !important;
}
.tab-btn-nifty.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.45) !important;
}

/* 3. Favorites Button: Canary Yellow / Gold */
.tab-btn-fav {
  background: #262007 !important;
  color: #facc15 !important;
  border: 1px solid #ca8a04 !important;
}
.tab-btn-fav:hover {
  background: #3b320d !important;
  color: #fef08a !important;
  border-color: #eab308 !important;
}
.tab-btn-fav.active {
  background: linear-gradient(135deg, #eab308 0%, #a16207 100%) !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  border-color: #eab308 !important;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.45) !important;
}

/* 4. Positions Button: Vivid Emerald Green */
.tab-btn-positions {
  background: #082417 !important;
  color: #34d399 !important;
  border: 1px solid #059669 !important;
}
.tab-btn-positions:hover {
  background: #0f3d28 !important;
  color: #6ee7b7 !important;
  border-color: #10b981 !important;
}
.tab-btn-positions.active {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.45) !important;
}

/* 5. Pending Button: Deep Purple / Violet */
.tab-btn-pending {
  background: #200d33 !important;
  color: #c084fc !important;
  border: 1px solid #9333ea !important;
}
.tab-btn-pending:hover {
  background: #331750 !important;
  color: #e9d5ff !important;
  border-color: #a855f7 !important;
}
.tab-btn-pending.active {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%) !important;
  color: #ffffff !important;
  border-color: #a855f7 !important;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.45) !important;
}

.trading-tab-pane {
  display: none;
}

.trading-tab-pane.active {
  display: block;
}

/* Search Bar (With Generous Left Padding & Sleek Right Clear Button) */
.trade-search-bar {
  margin-bottom: 12px;
  width: 100%;
}

.search-input-wrap {
  position: relative !important;
  width: 100% !important;
  display: block !important;
}

.search-input-wrap .search-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

#market-search-input {
  width: 100% !important;
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  border-radius: 8px !important;
  padding: 7px 36px 7px 40px !important; /* Generous 40px left padding so text never touches search icon; 36px right padding for clear button */
  font-size: 12.5px !important;
  color: #f8fafc !important;
  outline: none !important;
  box-sizing: border-box !important;
  height: 36px !important;
  line-height: 20px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease !important;
}

#market-search-input:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25) !important;
  background: #0f172a !important;
}

#clear-search-btn {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border-radius: 50% !important;
  background: #334155 !important;
  border: none !important;
  color: #cbd5e1 !important;
  font-size: 10px !important;
  line-height: 18px !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 3 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  transition: all 0.15s ease !important;
}

#clear-search-btn i {
  font-size: 10px !important;
  line-height: 1 !important;
}

#clear-search-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}

/* ================= PREMIUM MODERN STOCK CARD DESIGN ================= */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.stock-rate-card {
  background: linear-gradient(145deg, #1e293b 0%, #111c2e 100%) !important;
  border: 1px solid #334155 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex; /* NO !important so search hide/show works reliably */
  flex-direction: column !important;
  gap: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  position: relative !important;
}

/* Explicit hide rule for search filtering */
.stock-rate-card.search-hidden {
  display: none !important;
}

.stock-rate-card:hover {
  border-color: #475569 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
}

.card-header-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
}

.card-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Star Button: Small, Subtle & Sleek (Not Big) */
.btn-fav {
  background: transparent !important;
  border: none !important;
  color: #64748b !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
}

.btn-fav i {
  font-size: 13px !important;
  line-height: 1 !important;
}

.btn-fav:hover {
  color: #fbbf24 !important;
  transform: scale(1.15) !important;
}

.btn-fav.active {
  color: #fbbf24 !important;
}

.btn-fav.active i {
  color: #fbbf24 !important;
}

.stock-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #f8fafc !important;
  line-height: 1.2 !important;
  letter-spacing: 0.3px !important;
}

.stock-subname {
  font-size: 11px !important;
  color: #94a3b8 !important;
  margin-top: 1px !important;
  max-width: 150px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.stock-market-tag {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 2px 7px !important;
  border-radius: 10px !important;
  letter-spacing: 0.4px !important;
  display: inline-block !important;
}

.tag-mcx {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #f59e0b !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.tag-nifty {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

.expiry-tag {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  background: #0f172a !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  border: 1px solid #334155 !important;
}

/* LTP & Price Change Row */
.card-price-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  margin-top: 2px !important;
}

.ltp-wrap {
  display: flex !important;
  flex-direction: column !important;
}

.ltp-label {
  font-size: 10px !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 2px !important;
}

.ltp-value {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #f8fafc !important;
  letter-spacing: -0.3px !important;
  line-height: 1.1 !important;
}

.change-wrap {
  text-align: right !important;
}

.change-pill {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  line-height: 14px !important;
}

.change-up {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

.change-down {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

/* Bid & Ask Strip */
.bid-ask-strip {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  background: #0b1324 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  border: 1px solid #1e293b !important;
}

.bid-box, .ask-box {
  display: flex !important;
  flex-direction: column !important;
}

.ba-lbl {
  font-size: 9.5px !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  line-height: 12px !important;
}

.ba-val {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 16px !important;
}

.bid-val {
  color: #f87171 !important;
}

.ask-val {
  color: #34d399 !important;
}

.card-meta-row {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 10.5px !important;
  color: #64748b !important;
  padding: 0 2px !important;
}

.card-meta-row strong {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
}

/* Card BUY / SELL Actions (Small, Sleek, Proportional) */
.card-actions-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-top: 2px !important;
}

.btn-trade {
  border: none !important;
  padding: 4px 0 !important;
  height: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
  border-radius: 5px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 17px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  box-sizing: border-box !important;
  transition: all 0.15s ease !important;
}

.btn-trade i {
  font-size: 9px !important;
}

.btn-buy {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25) !important;
}

.btn-buy:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 3px 6px rgba(16, 185, 129, 0.4) !important;
}

.btn-sell {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.25) !important;
}

.btn-sell:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  box-shadow: 0 3px 6px rgba(239, 68, 68, 0.4) !important;
}

/* ================= TRADING MODAL (COMPACT, NO-SCROLL) ================= */
.trade-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}

.trade-modal-box {
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 10px !important;
  width: 100%;
  max-width: 375px !important;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  margin: auto;
  animation: modalPop 0.18s ease-out;
}

@keyframes modalPop {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px !important;
  background: #0f172a;
  border-bottom: 1px solid #334155;
  flex-shrink: 0;
}

.modal-action-badge {
  font-size: 9px !important;
  font-weight: 800;
  padding: 2px 5px !important;
  border-radius: 3px;
  margin-right: 4px;
  color: #fff;
  display: inline-block;
}

.badge-buy {
  background: #10b981;
}

.badge-sell {
  background: #ef4444;
}

.modal-instrument-title {
  font-size: 13.5px !important;
  font-weight: 800;
  color: #f8fafc;
  display: inline-block;
}

.modal-instrument-sub {
  font-size: 9.5px !important;
  color: #94a3b8;
  margin-top: 1px;
}

/* Popup Close Button: Small, Crisp Circular Button (Not Big) */
.modal-close-btn {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  line-height: 20px !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.15s ease !important;
}

.modal-close-btn i {
  font-size: 11px !important;
  line-height: 1 !important;
}

.modal-close-btn:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

.modal-body-content {
  padding: 8px 12px 10px 12px !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

/* Triple Rates: LTP, BID, ASK */
.modal-rates-triple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px !important;
  background: #0f172a;
  padding: 4px 6px !important;
  border-radius: 5px;
  border: 1px solid #334155;
  margin-bottom: 6px !important;
}

.rate-col {
  display: flex;
  flex-direction: column;
  padding: 2px 4px !important;
  border-radius: 4px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid transparent;
}

.rate-col.rate-active-buy {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}

.rate-col.rate-active-sell {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

.r-lbl {
  font-size: 8.5px !important;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 10px !important;
  margin-bottom: 1px;
}

.r-val {
  font-size: 11px !important;
  font-weight: 800;
  color: #f8fafc;
  line-height: 13px !important;
}

.r-bid {
  color: #ef4444;
}

.r-ask {
  color: #10b981;
}

/* Execution Notice Banner */
.modal-exec-notice {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid #334155;
  border-radius: 4px;
  padding: 3px 6px !important;
  font-size: 10px !important;
  line-height: 13px !important;
  color: #cbd5e1;
  margin-bottom: 6px !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Order Execution Type Toggle */
.order-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px !important;
  margin-bottom: 6px !important;
}

.type-opt {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 4px !important;
  padding: 2px 4px !important;
  text-align: center;
  font-size: 10px !important;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px !important;
  box-sizing: border-box;
  transition: all 0.15s;
}

.type-opt input {
  display: none;
}

.type-opt.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #10b981;
}

.form-group-trade {
  margin-bottom: 6px !important;
}

.form-group-trade label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px !important;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 2px !important;
}

.badge-leverage {
  font-size: 9px !important;
  font-weight: 700;
  background: #f59e0b;
  color: #000;
  padding: 1px 4px !important;
  border-radius: 3px;
}

.input-trade-field {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 4px !important;
  padding: 3px 6px !important;
  color: #f8fafc;
  font-size: 11px !important;
  font-weight: 700;
  height: 25px !important;
}

.input-trade-field:focus {
  border-color: #10b981;
  outline: none;
}

.helper-text {
  font-size: 9px !important;
  color: #94a3b8;
  margin-top: 1px !important;
  display: block;
}

/* Units Stepper & Quick Pills (Fixed: + button never cut off) */
.units-stepper-wrap {
  display: flex !important;
  align-items: center !important;
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: 6px !important;
  height: 28px !important;
  margin-bottom: 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.btn-step-unit {
  background: #1e293b !important;
  border: none !important;
  color: #f8fafc !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 28px !important;
  flex: 0 0 32px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 11px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  transition: background 0.15s ease !important;
}

.btn-step-unit:hover {
  background: #334155 !important;
  color: #10b981 !important;
}

#btn-step-plus {
  border-left: 1px solid #334155 !important;
}

#btn-step-minus {
  border-right: 1px solid #334155 !important;
}

.input-units-field {
  flex: 1 1 auto !important;
  min-width: 0 !important; /* CRITICAL: Enables flexible input shrinkage so + button is NEVER clipped */
  width: 100% !important;
  text-align: center !important;
  background: transparent !important;
  border: none !important;
  color: #f8fafc !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 0 4px !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
  height: 28px !important;
  box-sizing: border-box !important;
}

.quick-units-pills {
  display: flex;
  gap: 3px !important;
  margin-top: 2px !important;
  margin-bottom: 5px !important;
  overflow-x: auto;
}

.btn-unit-pill {
  background: #0f172a;
  border: 1px solid #334155;
  color: #cbd5e1;
  font-size: 9px !important;
  font-weight: 600;
  padding: 2px 5px !important;
  border-radius: 3px !important;
  cursor: pointer;
  white-space: nowrap;
  height: 18px !important;
  line-height: 14px !important;
  transition: all 0.15s;
}

.btn-unit-pill:hover, .btn-unit-pill.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #10b981;
}

/* Breakdown Card */
.trade-breakdown-card {
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: 5px !important;
  padding: 5px 8px !important;
  margin-bottom: 7px !important;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px !important;
  color: #94a3b8;
  margin-bottom: 2px !important;
  line-height: 14px !important;
}

.breakdown-row:last-child {
  margin-bottom: 0 !important;
}

.highlight-green {
  color: #10b981;
  font-size: 11px !important;
}

.user-balance-disp {
  color: #cbd5e1;
  font-weight: 700;
}

.risk-cap-badge {
  color: #f59e0b;
  font-weight: 700;
}

.modal-error-box {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 9.5px;
  margin-bottom: 5px;
}

.btn-confirm-order {
  width: 100% !important;
  border: none !important;
  padding: 6px 0 !important;
  border-radius: 5px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  height: 32px !important;
  line-height: 20px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
}

/* BUY Mode: High-contrast Vibrant Green */
.btn-confirm-order.btn-buy-theme,
.btn-buy-theme {
  background: #10b981 !important;
  background-image: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4) !important;
}

.btn-confirm-order.btn-buy-theme:hover,
.btn-buy-theme:hover {
  background: #059669 !important;
  background-image: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.5) !important;
}

/* SELL Mode: High-contrast Crimson Red */
.btn-confirm-order.btn-sell-theme,
.btn-sell-theme {
  background: #ef4444 !important;
  background-image: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4) !important;
}

.btn-confirm-order.btn-sell-theme:hover,
.btn-sell-theme:hover {
  background: #dc2626 !important;
  background-image: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.5) !important;
}

/* ================= POSITIONS & PENDING CARDS ================= */
.position-item-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.pos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pos-type-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  margin-right: 5px;
  color: #fff;
}

.pos-symbol {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
}

.pos-market {
  font-size: 9.5px;
  color: #94a3b8;
  margin-left: 4px;
}

.pos-pnl-live {
  font-size: 14px;
  font-weight: 800;
}

.pos-green {
  color: #10b981;
}

.pos-red {
  color: #ef4444;
}

.pos-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
  background: #0f172a;
  padding: 7px 10px;
  border-radius: 5px;
  margin-bottom: 8px;
}

.pos-lbl {
  display: block;
  font-size: 9.5px;
  color: #94a3b8;
}

.pos-details-grid strong {
  color: #f8fafc;
  font-size: 11.5px;
}

/* 90% Stop-out Risk Progress Bar */
.risk-bar-container {
  margin-bottom: 8px;
}

.risk-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: #94a3b8;
  margin-bottom: 3px;
}

.risk-progress-bg {
  background: #0f172a;
  border-radius: 3px;
  height: 5px;
  overflow: hidden;
  border: 1px solid #334155;
}

.risk-progress-fill {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  height: 100%;
  width: 0%;
  transition: width 0.3s;
}

.pos-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
  border-top: 1px solid #334155;
}

.pos-time {
  font-size: 9.5px;
  color: #94a3b8;
}

/* Small square-off & cancel buttons in positions */
.btn-square-off {
  background: #ef4444 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  height: 22px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.btn-square-off:hover {
  background: #dc2626 !important;
}

.btn-cancel-limit {
  background: #64748b !important;
  color: #ffffff !important;
  border: none !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  height: 22px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.btn-cancel-limit:hover {
  background: #475569 !important;
}

/* Toast Notifications */
.trade-toast-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}

.trade-toast {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  animation: toastFadeIn 0.2s ease-out;
}

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

.toast-success {
  background: #10b981;
}

.toast-error {
  background: #ef4444;
}

.toast-info {
  background: #3b82f6;
}

.no-data-notice {
  text-align: center;
  padding: 30px 15px;
  color: #94a3b8;
  font-size: 13px;
  background: #1e293b;
  border-radius: 8px;
  border: 1px dashed #334155;
  margin-top: 10px;
}


/* Real-Time Price Ticker Glow Flash */
.flash-green {
  color: #10b981 !important;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.9) !important;
  transition: all 0.15s ease !important;
}

.flash-red {
  color: #ef4444 !important;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.9) !important;
  transition: all 0.15s ease !important;
}

.ltp-value, .stock-ltp {
  transition: color 0.15s ease, text-shadow 0.15s ease !important;
}
