@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?pp8t0s');
  src:  url('../fonts/icomoon.eot?pp8t0s#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?pp8t0s') format('truetype'),
    url('../fonts/icomoon.woff?pp8t0s') format('woff'),
    url('../fonts/icomoon.svg?pp8t0s#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-search:before {
  content: "\e90c";
}
.icon-help-circle:before {
  content: "\e909";
}
.icon-copy:before {
  content: "\e90d";
}
.icon-certificate:before,
.icon-certificate_of_residence::before {
  content: "\e90b";
}
.icon-upload:before,
.icon-rental_contract::before {
  content: "\e901";
}
.icon-account:before {
  content: "\e900";
}
.icon-profile:before {
  content: "\e902";
}
.icon-address:before {
  content: "\e903";
}
.icon-picture:before {
  content: "\e904";
}
.icon-upload1:before {
  content: "\e905";
}
.icon-back:before {
  content: "\e906";
}
.icon-settings:before {
  content: "\e907";
}
.icon-bill:before,
.icon-utility_bill:before {
  content: "\e908";
}
.icon-cancel:before {
  content: "\e90a";
}

:root {
  --bgColor: #FEFEFE;
  --gray-1: #404040;
  --gray-2: #9999A3;
  --primary: #436ADD;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bgColor);
  color: var(--gray-1);
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;

  @media (max-width: 1023px) {
    overflow: hidden;
  }
}

#app {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: color .3s;
}

a:hover {
  text-decoration: none;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  font-family: "Poppins", sans-serif !important;
  min-height: 50px;
  height: 50px;
  border: 1px solid var(--gray-1);
  border-radius: 8px;
  padding: 17px 20px;
  width: 100%;
}

textarea {
  min-height: 100px;
  height: auto;
  resize: none;
}

input:read-only {
  background-color: #F8F8F8;
  border-color: var(--gray-2);
}

h1,h2,h3,h4,h5,h6 {
  margin: 0 0 20px;
  font-weight: 500;
}

h1,
.h1 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding: 0 35px;
  width: 100%;
}

h1 a,
.h1 a {
  color: inherit;
  font-size: 25px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

p {
  margin: 0 0 15px;
}

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

.btn {
  cursor: pointer;
  display: inline-flex;
  vertical-align: middle;
  padding: 14px 20px;
  border-radius: 8px;
  transition: .3s color, .3s border-color, .3s background-color;
  text-transform: capitalize;
  text-align: center;
  font-family: "Poppins", sans-serif;
  background-color: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  font-weight: 500;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.btn-link {
  background-color: transparent;
  color: var(--gray-1);
  border: none;
  min-width: 0;
}

.btn i {
  font-size: 30px;
}

.main {
  flex: 1;
  position: relative;

  @media (max-width: 1023px) {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 80px 0 110px;
  }
}

.login-main {
  padding: 20px 0;
}

.container {
  max-width: 860px;
  padding: 0 15px;
  width: 100%;
  margin: 0 auto;
}

.cta-holder {
  @media (max-width: 1023px) {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 2;
  }
}

.cta-block {
  background: linear-gradient(87.89deg, #6A43DD 1.5%, #BBCCFF 100.01%);
  color: #fff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  padding: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;

  @media (max-width: 1023px) {
    margin: 0;
  }
}

.cta-block h5 {
  font-size: 16px;
  margin: 0;
}

.cta-block .logo {
  flex-shrink: 0;
}

.cta-block:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 319px;
  height: 240px;
  background: url('../images/img-01.png') no-repeat center;
  background-size: contain;
  opacity: 0.15;
}

.accounting-section {
  padding: 30px 0;
}

.profile-section {
  padding: 30px 0;
}

.profile-section label {
  display: block;
  margin-bottom: 10px;
}

.profile-section select {
  padding: 7px 10px;
  margin-bottom: 10px;
}

.profile-section input {
  margin-bottom: 10px;
}

.profile-section .btn {
  width: 100%;
}

.cancel-btn {
  color: var(--gray-2);
}

.nav {
  position: relative;
  text-align: center;

  @media (max-width: 1023px) {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }
}

.nav .container {
  @media (max-width: 1023px) {
    max-width: 900px;
  }
}

.nav .btn {
  margin-bottom: 26px;
}

.nav .menu {
  background-color: var(--bgColor);
  padding: 20px 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;

  @media (max-width: 1023px) {
    border-top: 1px solid #EFEFF1;
    padding: 10px;
  }
}

.nav .menu a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-1);
}

.nav .menu .active a {
  color: var(--primary);
}

.nav .menu i {
  font-size: 30px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 50px;
}

.table-responsive table {
  margin: 0;
  min-width: 390px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #F2F2F2;
  margin-bottom: 50px;
}

table thead {
  background-color: #F3F6FF;
}

table th {
  font-weight: 500;
}

table th,
table td {
  padding: 8px 12px;
  text-align: left;
}

table th.col-sm,
table td.col-sm {
  width: 50px;
}

table th.col-md,
table td.col-md {
  width: 150px;
}

table .link-col {
  text-align: right;
  width: 150px;
}

table .link-col.in_progress {
  color: var(--gray-2);
}

table .link-col a {
  color: var(--primary);
}

table td.status-processed {
  color: #6FCB6C;
}

table td.status-uploaded {
  color: #CDC540;
}

table tr:not(:last-child) {
  border-bottom: 1px solid #F2F2F2;
}

table a {
  color: var(--primary);
}

.upload-drop-holder {
  text-align: center;
  margin-bottom: 20px;
  position: relative;

  @media (max-width: 1023px) {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
}

.upload-drop {
  padding: 0 25px;
  margin: 0 auto 15px;
  list-style: none;
  border-radius: 23px;
  border: 1px solid #F2F2F2;
  border-width: 1px 1px 0px 1px;
  box-shadow: 0px 32.13px 51.41px -12.85px #0000000F;
  display: none;
  width: 280px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;

  @media (max-width: 1023px) {
    position: static;
    transform: none;
  }
}

.upload-drop a,
.upload-drop .fake-label {
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #EFEFF1;
  color: inherit;
  cursor: pointer;
}

.upload-drop form input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: -1;
}

.upload-drop li:last-child a {
  border-bottom: none;
}

.upload-drop-holder.active .upload-drop {
  display: block;
}

.text-block {
  margin-bottom: 30px;
}

.text-block p {
  margin: 0;
}

.camera-block {
  padding: 20px 0;
}

.camera-block form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.camera-block select {
  border: none;
  padding: 0 35px;
  font-size: 20px;
  font-weight: 500;
  color: var(--gray-1);
  max-width: 300px;
}

.camera-block select:focus {
  outline: none;
}

.login-form {
  max-width: 500px;
  margin: 0 auto 20px;
}

.login-form label {
  display: block;
  margin-bottom: 10px;
}

.login-form input {
  margin-bottom: 20px;
}

.login-form button {
  width: 100%;
}

p a {
  color: var(--primary);
}

.upload-form {
  position: relative;
  color: var(--primary);
  margin-bottom: 15px;
}

.upload-form button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: transparent;
  border: none;
  font-size: 16px;
  color: var(--primary)
}

.img-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: #fff;
  border-radius: 16px;
  padding: 15px;
  font-size: 0;
  opacity: 0;
  visibility: hidden;
  transition: .3s transform, .3s opacity, .3s visibility;
  z-index: 20;
  text-align: center;
  max-height: 100%;
  overflow: auto;
  max-width: 800px;
  width: 100%;
}

.img-preview.shown {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
}

.img-preview-holder {
  cursor: pointer;
  position: relative;
  font-size: 0;
  max-width: 100px;
  overflow: hidden;
  border-radius: 4px;
}

.img-preview-holder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: .3s opacity, .3s visibility;
  pointer-events: none;
}

.img-preview-holder span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 16px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  border: 1px solid #fff;
  padding: 8px 16px;
  transition: .3s opacity, .3s visibility;
}

.img-preview-holder:hover::after {
  opacity: 1;
  visibility: visible;
}

.img-preview-holder:hover span {
  opacity: 1;
  visibility: visible;
}

#camera-container {
  max-width: 100%;
}

#camera {
  width: 90%;
  max-width: 700px;
  border-radius:8px;
}

#camera-container video,
#camera-container canvas {
  max-width: 100%;
}

.camera-block .btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.install-btn {
  text-align: center;
  display: none;
}

.install-btn.shown {
  display: block;
}

.install-btn .btn {
  padding: 7px 10px;
  min-width: 0;
  font-size: 14px;
  width: 100%;
  border-radius: 0;
}
.error-msg {
  color: #e74c3c;
  font-size: 14px;
  margin-bottom: 10px;
  background-color: #fdf2f2;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
}

.error-msg p {
  margin: 0;
}

.faq-section {
  padding: 30px 0;
}

.faq-section .open-close i {
  transition: .3s transform;
}

.faq-section .open-close[open] i {
  transform: rotate(-90deg);
}

.faq-section .open-close {
  margin-bottom: 20px;
}

.faq-section .open-close summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-section .open-close h2 {
  margin: 0;
}

.faq-section .open-close summary::-webkit-details-marker {
  display: none;
}

.faq-section .open-close .content {
  padding: 7px;
}

.search-form {
  display: flex;
  margin-bottom: 15px;
}

.search-form input {
  min-height: 45px;
  height: 45px;
  padding: 10px 15px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.search-form .btn {
  min-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 6px 20px;
}

.search-form .btn i {
  font-size: 20px;
}

.input-holder {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
}

.input-holder input {
  margin: 0;
}

.input-holder .btn {
  min-width: 0;
  width: auto;
}

.input-holder .btn i {
  font-size: 20px;
}