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

.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:#208b6a;
    border-color:#208b6a;
}

.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:#208b6a;
    border-color:#208b6a;
  
}
.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;
}


/* --------- 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;
}




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

@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);
  }
}

.login-shell {
  min-height: 100vh;
  padding: 28px 18px 48px;
  background:
    radial-gradient(circle at top left, rgba(32, 139, 106, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0, 123, 255, 0.10), transparent 28%),
    linear-gradient(180deg, #f4fbf8 0%, #ffffff 52%, #f7f8fb 100%);
}

#appCapsule.login-shell {
  padding: 0;
}

.login-stage {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-surface {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(25, 47, 89, 0.12);
  border: 1px solid rgba(160, 177, 205, 0.22);
  backdrop-filter: blur(14px);
}

.login-brand-panel {
  padding: 38px;
  background:
    linear-gradient(145deg, rgba(32, 139, 106, 0.97), rgba(20, 104, 148, 0.92)),
    #208b6a;
  color: #fff;
  position: relative;
}

.login-brand-panel:before,
.login-brand-panel:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.login-brand-panel:before {
  width: 180px;
  height: 180px;
  top: -42px;
  right: -52px;
}

.login-brand-panel:after {
  width: 130px;
  height: 130px;
  bottom: 28px;
  left: -35px;
}

.login-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.login-brand-mark {
  width: 92px;
  height: 92px;
  margin: 28px 0 22px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.login-brand-mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.login-title {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
}

.login-copy {
  margin: 0 0 24px;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.7;
}

.login-feature-list {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.login-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.55;
}

.login-feature-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  margin-top: 7px;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.login-form-panel {
  padding: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), #ffffff);
}

.login-form-head {
  margin-bottom: 22px;
}

.login-eyebrow {
  color: #208b6a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.login-form-head h2 {
  margin: 0 0 10px;
  color: #18253f;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
}

.login-form-head p {
  margin: 0;
  color: #66758b;
  font-size: 15px;
  line-height: 1.65;
}

.login-form-modern {
  display: grid;
  gap: 18px;
}

.login-input-group {
  margin: 0;
}

.login-input-group .label {
  font-weight: 600;
  color: #324055;
  margin-bottom: 8px;
}

.login-shell .input-wrapper {
  position: relative;
}

.login-shell .form-control {
  height: 56px;
  border-radius: 16px;
  border: 1px solid #d8e2ed;
  background: #f8fbfd;
  padding: 14px 46px 14px 16px;
  color: #172235;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.login-shell .form-control:focus {
  border-color: rgba(32, 139, 106, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32, 139, 106, 0.12);
}

.login-shell .clear-input {
  right: 14px;
  top: 17px;
}

.login-helper-text {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f3f8f6;
  color: #527067;
  font-size: 14px;
  line-height: 1.6;
}

.login-form-actions {
  margin-top: 4px;
}

.login-submit-button {
  height: 56px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(135deg, #208b6a, #1b74a0);
  box-shadow: 0 18px 32px rgba(32, 139, 106, 0.22);
  font-weight: 700;
  font-size: 16px;
}

.login-submit-button:hover,
.login-submit-button:focus {
  background: linear-gradient(135deg, #1c7c5f, #186486);
}

.login-submit-button.is-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0.92;
}

.login-button-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  animation: login-button-spin .7s linear infinite;
}

@keyframes login-button-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 900px) {
  .login-surface {
    grid-template-columns: 1fr;
  }

  .login-brand-panel,
  .login-form-panel {
    padding: 28px 22px;
  }

  .login-title {
    font-size: 32px;
  }
}

@media only screen and (max-width: 480px) {
  .login-shell {
    padding: 16px 12px 32px;
  }

  .login-stage {
    min-height: 100vh;
  }

  .login-surface {
    border-radius: 22px;
  }

  .login-brand-panel,
  .login-form-panel {
    padding: 24px 18px;
  }

  .login-brand-mark {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    margin: 22px 0 18px;
  }

  .login-brand-mark img {
    width: 48px;
    height: 48px;
  }

  .login-title {
    font-size: 28px;
  }

  .login-form-head h2 {
    font-size: 24px;
  }
}

.login-minimal-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.login-minimal-card {
  width: 100%;
  max-width: 440px;
  padding: 36px 32px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(18, 38, 63, 0.14);
  border: 1px solid rgba(182, 198, 219, 0.34);
  backdrop-filter: blur(10px);
}

.login-minimal-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  text-align: center;
}

.login-minimal-logo {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef8f3, #eaf2fb);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.login-minimal-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.login-minimal-label {
  color: #1b2a41;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.login-minimal-form {
  display: grid;
  gap: 18px;
}

.login-minimal-actions {
  margin-top: 6px;
}

.login-minimal-actions .btn {
  width: 100%;
}

.login-minimal-form .label {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #304057;
}

.login-minimal-form .input-wrapper {
  position: relative;
}

.login-minimal-form .form-control {
  height: 56px;
  border-radius: 16px;
  border: 1px solid #d6e1ec;
  background: #f7fafc;
  padding: 14px 46px 14px 16px;
  color: #172235;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.login-minimal-form .form-control:focus {
  border-color: rgba(32, 139, 106, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32, 139, 106, 0.12);
}

.login-minimal-form .clear-input {
  right: 14px;
  top: 17px;
}

.home-summary-item {
  flex: 0 0 20%;
  max-width: 20%;
}

@media only screen and (max-width: 767px) {
  .home-summary-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .load-home .home-summary-item:nth-last-child(1),
  .load-home .home-summary-item:nth-last-child(2) {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  .login-minimal-stage {
    padding: 18px 12px;
  }

  .login-minimal-card {
    padding: 28px 20px 24px;
    border-radius: 24px;
  }

  .login-minimal-logo {
    width: 84px;
    height: 84px;
    border-radius: 24px;
  }

  .login-minimal-label {
    font-size: 22px;
  }
}
