/* ------------------------------
   Import Fonts
------------------------------ */
/* devanagari */
@font-face {
  font-family: 'Anek Devanagari';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url(fonts/VyS7nP0CGrUsxB-QiRgw0NlLaVH8C3tQRw.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Anek Devanagari';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url(fonts/jVyS7nP0CGrUsxB-QiRgw0NlLaVH_y3tQRw.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Anek Devanagari';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url(fonts/jVyS7nP0CGrUsxB-QiRgw0NlLaVH8S3t.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------
   Reset and Base Styles
------------------------------ */
html, body {
    font-family: 'Anek Devanagari', sans-serif; /* Apply Devanagari font */
}

/* ------------------------------
   Reset and Base Styles
------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  overflow-y: auto;   /* Allow vertical scrolling */
}

body {
font-family: "Anek Devanagari", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #1f2029;
  background-color: #fff;
  background-image: url('../img/anim_bg.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}


/* p {
  font-family: "Anek Devanagari", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #1f2029;
}
*/
/* ------------------------------
   Layout and Structure
------------------------------ */
.container {
  flex: 1;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;

}


/* ------------------------------
   OTP Input Styles
------------------------------ */
.otp-input {
  display: flex;
  column-gap: 10px;
  margin: 10px 0;
  justify-content: center; /* Center the inputs horizontally */
}

.otp-input input {
  text-align: center;
  padding: 10px;
  border: 1px solid #adadad;
  border-radius: 4px;
  outline: none;
  width: 50px; /* Set a base width */
  font-size: 1.2rem;
  font-weight: bold;
  flex-grow: 1; /* Allow inputs to grow and fill available space */
}

.otp-input input:focus {
  border: 1px solid #497e76;
}

.otp-input input:focus::placeholder {
  color: transparent;
}

.otp-input input::-webkit-outer-spin-button,
.otp-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.otp-input input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
}

.totp_processing {
  position: relative;
  display: inline-block;
  font-size: 25px;
  color: #d4d4d4;

  &:before {
    content: attr(data-text);
    position: absolute;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    color: #72cc96;
    animation: fill-1 2s infinite;
  }
}
@keyframes fill-1 {
  50%   { width: 100%; }
  100%  { width: 0%;   }
}

/* Media Query for Smaller Screens */
@media (max-width: 600px) {
  .otp-input input {
    width: 100%; /* Make each input fill available space */
    padding: 8px; /* Adjust padding for smaller screens */
    font-size: 1rem; /* Adjust font size for smaller screens */
  }
}


/* ------------------------------
   Form Controls
------------------------------ */
.form-control {
  font-size: 12px !important;
}
.form-group {
    margin: 10px 0 0 0 !important;
}
.form__input {
  width: 100%;
  border: 0 solid transparent;
  border-radius: 0;
  border-bottom: 1px solid #aaa;
  padding: 1em 0.5em 0.5em;
  padding-left: 2em;
  outline: none;
  margin: 1.5em auto;
  transition: all 0.5s ease;
}

.form__input:focus {
  border-bottom-color: #263745;
  box-shadow: 0 5px 5px rgb(237, 243, 248);
  border-radius: 4px;
}

/* ------------------------------
   Buttons
------------------------------ */
.btn {
  transition: all 0.5s ease;
  width: 70%;
  border-radius: 30px;
  color: #263745;
  font-weight: 600;
  background-color: #fff;
  border: 1px solid #263745;
  margin-top: 1.5em;
  margin-bottom: 1em;
}

.btn:hover,
.btn:focus {
  background-color: #6cb4e6;
  color: #263745;
}
.btn-aeu {
  border-radius: 3px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  color: #6c757d;
  font-size: 12px;
  height: 39px;
  margin: 0 0 10px 10px;
  min-width: 40px;
  /*padding: 15px 5px;*/
  position: relative;
  text-align: center;
}
/* ------------------------------
   Footer
------------------------------ */
.footer {
  background-color: #edf3f882;
  padding: 1em;
  text-align: center;
  border-top: 1px solid #edf3f8;
  position: fixed;
  bottom: 0px;
  width: 100%;
}

/* ------------------------------
   Overlay Styles
------------------------------ */
.overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  cursor: pointer;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 20px;
}

/* ------------------------------
   Main Content Layout
------------------------------ */
.main-content {
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 1px 5px rgb(105, 180, 234);
  margin: 5em auto;
  display: flex;
  flex-direction: row;
}

.company__info {
  background-color: #edf3f8;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.fa-android {
  font-size: 3em;
}

/* ------------------------------
   Media Queries
------------------------------ */
@media screen and (max-width: 640px) {
  .main-content {
max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 1px 5px rgb(105, 180, 234);
  margin: 5em auto;
  display: flex;
    flex-direction: column;
  }

  .company__info {
    border-radius: 20px 20px 0 0;
    display: flex;
  }

  .login_form {
    border-top-left-radius: 0;
    border-bottom-left-radius: 20px !important;
    border-top-right-radius: 0px !important;
    border-radius: 0 0 20px 20px;
  }
}

@media screen and (min-width: 642px) and (max-width: 800px) {
  .main-content {
    width: 70%;
  }
}

/* ------------------------------
   Row Styles
------------------------------ */
.row > h2 {
  color: #edf3f8;
}

/* ------------------------------
   Login Form Styles
------------------------------ */
.login_form {
  background-color: #fff;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top: 1px solid #edf3f8;
  border-right: 1px solid #edf3f8;
}

/* ------------------------------
   Input Group Styles
------------------------------ */
.input-group {
  position: relative;
}

.input-group .fa {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

/* ------------------------------
   Alert Messages
------------------------------ */
.alert-message {
  line-height: 20px;
  font-size: 15px;
  padding-bottom: 12px;
}

#alerts {
  width: 400px;
  top: 12px;
  right: 50px;
  position: fixed;
  z-index: 9999;
  list-style: none;
}

.alert {
  width: 100%;
  margin-bottom: 8px;
  display: block;
  position: relative;
  border-left: 4px solid;
  padding: 10px;
  transition: right 400ms, opacity 400ms, line-height 300ms 100ms, padding 300ms 100ms;
  display: table;
}

.alert:hover {
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.open {
  right: 0;
  opacity: 1;
  line-height: 2;
  padding: 3px 15px;
  transition: line-height 200ms, padding 200ms, right 350ms 200ms, opacity 350ms 200ms;
}

.alert-title {
  font-weight: bold;
}

.alert-block {
  width: 80%;
  text-align: left;
}

.alert-block em,
.alert-block small {
  font-size: 0.75em;
  opacity: 0.75;
  display: block;
}

/* Exclude font for icons */
.alert i {
    font-size: 1.5em; /* Slightly smaller for mobile responsiveness */
    width: 1.5em;
    max-height: 48px;
    top: 50%;
    margin-top: -12px;
    display: table-cell;
    vertical-align: middle;
    font-family: 'FontAwesome'; /* Ensure icons keep their original font */
}

/* ------------------------------
   Alert Types
------------------------------ */
.alert-success {
    border-color: #23923d !important;
	background-color: #D4EDDA !important;
	color: #155724 !important;
}

.alert-error, .alert-trash {
    border-color: #dc4a4d !important;
    background-color: #FFAEAE !important;
	color: #913536 !important;
}

.alert-info {
    border-color: #148ea1 !important;
	background: #D1ECF1 !important;
	color: #0c5460 !important;
}

.alert-warning {
    border-color: #dd6137 !important;
	background: #FFF3CD !important;
	color: #856404 !important;
}

.top50 {
    margin: 20px 0px 20px 0px;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 640px) {
    #alerts {
        width: 100%;
        right: 0;
        padding: 0 15px;
        top: 5px; /* Adjust top position for smaller screens */
    }

    .alert {
        font-size: 0.875rem; /* Slightly smaller font for mobile */
        padding: 8px 12px; /* Reduce padding slightly for mobile */
    }

    .alert i {
        font-size: 1.2em; /* Further reduce icon size on mobile */
    }
}


/* ------------------------------
   Modal Styles
------------------------------ */
.modal {
  position: fixed;
  display: block;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto;
  top: 20%;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

.modal-dialog {
  background: #f1f7fe;
  padding: 1px;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  box-shadow: 0 0 5px #6cb4e6;
  gap: 2em;
}

.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-clip: padding-box;
  border: 1px solid rgb(105, 180, 234);
  outline: 0;
  border-radius: 15px;
}

.modal-btn:checked ~ .modal {
  pointer-events: auto;
  opacity: 1;
  transition: all 300ms ease-in-out;
}

/* ------------------------------
   Modal Wrapper
------------------------------ */
.modal-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
  padding-bottom: 20px;
  background-color: #fff;
  box-shadow: 0 12px 25px 0 rgba(199, 175, 189, .25);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 250ms 250ms ease, transform 300ms 250ms ease;
}

.modal-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.modal-wrap p {
  padding: 20px 30px 0 30px;
}

.modal-btn:checked ~ .modal .modal-wrap {
  opacity: 1;
  transform: scale(1);
  transition: opacity 250ms 500ms ease, transform 350ms 500ms ease;
}

/* ------------------------------
   Logo Styles
------------------------------ */
.logo {
  position: absolute;
  top: 25px;
  left: 25px;
  display: block;
  z-index: 1000;
  transition: all 250ms linear;
}

.logo img {
  height: 26px;
  width: auto;
  display: block;
  filter: brightness(10%);
  transition: filter 250ms 700ms linear;
}

.modal-btn:checked ~ .logo img {
  filter: brightness(100%);
  transition: all 250ms linear;
}

/* ------------------------------
   Media Queries (Responsive Modals)
------------------------------ */
@media screen and (max-width: 500px) {
  .modal-wrap {
    width: calc(100% - 40px);
    padding-bottom: 15px;
  }

  .modal-wrap p {
    padding: 15px 20px 0 20px;
  }
}


/* ------------------------------
    404 page
------------------------------ */

.page_404 {
    padding: 40px 0;
    text-align: center;
}

.page_404 img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.four_zero_four_bg {
    background-image: url(https://cdn.dribbble.com/users/722246/screenshots/3066818/404-page.gif);
    height: 650px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.four_zero_four_bg h1 {
    font-size: 80px;
    margin: 0;
}

.four_zero_four_bg h3 {
    font-size: 80px;
    margin: 0;
}


