:root {
  --primary: #0a529d;
  --text-drk: #1e293b;
  --text-gray: #595959;
  --bg-light-gray: #fafbfd;
  --bg-light-blue: #ecf5ff;
  --p-color: #4b5462;
  --text-light-gray: #8e949d;
  --gray: #cccccc;
  --text-lit: #a6a9ae;
  --text-gray-shade: #a2a7af;
  --text-dark-gray: #404040;
  --light-green: #61c57d;
  --blue: #0a529d;
  --bs-btn-hover-border-color: #0a529d;
  --bs-btn-hover-bg: #0a529d;
  /*  */
}
/* Font Size */
.font-10 {
  font-size: 10px;
}

.font-12 {
  font-size: 12px;
}

.font-14 {
  font-size: 14px !important;
}

.font-16 {
  font-size: 16px;
}

.font-18 {
  font-size: 18px;
}

.font-20 {
  font-size: 20px;
}

.font-22 {
  font-size: 22px;
}

.font-23 {
  font-size: 23px;
}

.font-26 {
  font-size: 26px;
}

.font-28 {
  font-size: 28px;
}
.font-24 {
  font-size: 24px;
  line-height: 34px;
}
.font-34 {
  font-size: 34px;
}

/* Font Weight */

.font-hsm {
  font-weight: 600;
}

.text-drk {
  color: var(--text-drk);
}

.text-gray {
  color: var(--text-gray);
}

.text-primary {
  color: var(--text-primary);
}

.text-light-gray {
  color: var(--text-light-gray);
}

.text-lit {
  color: var(--text-lit);
}

.text-gray-shade {
  color: var(--text-gray-shade);
}

.dropzone {
  border: 1.5px dashed #206ac42c !important;
}

.border-radius-10 {
  border-radius: 10px;
}

.border-radius-6 {
  border-radius: 6px;
}

.border-radius-4 {
  border-radius: 4px !important;
}

.fw-medium {
  font-weight: 500;
}

.bg-light-gray {
  background-color: var(--bg-light-gray);
}

.bg-light-blue {
  background-color: var(--bg-light-blue);
}

.sign-up-progress .progress {
  height: 8px;
}

p {
  font-size: 14px;
  color: var(--p-color);
}

/* .steper_items li a{
    color: var(--p-color) !important; 
} */
.btn:hover {
  background-color: #0a529d;
  border-color: #0a529d;
}
.btn-outline-primary:hover img {
  filter: invert(100%) sepia(50%) saturate(766%) hue-rotate(0deg)
    brightness(100%) contrast(115%);
}
.right-7 {
  right: -7px;
}

.top-8 {
  top: -8px;
}

.border-dark {
  border: 1px solid #000;
}

.bg-gray {
  background-color: var(--gray);
}

.btn-sm {
  height: auto !important;
}

.btn-outline-default {
  border: 1px solid #e5ebf5;
  background-color: #fff;
  color: #0a529d;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 8px;
  height: 38px;
  font-weight: 500;
}

.btn-outline-default:hover {
  background-color: #e4efff;
  border: 1px solid #e5ebf5;
  color: #0a529d;
}

::placeholder {
  color: #bdbdbd !important;
  opacity: 1;
  font-weight: 300;
  font-size: 14px;
}

:-ms-input-placeholder {
  color: #bdbdbd !important;
  font-weight: 300;
}

::-ms-input-placeholder {
  color: #bdbdbd !important;
  font-weight: 300;
}

.image_item {
  position: relative;
}

.form-control {
  background-color: #fff !important;
  border-radius: 6px !important;
  border: 1px solid #d3d3d3 !important;
  height: 38px !important;
  /* box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05) !important; */
}
.form-control:read-only {
  background-color: #edf2fc !important;
}

.form-select {
  background-color: #fff !important;
  border-radius: 6px !important;
  border: 1px solid #d3d3d3 !important;
  height: 38px !important;
  /* box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05) !important; */
}

.instructions li {
  color: #595959 !important;
}

.btn-primary:disabled {
  background: #bbc6d7 !important;
  border: 1px solid #a8bfdf !important;
  /* border-radius: 4px !important;
    height: 44px !important; */
}

.btn-sm {
  height: 30px !important;
  line-height: 15px !important;
  padding: 3px 8px;
}

.btn-md {
  height: 33px !important;
  line-height: 16px !important;
}

.top--40 {
  top: -40px;
}

.top--30 {
  top: -18px;
}
.left-50 {
  left: 50%;
  transform: translateX(-50%);
}
.bg-light-green {
  background-color: var(--light-green);
}

.border-radius-30 {
  border-radius: 30px !important;
}

.mt--30 {
  margin-top: -18px !important;
}

.text-blue {
  color: #0a529d;
}

.border-bottom-blue {
  border-bottom: 1px solid #d5dfff;
}

.main-service ul {
  list-style-type: none;
}

.main-service li:before {
  content: "";
  float: left;
  margin-top: 0.4em;
  margin-left: -2em;
  color: #0074d9;
  background: url(../img/check.svg) no-repeat 0% 0%;
  width: 24px;
  height: 24px;
}
.border-color-blue {
  border-color: #d5dfff !important;
}
.main-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-services ul li label.form-check {
  padding-left: 0;
  margin-bottom: 5px;
}
.main-services ul li .form-check-label {
  padding-left: 22px;
  position: relative;
}
.main-services ul li .form-check-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: url(../img/plus-icon.svg) no-repeat 0% 20%;
}
.main-services
  ul
  li
  input[type="checkbox"]:checked
  + .form-check-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: url(../img/check.svg) no-repeat 0% 20%;
}
.main-services ul li input[type="checkbox"] {
  display: none;
}
.form-check-input:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}
.terms_content ol {
  counter-reset: item;
}
.terms_content li {
  display: block;
  margin: 8px 0;
}
.terms_content li:before {
  content: counters(item, ".") ". ";
  counter-increment: item;
}

.preview-form {
  font-family: Arial, sans-serif !important;
  font-size: 13px;
  width: 210mm;
  background: #fdfcfc;
  margin: 0 auto;
}

.preview-form {
    padding: 10px;
}

.preview-form table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.preview-form th, .preview-form td {
    padding: 8px 5px;
    vertical-align: top;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;

}


.preview-form .header {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.preview-form .section-title {
    background: #ccc;
    font-weight: bold;
    padding: 5px;
    margin-bottom: 10px;
}

.preview-form .checkbox {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid #000;
    text-align: center;
}

.preview-form .text-end {
    text-align: right;
}

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

.preview-form .value_put {
    color: #0A529D;
    font-weight: bold;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
}

.preview-form small {
    font-size: 11px;
    font-weight: normal;
}

.preview-form .text-muted {
    color: #9a9a9a;
}

.preview-form p {
    margin: 0;
}

.section-title {
  page-break-inside: avoid;
  width: 100%;
}

#pdfContent {
  max-width: 190mm; /* For example, leaving a bit of breathing room */
  margin: 0 auto;
}


.container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; 
}
.column {
  flex: 1 1 30%; 
  box-sizing: border-box;
}

.preview-form {
  .avoid-page-break {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  /* Ensure tables do not break across pages */
 tr, td, th, li {
    page-break-inside: avoid;
     break-inside: avoid;
  }
}

.contact-center {
  display: flex;
  flex-direction: row;
  gap: 20px;
  position: fixed;
  bottom: 20px;
  left: 73px;
  z-index: 1000;
  align-items: flex-end;
}
.contact-center-icon {
  width: 70px;
}
.contact-center-icon img {
  width: 100%;
  height: auto;
}
.contact-center-label {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: max-content;
}
.contact-center-label p {
  font-size: 10px;
  color: #8e949d;
  margin: 0;
}
.contact-center-label h2 {
  font-size: calc(1.325rem + 0.9vw);
  font-size: 21px;
  font-weight: 700;
  margin: 6px 0 0 0;
  letter-spacing: -0.51px;
}
.contact-center-label h2 a {
  color: var(--text-drk);
  transition: all 0.3s ease-in-out;
}
.contact-center-label h2 a:hover {
  color: var(--primary);
  color: #ff6878;
}
.contact-center-label h3 {
  font-size: calc(1.3rem + 0.6vw);
  font-size: 16px;
  margin: 0;
  color: #5b5b5b;
}
.right_sidebar {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-around;
}

/* intl-tel-input */
.iti {
  width: 100%;
}

.iti__country-list {
  z-index: 1001;
}

.iti--allow-dropdown .iti__flag-container, .iti--separate-dial-code .iti__flag-container {
    height: 38px !important;
}

.iti__input {
    height: 38px !important;
    border-radius: 6px !important;
    border: 1px solid #d3d3d3 !important;
}

#camera-preview video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;     /* Covers entire area, may crop edges */
  object-position: center; /* Critical: centers the video frame */
  transform: none !important; /* Prevent unexpected flips */
}

.face-guide-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 320px;
  border: 2px dashed rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

/* .camera-display-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  margin: 0 auto;
  max-width: 360px;
} */


.flash-effect {
  animation: flash 0.3s;
}

@keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

.camera-display-wrapper {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  border-radius: 5px;

}

#camera-preview {
  /* Ensure the video fills the wrapper but is centered */
  min-width: 100%;
  min-height: 100%;
  object-fit: cover; /* Maintain aspect ratio, cover the container */
  object-position: center; /* Center the video feed */
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translate(-50%, -50%); /* Center the video precisely */
}

.face-guide-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the oval */
  width: 200px; /* Adjust size based on your needs */
  height: 280px; /* Oval shape, taller than wide for face */
  border: 2px solid #00ff00; /* Green border for visibility */
  border-radius: 50%; /* Creates the oval shape */
  background: transparent;
  pointer-events: none; /* Allow clicks to pass through */
  z-index: 10; /* Ensure it appears above the video */
}

.flash-effect {
  animation: flash 0.2s ease;
}

@keyframes flash {
  0% { background: #fff; }
  100% { background: none; }
}

/* Ensure modal dialog is responsive */


@media (max-width: 576px) {
  .camera-display-wrapper {
    height: 300px; /* Adjust height for smaller screens */
  }
  .face-guide-overlay {
    width: 160px; /* Smaller oval for mobile */
    height: 224px;
  }
}

/* Hide number input arrows */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.form-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  /* backdrop-filter: blur(5px); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998;
}
