* {
  scrollbar-width: thin;
  scrollbar-color: #eb7f1f #f0f0f0;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: #cb6d1b;
}
*::-webkit-scrollbar-track {
  background-color: #f0f0f0;
  border-radius: 10px;
}

@font-face {
  font-family: title-font;
  src: url(Poppins/Poppins-Bold.ttf);
}

@font-face {
  font-family: sub-title-font;
  src: url(Poppins/Poppins-Medium.ttf);
}

@font-face {
  font-family: body-font;
  src: url(Poppins/Poppins-Regular.ttf);
}

:root {
  --primary-color: #07418d;
  --secondary-color: #f7a025;
  --body-color: #000;
  --sub-body-color: #444;
  --sub-body-color2: #383838;
  --text-color: #7c7c7c;
  --text-color2: #2daae1;
  --link-color: #328ab3;
  --body-bg-color: #f8f8f8;
  --bg-color: #eeeeee;
  --sub-white-color: #eeeeee;
  --white-color: #fff;
  --close-color: #f00;
  --active-color: #090;
  --active-color2: #98cd99;
  --sub-text-color: #d7353a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: title-font;
  margin: 0px;
  padding: 0px;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: body-font;
  font-size: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}
p {
  margin: 0px;
  padding: 0px;
}

/*------text field--------------------------------------------------------------------------------------------*/
.text_field_title {
  font-size: 12px;
  font-family: sub-title-font;
  color: var(--sub-body-color);
  margin-bottom: -10px;
  margin-top: 10px;
}

.text_field_container {
  position: relative;
  min-height: 60px;
}

.text_field_container .placeholder {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  left: 30px;
  color: #999;
  pointer-events: none;
  background: transparent;
  z-index: 100;
  min-height: calc(100% - 30px);
  width: calc(80% - 30px);
  -moz-transition: all 0.2s ease-in 02s;
  transition: all 0.2s ease-in 0.2s;
  -webkit-transition: all 0.2s ease-in 0.2s;
  -ms-transition: all 0.2s ease-in 0.2s;
  -o-transition: all 0.2s ease-in 0.2s;
}

.text_field_container .text_field {
  min-width: 100%;
  width: calc(100% - 60px);
  min-height: 60px;
  border: #e2e2e2 1px solid;
  background: var(--white-color);
  padding: 0px 30px;
  font-size: 15px;
  border-radius: 5px;
  font-family: body-font;
  box-sizing: border-box;
  color: #1e1e1e;
  -webkit-text-fill-color: #1e1e1e;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none !important;
}

.text_field_container .select_text_field {
  width: 100%;
}

.text_field_container:has(.select_text_field) {
  min-height: unset;
  height: 60px;
}

.text_field_container .text_field:focus {
  background: #fff;
  border: #f1c40f 1px solid;
}

.text_field_container .issue {
  background: #fff;
  border: #f00 1px solid;
}

.text_field_container .issueText {
  margin-top: 1px;
  color: #f00;
  font-family: body-font;
  font-size: 10px;
  font-style: italic;
}

.text_field_container .text_field:focus + .placeholder,
.text_field_container .text_field:not(:placeholder-shown) + .placeholder {
  min-height: auto;
  top: 20%;
  font-size: 11px;
  background: none;
}

.text_field_container .searchPanel {
  height: auto;
  overflow: auto;
  background: #fff;
  border: #ccc 1px solid;
  position: relative;
  z-index: 1000;
  border-radius: 5px;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.text_field_container .searchPanel .searchTxt {
  min-width: calc(100% - 20px);
  height: 40px;
  border: none;
  border-bottom: #e2e2e2 1px solid;
  background: #f8f8f8;
  padding: 0px 10px;
  font-size: 12px;
  box-sizing: border-box;
  font-family: body-font;
  color: #1e1e1e;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none !important;
  -moz-transition: all 0.2s ease-in 02s;
  transition: all 0.2s ease-in 0.2s;
  -webkit-transition: all 0.2s ease-in 0.2s;
  -ms-transition: all 0.2s ease-in 0.2s;
  -o-transition: all 0.2s ease-in 0.2s;
}

.text_field_container .searchPanel ul {
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 50px;
  max-height: 250px;
  overflow: auto;
}

.text_field_container .searchPanel ul li {
  list-style: none;
  padding: 20px;
  min-height: 10px;
  line-height: 10px;
  cursor: pointer;
  background: rgba(156, 156, 156, 0.1);
  transition: all 0.2s ease-in 0.2s;
  color: #444;
}

.text_field_container .searchPanel ul li:hover {
  color: var(--primary-color);
  padding-left: 30px;
}

/*--------------------------------------------------------------------------------------------------*/
#get-more-div {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px) brightness(0.8) contrast(1.2);
  -webkit-backdrop-filter: blur(10px) brightness(0.8) contrast(1.2);
  z-index: 900;
  display: none;
}

#get-form-more-div {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px) brightness(0.8) contrast(1.2);
  -webkit-backdrop-filter: blur(10px) brightness(0.8) contrast(1.2);
  z-index: 900;
  display: none;
}

#get-more-div-secondary {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  z-index: 950;
  display: none;
}

#get-more-third-layer {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
}

.alert-loading-div {
  min-height: 50px;
  padding: 0px 20px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  background: rgba(0, 106, 53, 0.2);
  border: rgba(0, 106, 53, 1) 1px solid;
  border-radius: 5px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.ajax-loader {
  position: absolute;
  width: 75px;
  height: 75px;
  border-radius: 10px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  z-index: 700;
}

.ajax-loader img {
  width: 100%;
  object-fit: cover;
}

/*----click acion alert----------------------------------------------------------------------------------------------*/
.all-alert-back-div {
  position: fixed;
  z-index: 2000;
  height: 1px;
  top: 0px;
  width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}

.all-alert-back-div .success-alert-div,
.all-alert-back-div .failed-alert-div {
  margin-top: 100px;
  min-height: 50px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  background: #006a35;
  border-radius: 5px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.all-alert-back-div .success-alert-div .icon,
.all-alert-back-div .failed-alert-div .icon {
  width: 50px;
  border-radius: 5px 0px 0px 5px;
  background: #00ca65;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}

.all-alert-back-div .success-alert-div .text,
.all-alert-back-div .failed-alert-div .text {
  width: calc(100% - 70px);
  padding-right: 10px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sub-title-font;
}

.all-alert-back-div .failed-alert-div {
  background: #6a0000;
}

.all-alert-back-div .failed-alert-div .icon {
  background: #ca0000;
}

.all-alert-back-div .failed-alert-div .text {
  color: #fff;
}

/*-------form alert div-------------------------------------------------------------------------------------------*/
.alert {
  width: calc(100% - 42px);
  border: rgba(231, 107, 46, 0.4) 1px solid;
  background: rgba(231, 107, 46, 0.05);
  padding: 10px 20px 10px 20px;
  font-size: 12px;
  line-height: 18px;
  color: #7f8c8d;
  margin: 20px auto;
  border-radius: 5px;
  font-family: body-font;
  color: var(--text-color);
}

.alert span {
  color: #3498db;
  cursor: pointer;
  font-size: 12px;
  font-family: sub-title-font;
}

.alert span i {
  font-size: 10px;
}

@media all and (max-width: 450px) {
  .alert span {
    font-size: 11px;
  }
}

.alert .alert-list-div {
  width: calc(100% - 10px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 0px;
}

.alert .alert-list-div .alert-list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 5px 0px;
  border-bottom: #b6b6b6 1px dashed;
  font-size: 11px;
}

.alert .alert-list-div .alert-list span {
  font-family: body-font;
  font-size: 12px;
}

.alert .alert-details {
  font-family: body-font;
  font-size: 13px;
  line-height: 25px;
}

@media all and (max-width: 470px) {
  .alert .alert-list-div .alert-list span {
    font-size: 12px;
  }
  .alert .alert-list-div .alert-list {
    font-size: 12px;
  }
}

.alert .alert-title {
  color: #3498db;
  font-size: 13px;
  margin-bottom: 10px;
}

.alert-success {
  border: rgba(46, 204, 113, 0.4) 1px solid;
  background: rgba(46, 204, 113, 0.05);
}

.alert-failed {
  border: rgba(231, 76, 60, 0.4) 1px solid;
  background: rgba(231, 76, 60, 0.05);
}

.alert .btn-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert .btn-container .btn {
  height: 28px;
  padding: 0px 15px;
  border: none;
  border-radius: 4px;
  background: #2daae1;
  color: var(--white-color);
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: sub-title-font;
  transition: all ease 0.2s;
  -webkit-transition: all ease 0.2s;
  -ms-transition: all ease 0.2s;
  -o-transition: all ease 0.2s;
  -moz-transition: all ease 0.2s;
}

.alert .btn-container .btn i {
  font-size: 10px;
}

.alert .btn-container .btn:hover {
  background: #444;
}

.false-notification-div {
  padding: 50px;
  width: calc(100% - 100px);
  background: #f8f8f8;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary-color);
}

.false-notification-div .btn {
  border: none;
  min-width: 100%;
  height: 45px;
  font-family: sub-title-font;
  font-size: 12px;
  padding: 0px 15px;
  border-radius: 5px;
  background: var(--sub-body-color);
  color: var(--white-color);
  cursor: pointer;
  transition: all 0.2s ease-in 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.false-notification-div .btn i {
  font-size: 12px;
}

.false-notification-div .btn:hover {
  background: var(--secondary-color);
}

.false-notification-div p {
  padding: 0px;
  margin: 0px;
  font-size: 14px;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes moveUpDown {
  0% {
    top: -100px; /* Start position */
    opacity: 1;
  }
  50% {
    top: -90px; /* Move to this position (subtle movement) */
  }
  100% {
    top: -100px; /* Return to start position */
    opacity: 1;
  }
}

.successful-div {
  min-height: 300px;
  width: 400px;
  min-width: 350px;
  background: var(--white-color);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.successful-div .success-in {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.successful-div .success-in .gif {
  width: 90px;
  height: 90px;
  overflow: hidden;
}

.successful-div .success-in .gif img {
  width: 100%;
  object-fit: cover;
}

.successful-div .success-in h3 {
  color: var(--sub-body-color);
  font-size: 18px;
  margin: 0px;
  padding: 0px;
  font-family: sub-title-font;
  text-align: center;
}

.successful-div .success-in .btn {
  width: 100%;
  height: 45px;
  background: var(--sub-body-color);
  color: var(--white-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
  font-family: body-font;
  transition: all 0.2s ease-in 0.2s;
}

.successful-div .success-in .btn:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}

@media all and (max-width: 450px) {
  .successful-div {
    width: 94%;
    min-width: 200px;
  }
  .successful-div .success-in {
    padding: 20px;
  }
  .successful-div .success-in h3 {
    font-size: 15px;
  }
}

.webcam-div {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2000;
  display: none;
}

.webcam-div .div-in {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.webcam-div .webcam-div-in {
  width: 270px;
  min-height: 270px;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.webcam-div .webcam-div-in .btn {
  border: none;
  height: 45px;
  min-width: 150px;
  padding: 0px 20px;
  font-family: sub-title-font;
  background: var(--primary-color);
  color: var(--white-color);
  cursor: pointer;
  transition: all 0.2s ease-in 0.2s;
  border-radius: 5px;
}

.webcam-div .webcam-div-in .btn:hover {
  background: var(--secondary-color);
}

.content-loading-div {
  width: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-loading-div img {
  width: 50px;
  height: 50px;
}

/* Modal Layout */ /* /////////////////////////////////////////////////////////////////////////////////////////////////////// */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px) brightness(0.8) contrast(1.2);
  -webkit-backdrop-filter: blur(5px) brightness(0.8) contrast(1.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-overlay .modal-box {
  width: calc(90% - 80px);
  max-width: 400px;
  background: var(--white-color);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  position: relative;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}
.modal-overlay .modal-box .modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: var(--white-color);
}
.modal-overlay .modal-box .bg-warning {
  background-color: var(--secondary-color);
}
.modal-overlay .modal-box .bg-success {
  background-color: var(--active-color);
}
.modal-overlay .modal-box .bg-danger {
  background-color: var(--close-color);
}
.modal-overlay .modal-box .bg-info {
  background-color: var(--link-color);
}
.modal-overlay .modal-box h3 {
  padding: 0px;
  margin: 0px;
  font-size: 25px;
  font-family: sub-title-font;
  color: var(--sub-body-color2);
}
.modal-overlay .modal-box p {
  padding: 0px;
  margin: 0px;
  font-size: 14px;
  color: var(--text-color);
  font-family: body-font;
}
.modal-overlay .modal-box .btn-div {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.modal-overlay .modal-box .btn-div .btn {
  border: none;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 30px;
  font-family: sub-title-font;
  font-size: 18px;
  color: var(--white-color);
  background: linear-gradient(
    90deg,
    var(--primary-color),
    #07418dce
  );
  background-size: 100%;
  background-position: left;
  transition: background-position 0.4s ease-in-out, transform 0.2s ease-in-out;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1);
}
.modal-overlay .modal-box .btn-div .btn:hover {
  background-size: 200% 100%;
  background-position: right;
  transform: scale(1.05); /* subtle hover grow */
}
.modal-overlay .modal-box .btn-div .false-btn {
  background: linear-gradient(90deg, #faf5e5, #fff);
  color: var(--body-color);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

@media all and (max-width: 400px) {
  .modal-overlay .modal-box .btn-div {
    flex-direction: column;
  }
  .modal-overlay .modal-box .btn-div .btn {
    width: 100%;
  }
}
