.text-default{
  color: #222125;
}
:focus {
  outline: 0;
}

::-webkit-scrollbar-track{
  -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
  background-color: #F5F5F5;
}

::-webkit-scrollbar{
  width:8px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb{
  background-color: #000000;
}


.loading {
  display: none;
  position: fixed;
  top:60px;
  right: 20px;
  z-index:999999;
}

#loader {
    background: #00000069 !important;
    z-index: 99999;
}
.wallet-card-section {
    position: relative; 
    overflow: hidden;
}
.wallet-card-section:before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 200px;
    background: var(--bg-success);
    z-index: -1;
    width: 100%;
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M0,160C360,240 360,80 720,160C1080,240 1080,80 1440,160L1440,0L0,0Z"/></svg>') center / cover no-repeat;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M0,160C360,240 360,80 720,160C1080,240 1080,80 1440,160L1440,0L0,0Z"/></svg>') center / cover no-repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wallet-card .wallet-footer .webcame{
  display:inline-block;
  text-align: center;
  align-items: flex-start;
  justify-content: space-between;
  margin:auto;
}

.wallet-card .wallet-footer .webcame canvas {
    width:600px;
    height:auto;
    border-radius: 10px;
    overflow:hidden;
}


div.dataTables_filter label {
    font-weight: normal;
    white-space: nowrap;
    text-align: left;
    float: right;
}


/* --------------------------------
    Pagination
-----------------------------------*/
div.dataTables_paginate ul.pagination{
  float: right;
}
div.dataTables_info {
    padding-top: 8px;
    padding-left: 10px;
    white-space: nowrap;
}

.pagination>li>a, .pagination>li>span {
  margin: 0 1px;
  color: #333;
  padding:5px 10px;
  line-height:33px;
  font-weight:500;
  font-size:14px;
  background-color: #FFFFFF;
  border:solid 1px #eee;
}

.pagination>li>a:hover{
    color: #ffffff;
    background:#ff396f;
    border-color:#ff396f;
}

.pagination>li:first-child>a, .pagination>li:first-child>span{
    margin-left: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius:20px;
}

.pagination>li:last-child>a, .pagination>li:last-child>span {
    border-top-right-radius: 20px;
    border-bottom-right-radius:20px;
}

.pagination>.active>a, .pagination>.active>a:focus,
.pagination>.active>a:hover, .pagination>.active>span,
.pagination>.active>span:focus, .pagination>.active>span:hover {
    z-index: 2;
    color: #ffffff;
    cursor: default;
    background:#ff396f;
    border-color:#ff396f;
  
}
.avatar-section {
  position: relative;
}
.avatar-section input[type="file"] {
  display: none;
  opacity: 0;
  position: absolute;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 30px;
  padding-bottom: 67px;
  width: 85%;
  z-index: 99;
  margin-top: 10px;
  cursor:pointer;
}


/* -----  ID Card -----------*/
.id-card{
  position: relative;
  width:300px;
  height:511px;
  margin:auto;
  border-radius:30px;
  overflow: hidden;
  box-shadow: 0 5px 20px 0 rgb(0 0 0 / 9%);
}

.id-card .body-id-card{
  height:100%;
  width: 100%;
  padding:20px 30px 30px 30px;
}

.id-card .body-id-card img{
  position: relative;
}

.id-card .body-id-card .logo{
  position: relative;
  display:flex;
  margin-bottom: 20px;
}
.id-card .body-id-card .logo img{
  float: left;
  height:15px;
}

.id-card .body-id-card .avatar{
  margin-bottom: 10px;
}

.id-card .body-id-card .avatar img{
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.id-card .body-id-card h3{
  font-size: 16px;
  text-align: center;
  margin: auto;
}

.id-card .body-id-card ul{
  margin:0px;
  padding: 0px;
  text-align: left;
  font-size: 13px;
  color: #111111;
}

.id-card .body-id-card li{
  list-style: none;
}
.id-card .body-id-card li span{
  width:50px;
  display: inline-block;
}

.id-card .body-id-card p{
  font-size: 14px;
  text-transform: uppercase;
  color: #333333;
  font-weight:600;
}

.id-card .body-id-card .barcode{
  position: relative;
  display: inline-block;
  background:#ffffff;
  box-shadow: 0 5px 20px 0 rgb(0 0 0 / 9%);
  margin-top:20px;
  border:solid 4px #ffffff;
  overflow: hidden;
  text-align: center;
}

.id-card .body-id-card .barcode img{
  height:120px;
  width: 120px;
  text-align: center;
  display: inline-block;
  object-fit: cover;
}


/* --------- WEBCAME -----------*/
.webcam-capture-body{
  display: inline-block;
  text-align: center;
  margin: auto;
}

.webcam-capture,
.webcam-capture video{
  display: inline-block;
  width:100%!important;
  height: auto!important;
  margin:auto;
  text-align: center;
  border-radius: 15px;
  overflow: hidden;
}


.webcam-capture-body .webcam-camera{
  position: relative;
  background:#ffffff;
  padding:20px;
  border:solid 1px #eeeeee;
  border-radius:20px;
  width:100%;
  height: auto;
}

.webcam-capture-body .webcam-camera img{
  width:100%;
  object-fit: cover;
  background: #eeeeee;
  border: solid 1px #eeeeee;
  border-radius: 10px;
  margin-bottom: 10px;
}


.webcam-capture-body  input[type="file"] {
  display: inline-block;
  opacity:0;
  position: absolute;
  margin-left: 0px;
  margin-right: 0px;
  padding-top:15px;
  padding-left:25px;
  width: 100%;
  height: 60px;
  z-index: 99;
  cursor: pointer;
}



.wallet-card .wallet-footer .webcame{
  display:inline-block;
  text-align: center;
  align-items: flex-start;
  justify-content: space-between;
  margin:auto;
}

.wallet-card .wallet-footer .webcame canvas {
    width:600px;
    height:auto;
    border-radius: 10px;
    overflow:hidden;
}



.select {
  cursor: pointer;
  background-color: transparent;
  box-shadow: none;
  border: none !important;
  font-size: 15px;
  font-weight: 500;
}




/*-----------------------
 Upload Image
--------------------------*/

.upload-media{
    background: #ffffff;
    background-size: 100%!important;
    border:solid 1px #eeeeee;
    height:100px;
    width:100px;
    cursor:pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 10px;
    position:relative;
    overflow: hidden;
}
 

.upload-media:hover{
    background: #fbfbfb;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(217,217,217,1);
    -moz-box-shadow: 0px 0px 10px 1px rgba(217,217,217,1);
    box-shadow: 0px 0px 10px 1px rgba(217,217,217,1);
}

.upload-media input.upload-hidden{
    width:100%;height:100px;
    position:absolute!important;
    top:0!important;
    left:0!important;
    padding:0; 
    margin-top:0px; 
    margin-left:0px;
    opacity:0!important;
    cursor:pointer;
    display: block !important;
}

.upload-media i{
  font-size: 30px;
  color: #999999;
  line-height:96px;
}
    
.upload-media img {
    vertical-align:middle;
    width:100px;
    height:100px;
    background-size: 100%;
    object-fit: contain;
  }
.upload-media .images{opacity: 0}
.upload-media .images:hover{
    opacity:1
}

.upload-content{
    position: relative;
}

.upload-content .btn.btn-primary .upload-files{
    width:100%;height:100px;
    position:absolute!important;
    top:0!important;
    left:0!important;
    padding:0; 
    margin-top:0px; 
    margin-left:0px;
    opacity:0!important;
    cursor:pointer;
    display: block !important;
}


@media only screen and (max-width:690px){
  .wallet-card .wallet-footer .webcame canvas {
      width: 100%;
      height: auto;
  }
}
@media only screen and (max-width:480px){
  .wallet-card .wallet-footer .webcame canvas {
    width: 100%;
    height:450px;
  }
  
  div.dataTables_filter label {
    float:left;
  }
  div.dataTables_filter input {
    margin-left: 0.5em;
    display: inline-block;
    width: 180px;
  }

  .wallet-card {
    padding:10px 15px;
    position: relative;
    z-index: 1;
  }

  .id-card {
      position: relative;
      width:250px;
      height:auto;
      border-radius: 30px;
  }

  .stat-box .value {
      font-size:15px;
  }

  .hidden-sm{
    display: none;
  }
}

@media print {
  .hidden-print {
    display: none !important;
  }
  a[href]:after {
    content: none !important;
  }

 header, footer, aside, nav, form, iframe, .menu, .hero, .adslot{
    display: none;
  }

}


@page:right{
  @bottom-right {
    content: counter(page);
  }
}

@page:left{
  @bottom-left {
    content: counter(page);
  }
}

.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
}
.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px;
  height: 7.2px;
  border-radius: 50%;
  background: #eee;
  margin: -3.6px 0 0 -3.6px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hover:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.floating-chat {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background: rgb(0, 99, 124);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.2),
    inset -3px -3px 7px rgba(0, 0, 0, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.floating-chat:hover {
  transform: scale(1.1);
}

.floating-chat ion-icon {
  font-size: 28px;
  color: #fff;
}
.active-button {
  bottom: 10px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #098f83, #0fb9a8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.2),
    inset -3px -3px 7px rgba(0, 0, 0, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.active-button:hover {
  transform: translateX(-50%) translateY(-2px);
   background: linear-gradient(135deg, #0fb9a8, #098f83);
}


.active-button > ion-icon {
  color: #fff;
}
.active-button:hover {
  transform: translateY(-2px); /* naik sedikit saat hover */
  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.45),
    inset 1px 1px 5px rgba(255, 255, 255, 0.25),
    inset -2px -2px 6px rgba(0, 0, 0, 0.2);
}
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(100%);
  -webkit-backdrop-filter: blur(20px) saturate(100%);
  box-shadow:
    inset 0 0 0.5px rgba(255, 255, 255, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  
  padding: 24px;
  transition: transform 0.3s ease;
}
.text-shadow {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -30deg, /* kemiringan garis */
    rgba(255, 255, 255, 0.05) 0px,
    rgba(255, 255, 255, 0.05) 2px,
    transparent 2px,
    transparent 6px
  );
  pointer-events: none;
}
.glass::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.3),
    transparent 60%
  );
  opacity: 0.4;
  pointer-events: none;
  transform: rotate(15deg);
}

/* Water-touch interaction style on hover */
.glass:hover {
  transform: scale(1.015) translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.3),
    inset 0 0 1px rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
  .wallet-card-section:before {
    height: 600px;
    mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'><path fill='white' d='M0,160C360,240 360,80 720,160C1080,240 1080,80 1440,160L1440,0L0,0Z'/></svg>") center / cover no-repeat;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'><path fill='white' d='M0,160C360,240 360,80 720,160C1080,240 1080,80 1440,160L1440,0L0,0Z'/></svg>") center / cover no-repeat;
  }
}

