
/* International-grade polish */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
:root {
  --bg: #eeeeee;
  --card: #ffffff;
  --text: #333333;
  --accent: #6c757d;
  --up: #28a745;
  --down: #dc3545;
  --shadow: rgba(0, 0, 0, 0.1);
}
body {
  font-family: 'SolaimanLipi', sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  transition: background 0.4s, color 0.4s;
}
.container {
  max-width: 960px;
  margin: 0 auto;
}
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 12px var(--shadow);
}
h2 {
  text-align: center;
  margin-bottom: 30px;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 30px;
  padding: 8px;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease-in-out;
}
th, td {
  padding: 14px 20px;
  text-align: center;
  font-size: 14.5px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
  transition: background 0.3s ease, color 0.3s ease;
}
th {
  background: linear-gradient(to right, var(--accent), #5a6268);
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: none;
}
tr:last-child td {
  border-bottom: none;
}
.price-up {
  color: var(--up) !important;
  font-weight: bold;
}
.price-down {
  color: var(--down) !important;
  font-weight: bold;
}
.buy-btn {
 background: linear-gradient(to right, #6a737b, #495057);
 border: 2px solid #82c9bbcf;
 color: #fff;
 padding: 6px 14px;
 font-size: 13px;
 font-weight: 600;
 border-radius: 8px;
 cursor: pointer;
 text-transform: uppercase;
 box-shadow: 0 6px 12px rgba(108, 117, 125, 0.3);
 transition: all 0.3s ease-in-out;
 position: relative;
 overflow: hidden;
 font-family: 'SolaimanLipi', sans-serif;
}
.buy-btn::before {
  content: '';
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.15);
  transition: width 0.4s ease;
  z-index: 0;
}
.buy-btn:hover::before {
  width: 100%;
}
.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(22, 160, 133, 0.4);
}
.buy-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.buy-btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.buy-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 200, 83, 0.4);
}
.buy-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 200, 83, 0.5);
}
.buy-btn:hover {
  transform: scale(1.05);
}
.footer-note {
  margin: 40px 0;
  font-size: 15px;
  text-align: center;
  color: gray;
}
@media (max-width: 600px) {
  table {
    font-size: 14px;
  }
  th, td {
    padding: 12px 10px;
  }
  .theme-toggle {
    padding: 8px 12px;
    font-size: 14px;
  }
}
.change {
  transition: background-color 0.1s linear, transform 0.3s ease;
  border-radius: 6px;
}
.price-up.animate, .price-down.animate {
  animation: pricePulse 0.6s ease;
}
@keyframes pricePulse {
  0% { transform: scale(1); background-color: #e0f7e9; }
  50% { transform: scale(1.1); background-color: #ccf3e0; }
  100% { transform: scale(1); background-color: transparent; }
}
.price {
  transition: background-color 0.1s linear, transform 0.3s ease;
  border-radius: 6px;
}
.price.animate {
  animation: priceFlash 0.6s ease;
}
@keyframes priceFlash {
  0% { transform: scale(1); background-color: #e6f7ff; }
  50% { transform: scale(1); background-color: #d0efff; }
  100% { transform: scale(1); background-color: transparent; }
}
.offcanvas {
  padding: 0;
  background: unset;
  color: white;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
  width: auto !important;
}
.chart-container {
  max-width: 100%;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  padding: 10px;
}
.form_icon {
  background: unset;
  border: 1px solid #5d656d;
  color: #ddd;
}
.form_input {
  background: unset;
  border: 1px solid #5d656d;
  color: #ddd;
}
.form_input:focus, form_input:active{
  background: unset;
  border: 1px solid #5d656d;
  color: #ccc;
  box-shadow: unset;
}
.form_input::placeholder {
  color: #ccc;
}


.modal-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}
.info-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 20px;
  color: #333;
  font-weight: 500;
  gap: 5px;
}
input[type="number"] {
  padding: 5px 10px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border 0.3s;
}
input[type="number"]:focus {
  border-color: #28a745;
  outline: none;
}
.total-output {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin: 10px 0;
}
.confirm-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 14px;
  width: 100%;
  font-size: 17px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.confirm-btn:hover {
  background: #5a6268;
}
.confirm-btn:disabled {
  cursor: no-drop;
}


.register-container {
  width: 100%;
  max-width: 620px;
  background: linear-gradient(to bottom right, #bfbfbf, #d3d3d3);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.8s ease forwards;
}
.register-container h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 24px;
  color: #222;
}
.register-container label {
  font-weight: bold;
  font-size: 15px;
  margin: 10px 0 5px;
  display: block;
  color: #333;
}
.register-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.register-container button {
  width: 100%;
  padding: 13px;
  background: linear-gradient(to right, #6a737b, #495057);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.register-container button:hover {
  background: #666;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px) translateX(-50%); }
  10% { opacity: 1; transform: translateY(0) translateX(-50%); }
  90% { opacity: 1; transform: translateY(0) translateX(-50%); }
  100% { opacity: 0; transform: translateY(20px) translateX(-50%); }
}
@media (max-width: 600px) {
  .register-container {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
  }
  .register-container h2 {
    font-size: 18px;
  }
  .register-container label {
    font-size: 14px;
  }
  .register-container input,
  .register-container button {
    font-size: 14px;
    padding: 10px;
  }
}
.register-container {
  padding: 24px 16px;
  border-radius: 10px;
  margin: auto;
}
.register-container h2 {
  font-size: 18px;
}
.register-container input,
.register-container button {
  font-size: 14px;
}

.payment-methods {
  text-align: center;
}
.payment-methods h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #222;
}
.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.icons img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  padding: 8px;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.icons img:hover {
  transform: scale(1.1);
}
.toggle-btn {
  background: linear-gradient(to right, #6c757d, #495057);
  color: white;
  padding: 10px 14px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 18px;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
  z-index: 9999;
  position: fixed;
  top: 12px;
  left: 15px;
}
.sidebar {
  height: 100%;
  width: 300px;
  background: linear-gradient(145deg, #495057, #343a40);
  color: white;
  padding: 24px 18px;
  box-shadow: 8px 0 20px rgba(0,0,0,0.4);
  transition: transform 0.4s ease-in-out;
  z-index: 1000;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar.open {
  transform: translateX(0);
}
.sidebar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  color: white;
  border-radius: 12px;
  margin: 8px 0;
  padding: 5px 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 transparent, 0 2px 6px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  font-size: 16px;
}
.sidebar a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255, 255, 255, 0.2);
  width: 200%;
  height: 200%;
  border-radius: 50%;
  transition: transform 0.4s ease;
  z-index: 0;
}

.sidebar a:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.sidebar a span {
  position: relative;
  z-index: 1;
}

.sidebar a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(5px);
}

.sidebar a.active {
  background: #00b894;
  font-weight: bold;
  box-shadow: inset 4px 0 0 #00e6b7;
}

.sidebar a i {
  font-size: 18px;
  z-index: 1;
}
.modal {
  top: 10%;
}
.preloader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-direction: column;
  background-color: #1f1f1f;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.typewriter {
  font-size: 30px;
  color: #00e676;
  border-right: 3px solid #00e676;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 2s steps(30, end) forwards, blink 0.8s infinite;
}
@keyframes typing {
  from { width: 0 }
  to { width: 22ch }
}

@keyframes blink {
  0%, 100% { border-color: transparent }
  50% { border-color: #00e676 }
}
.hidden{
  display: none;
}
.profile {
  height: 100%;
  width: 300px;
  background: linear-gradient(145deg, #495057, #343a40);
  color: white;
  padding: 24px 18px;
  box-shadow: 8px 0 20px rgba(0,0,0,0.4);
  transition: transform 0.4s ease-in-out;
  z-index: 1000;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.profile a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.44);
  color: white;
  border-radius: 12px;
  margin: 8px 0;
  padding: 5px 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 transparent, 0 2px 6px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  font-size: 12px;
}
.profile a.active:hover {
  background: rgba(0, 0, 0, 0.50);
}
.profile a.active {
  font-weight: bold;
  box-shadow: inset 4px 0 0 #99a4a1;
}
.profile_item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}
.profile_item span:last-child {
  color: #ffa4ad;
}
.profile_item span:first-child {
  font-weight: bold;
  color: #28a745;
}
.profile_item span .copy_btn {
  padding: 3px 0px;
  color: #fff;
  position: absolute;
  top: 49%;
  right: 9px;
  transform: translateY(-50%);
  font-size: 18px;
  background: 000;
  cursor: pointer;
  border-left: 1px solid #00000040;
}
.btn-group-xs > .btn, .btn-xs {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
.timepicker-text-container {
  font-size:4rem;
  font-weight:bold;
  text-align:center;
  color:rgba(255,255,255,0.6);
  font-weight:400;
  position:relative;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none
}
.timepicker-span-hours,
.timepicker-span-minutes,
.timepicker-span-am-pm div {
  cursor:pointer
}
.timepicker-span-hours {
  margin-right:3px
}
.timepicker-span-minutes {
  margin-left:3px
}
.timepicker-display-am-pm {
  font-size:1.3rem;
  position:absolute;
  right:1rem;
  bottom:1rem;
  font-weight:400
}
.timepicker-analog-display {
  -webkit-box-flex:2.5;
  -webkit-flex:2.5 auto;
  -ms-flex:2.5 auto;
  flex:2.5 auto
}
.timepicker-plate {
  background-color:#eee;
  border-radius:50%;
  width:270px;
  height:270px;
  overflow:visible;
  position:relative;
  margin:auto;
  margin-top:25px;
  margin-bottom:5px;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none
}
.timepicker-canvas,
.timepicker-dial {
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0
}
.timepicker-minutes {
  visibility:hidden
}
.timepicker-tick {
  border-radius:50%;
  color:rgba(0,0,0,0.87);
  line-height:40px;
  text-align:center;
  width:40px;
  height:40px;
  position:absolute;
  cursor:pointer;
  font-size:15px
}
.timepicker-tick.active,
.timepicker-tick:hover {
  background-color:rgba(38,166,154,0.25)
}
.timepicker-dial {
  -webkit-transition:opacity 350ms, -webkit-transform 350ms;
  transition:opacity 350ms, -webkit-transform 350ms;
  transition:transform 350ms, opacity 350ms;
  transition:transform 350ms, opacity 350ms, -webkit-transform 350ms
}
.timepicker-dial-out {
  opacity:0
}
.timepicker-dial-out.timepicker-hours {
  -webkit-transform:scale(1.1, 1.1);
  transform:scale(1.1, 1.1)
}
.timepicker-dial-out.timepicker-minutes {
  -webkit-transform:scale(0.8, 0.8);
  transform:scale(0.8, 0.8)
}
.timepicker-canvas {
  -webkit-transition:opacity 175ms;
  transition:opacity 175ms
}
.timepicker-canvas line {
  stroke:#26a69a;
  stroke-width:4;
  stroke-linecap:round
}
.timepicker-canvas-out {
  opacity:0.25
}
.timepicker-canvas-bearing {
  stroke:none;
  fill:#26a69a
}
.timepicker-canvas-bg {
  stroke:none;
  fill:#26a69a
}
.timepicker-footer {
  margin:0 auto;
  padding:5px 1rem;
  display:-webkit-box;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack:justify;
  -webkit-justify-content:space-between;
  -ms-flex-pack:justify;
  justify-content:space-between
}
.timepicker-clear {
  color:#F44336
}
.timepicker-close {
  color:#26a69a
}
.timepicker-clear,
.timepicker-close {
  padding:0 20px
}
@media only screen and (min-width: 601px) {
  .timepicker-modal {
    max-width: 600px;
    height: auto;
    margin-left: auto;
    position: absolute;
  }
  .timepicker-container.modal-content {
    -webkit-box-orient:horizontal;
    -webkit-box-direction:normal;
    -webkit-flex-direction:row;
    -ms-flex-direction:row;
    flex-direction:row
  }
  .timepicker-text-container {
    top:32%
  }
  .timepicker-display-am-pm {
    position:relative;
    right:auto;
    bottom:auto;
    text-align:center;
    margin-top:1.2rem
  }
}
.timepicker-digital-display {
  -webkit-box-flex: 1;
  -webkit-flex: 1 auto;
  -ms-flex: 1 auto;
  flex: 1 auto;
  background-color: #26a69a;
  padding: 10px;
  font-weight: 300;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}





