

.upload-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-circle svg {
  transform: rotate(-90deg);
}

.progress-circle circle {
  fill: none;
  stroke-width: 10;
}

.progress-circle .bg {
  stroke: #e6e6e6;
}

.progress-circle .progress {
  stroke: #0d6efd;
  stroke-linecap: round;
  stroke-dasharray: 339.29;
  stroke-dashoffset: 339.29;
  transition: stroke-dashoffset .3s;
}

.percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}



select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}


.id-upload-wrapper {
  display: flex;
  gap: 20px;
}

.id-upload {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  width: 250px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.id-upload:hover {
  border-color: #0B4D44;
  background: rgb(207, 232, 216);
}
.id-upload-active {
  border-color: #0B4D44;
  background: rgb(207, 232, 216);
   border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  width: 250px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.id-upload .icon svg {
  width: 48px;
  height: 48px;
  stroke: #0B4D44;
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 10px;
}

.id-upload span {
  display: block;
  font-size: 14px;
  color: #333;
}


.btn {
	border-radius: 11988px;
}

.myBox {
	
	border-radius: 48px;
	padding:20px;
	box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
	
}

	.checkmark__circle {
  stroke-dasharray: 66;
  stroke-dashoffset: 66;
  stroke-width: 2;
  stroke-miterlimit: 10;
  margin-bottom:20px;
  stroke: #066b5b;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #066b5b;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #066b5b;
  }
}


.hidden {
		display:none;
		}
		
		 .notactive {
        pointer-events: none;
        cursor: default;
		background:#ccc;
		border:none;
    }
		#qr-reader {
    padding: 20px !important;
    border: 1.5px solid #b2b2b2 !important;
    border-radius: 8px;
}

#qr-reader img[alt="Info icon"] {
    display: none;
}

#qr-reader img[alt="Camera based scan"] {
    width: 100px !important;
    height: 100px !important;
}

button {
    padding: 10px 20px;
    border: 1px solid #b2b2b2;
    outline: none;
    border-radius: 0.25em;
    color: white;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 10px;
    background-color: #008000ad;
    transition: 0.3s background-color;
}

button:hover {
    background-color: #008000;
}

#html5-qrcode-anchor-scan-type-change {
    text-decoration: none !important;
    color: #1d9bf0;
}

video {
    width: 100% !important;
    border: 1px solid #b2b2b2 !important;
    border-radius: 0.25em;
}


.custom-file-upload {
    display: inline-block;
    padding: 8px;
	font-size:14px;
    background: #0a3622;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}
.custom-file-upload-2 {
    display: inline-block;
    padding: 8px;
	font-size:14px;
    background: #67b65f;
    color: #0a3622;
    border-radius: 6px;
    cursor: pointer;
}
.custom-file-upload-2:hover {
  
    background: #0a3622;
    color: #67b65f;
   
}

.custom-file-upload input[type="file"] {
    display: none; /* hides the ugly default file input */
}

.fileName {
    margin-left: 10px;
    font-size: 14px;
}






/* --- Pace progress bar --- */
.pace .pace-progress {
    background: #d9ad28;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    height: 4px;
    transition: width 0.2s ease;
}

/* hide bar when inactive */
.pace.pace-inactive .pace-progress {
    display: none;
}

/* --- Spinner overlay --- */
.pace {
    pointer-events: none;
}

.pace .pace-activity {
    position: fixed;
    z-index: 99998;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(0,0,0,0.15);
    border-top-color: #0d6efd;
    border-radius: 100%;
    animation: spin 0.6s linear infinite;
}

/* hide spinner when inactive */
.pace.pace-inactive .pace-activity {
    display: none;
}

/* spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




/* --- Custom Tooltip --- */
[data-tip] {
  position: relative;
  cursor: pointer;
}

/* Tooltip bubble */
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 6px 10px;
  font-size: 10px;
  font-weight:50;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

/* Tooltip arrow */
[data-tip]::before {
  content: "";
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

/* Show tooltip on hover */
[data-tip]:hover::after,
[data-tip]:hover::before {
  opacity: 1;
}


.loan-progress {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-left: 20px;
}

.step {
  display: flex;
  align-items: center;
  position: relative;
  padding: 10px 0 10px 40px;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 10px; /* aligns with icon center */
  top: 30px;
  width: 2px;
  height: calc(100% - 20px);
  background: #163730;
}

.step .icon {
  position: absolute;
  left: 0;
  font-size: 25px;
}

.step.done .icon {
  color: #163730;
}

.step.pending .icon {
  color: #939595;
}

.step.done .text {
  color: #163730;
}

.step.pending .text {
  color: #939595;
}


.step.rejected .icon {
  color: #f54d4d;
}



.step.rejected .text {
  color: #f54d4d;
}







