@font-face {
  font-family: 'icomoon';
  src:  url("../fonts/icomoon.15e65e9a22ec.eot?r6nh23");
  src:  url("../fonts/icomoon.15e65e9a22ec.eot?r6nh23#iefix") format('embedded-opentype'),
    url("../fonts/icomoon.b084764c701f.ttf?r6nh23") format('truetype'),
    url("../fonts/icomoon.6b076e8d7454.woff?r6nh23") format('woff'),
    url("../fonts/icomoon.a8131c5f8f08.svg?r6nh23#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-chevron-right:before {
  content: "\e90f";
}
.icon-chevron-left:before {
  content: "\e90e";
}
.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: 56px;
  height: 56px;
  border: 1px solid var(--gray-1);
  border-radius: 8px;
  padding: 17px 20px;
  width: 100%;
}

textarea {
  min-height: 120px;
  height: auto;
  resize: none;
  border: 1px solid 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%;
  text-transform: capitalize;
}

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

h2 {
  text-transform: capitalize;
  text-align: center;
}

p {
  margin: 0 0 15px;
}

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

.btn {
  cursor: pointer;
  display: inline-flex;
  vertical-align: middle;
  padding: 8px 16px;
  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: 120px;
}

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

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

.main {
  flex: 1;
  position: relative;
  padding: 30px 0;

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

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

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

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

.nav .menu li {
  @media (max-width: 1023px) {
    flex: 1;
  }
}

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

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

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

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

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

.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-xs,
table td.col-xs {
  width: 20px;
  text-align: center;
}

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

table .btn-holder {
  white-space: nowrap;
}

table .btn-holder .btn {
  white-space: initial;
}

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

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

.upload-section .btn {
  margin-bottom: 15px;
}

.upload-section .subtitle {
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.upload-form {
  position: relative;
}

.upload-form input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.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: 14px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  border: 1px solid #fff;
  padding: 8px 16px;
  transition: .3s opacity, .3s visibility;
  text-align: center;
}

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

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

.subtext {
  font-size: 14px;
  margin: 0;
  padding-top: 5px;
}

.date-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.date-switcher a {
  font-size: 22px;
}

.suptext {
  color: red;
  font-size: 24px;
}

.comment-holder {
  margin-bottom: 30px;
}

.comment-holder .btn {
  border: 1px solid var(--primary);
  background-color: #fff;
  color: var(--primary);
  min-width: 0;
  font-size: 14px;
  padding: 4px 8px;
}

.comment-holder .label-holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.btn-submit {
  margin-bottom: 30px;
}