:focus {
  outline: 0;
}

/* Hilangkan blok warna pink dari wallet-card-section */
.wallet-card-section:before {
  display: none !important;
  height: 0 !important;
  background: transparent !important;
}

/* Navbar Atas Modern Dark Theme */
.appHeader.bg-danger {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

::-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;
}

.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: inline-block;
  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:430px;
  margin:auto;
  border-radius:30px;
  overflow: hidden;
  box-shadow: 0 5px 20px 0 rgb(0 0 0 / 9%);
}

.id-card .body-id-card{
    background:url(../img/bg-id-card.png) no-repeat center;
    height:100%;
    width: 100%;
    padding: 30px;
}

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

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

.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;
  height: 155px;
  width: 155px;
  box-shadow: 0 5px 20px 0 rgb(0 0 0 / 9%);
  margin-top: 30px;
  border:solid 2px #ffffff;
  overflow: hidden;
  text-align: center;
}

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


/* --------- WEBCAM STYLES -----------*/
.webcam-capture-body {
  display: block;
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.webcam-capture {
  width: 100% !important;
  max-width: 440px !important;
  height: 350px !important;
  margin: 0 auto 15px auto !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #000000 !important;
  position: relative !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.webcam-capture video,
.webcam-capture canvas,
.webcam-capture img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  transform: scaleX(-1) !important;
  -webkit-transform: scaleX(-1) !important;
}


.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;
}




.select {
  cursor: pointer;
  background-color: transparent;
  box-shadow: none;
  border: 0px;
  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:230px;
  }
  
  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);
  }
}

/* ============================================================
   MODERN MOBILE ANIMATED LOGIN PAGE STYLES
   ============================================================ */

@keyframes floatLogo {
  0% { transform: translateY(0px) scale(1); filter: drop-shadow(0 10px 15px rgba(255, 57, 111, 0.2)); }
  50% { transform: translateY(-8px) scale(1.02); filter: drop-shadow(0 18px 25px rgba(255, 57, 111, 0.35)); }
  100% { transform: translateY(0px) scale(1); filter: drop-shadow(0 10px 15px rgba(255, 57, 111, 0.2)); }
}

@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.login-container-animated {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 15px 40px 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #edf2f7 50%, #e2e8f0 100%);
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
  animation: slideUpFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-animated-wrapper {
  margin: 0 auto 15px auto;
  display: inline-block;
  animation: floatLogo 4s ease-in-out infinite;
}

.login-logo-img {
  max-width: 130px !important;
  width: 130px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.login-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.login-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 25px;
}

.login-card-glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 30px 24px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 20px rgba(255, 57, 111, 0.05);
  transition: all 0.3s ease;
}

.login-card-glass:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12), 0 0 25px rgba(255, 57, 111, 0.1);
}

.custom-input-group {
  margin-bottom: 20px;
}

.custom-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-wrapper-custom {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper-custom .input-icon {
  position: absolute;
  left: 16px;
  font-size: 20px;
  color: #94a3b8;
  transition: color 0.3s ease;
  z-index: 2;
}

.custom-input {
  width: 100%;
  height: 52px;
  padding: 12px 42px 12px 48px !important;
  background: #f8fafc !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  color: #0f172a !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: none !important;
}

.custom-input:focus {
  background: #ffffff !important;
  border-color: #ff396f !important;
  box-shadow: 0 0 0 4px rgba(255, 57, 111, 0.15) !important;
}

.input-wrapper-custom:focus-within .input-icon {
  color: #ff396f;
}

.btn-login-modern {
  height: 54px;
  background: linear-gradient(135deg, #ff396f 0%, #e02354 100%);
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 20px -5px rgba(255, 57, 111, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  width: 100%;
}

.btn-login-modern:hover, .btn-login-modern:focus {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(255, 57, 111, 0.5);
  background: linear-gradient(135deg, #ff4d7e 0%, #ff295d 100%);
  color: #ffffff;
}

.btn-login-modern:active {
  transform: translateY(1px);
  box-shadow: 0 5px 10px -2px rgba(255, 57, 111, 0.4);
}