/* Global CSS */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #344054;
  text-align: left;
  background-color: #fff;
}

.fullheight {
  height: 100vh;
}
@media (max-width: 575.98px) {
  .fullheight {
    height: auto;
  }
}

.gradient {
  color: #fff;
  background-image: linear-gradient(to bottom right, rgb(15 81 50), rgb(22 119 74 / 79%), rgb(38 134 76 / 84%)), url(../img/1029.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-grow: 1;
  padding: 1.25rem 10rem 2rem 5rem !important;
  border: 10px solid #fff;
  border-radius: 30px;
  min-height: 100vh;
}

@media (max-width: 575.98px) {
  .gradient {
    padding: 3rem !important;
  }
}


.aptu {
  color: #fff;
  background-image: linear-gradient(to bottom right, rgb(15 81 50), rgb(22 119 74), rgb(38 134 76 ));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-grow: 1;
  padding: 1.25rem 10rem 2rem 5rem !important;
  border: 10px solid #fff;
  border-radius: 30px;
  min-height: 100vh;
}

@media (max-width: 575.98px) {
  .aptu {
    padding: 3rem !important;
  }
}


.input-group-text {
  background-color: rgb(248 249 250 / 0%);
  border-radius: 8px;
}

::placeholder {
  font-size: 14px;
}

.form-control:focus,
.form-select:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #198754;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 109, 253, 0);
}

.input-group .form-control,
.input-group .input-group-text {
  border-color: #dee2e6;
}

.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
  border-color: #198754;
}

.input-group:focus-within {
  box-shadow: none;
  border: 0px solid #ced4da;
  border-radius: 0.375rem;
}

a.passlink {
  color: #198754;
}

.btn {
  border-radius: 8px;
  font-size: 14px;
}

button.btn.btn-success.w-100,
.w-75 {
  height: 40px;
}

.form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

.px-log {
  padding-right: 5rem !important;
  padding-left: 5rem !important;
}

@media (max-width: 575.98px) {
  .px-log {
    padding-right: 2rem !important;
    padding-left: 2rem !important;
  }
}

.otp-input {
  padding: 1rem 12px;
  font-size: 2rem;
  font-weight: bold;
}

#resendLink {
  color: #198754;
  text-decoration: underline;
  cursor: pointer;
}

/* Onboarding */
.step {
  opacity: 0.5;
  transition: 0.3s ease;
}
.step.active,
.step.completed {
  opacity: 1;
}
.step-icon {
  width: 30px;
  height: 30px;
  border-radius: 25%;
  background-color: #198754;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step.completed .step-icon {
  background-color: #198754;
}
.step-line {
  border-left: 2px solid #dee2e6;
  height: 24px;
  margin-left: 10px;
}
.form-step {
  display: none;
  transition: opacity 0.3s ease;
}
.form-step.active {
  display: block;
}
.sidebar {
  background-color: rgb(25 135 84 / 5%);
  padding: 2rem;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  overflow-y: auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 10px solid #fff;
  border-radius: 30px;
}
.main-wrapper {
  margin-left: 30%;
  display: flex;
  /* align-items: center; */
  margin-top: 1rem;
  justify-content: center;
  /* min-height: 100vh; */
  padding: 2rem;
}

@media (max-width: 767.98px) {
  .sidebar {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
  .main-wrapper {
    margin-left: 0;
    flex-direction: column;
    padding: 1rem;
  }
}

.form-control,
.form-select {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  border-radius: 8px;
  min-height: 40px;
}

#searchDropdown .spinner-border {
  color: #198754 !important;
}
#searchDropdown .dropdown-item {
  font-size: 14px;
}

/* Step 1 */
.custom-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 150px;
}
.custom-file-upload {
  flex: 1;
  border: 2px dashed #ccc;
  border-radius: 0.5rem;
  text-align: center;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: #f8f9fa;
  height: 100%;
}
.custom-file-upload:hover {
  border-color: #28a745;
  color: #28a745;
}
.custom-file-upload input {
  display: none;
}
.image-preview-wrapper {
  position: relative;
  width: 150px;
  height: 100%;
  display: flex;
  align-items: center;
}
.preview-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}
.remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid #ccc;
  font-size: 12px;
  width: 24px;
  height: 24px;
  padding: 0;
  line-height: 1;
  text-align: center;
  z-index: 2;
}
.profile-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 150px;
}
.profile-upload-box {
  width: 300px;
  height: 150px;
  border-radius: 8px;
  border: 2px dashed #ccc;
  background-color: #f8f9fa;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.profile-upload-box:hover {
  border-color: #198754;
  color: #198754;
}
.profile-upload-box input {
  display: none;
}
.profile-preview {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #ccc;
}
.remove-profile-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 14px;
  width: 24px;
  height: 24px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  z-index: 5;
}

/* Step 3 */
button.btn-sm.bg-light.border.s3icon {
  height: 40px;
  width: 40px;
  border-radius: 11px;
}
.schhist {
  padding: 1rem 1rem;
  background: #f3f9f6;
  border-radius: 12px;
}

/* Modal */
.modal {
  --bs-modal-header-border-color: rgba(20, 137, 255, 0);
  --bs-modal-footer-border-color: rgba(20, 137, 255, 0);
}
element.style {
  background: #198754;
  height: 20px;
  width: 20px;
  border-radius: 50%;
}

/* SHS */
.file-upload-wrapper {
  position: relative;
}
.file-upload-box {
  display: block;
  border: 2px dashed #ced4da;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.3s;
}
.file-upload-box:hover {
  background-color: #f8f9fa;
}
.file-preview-wrapper {
  margin-top: 10px;
}
.remove-file-btn,
.remove-profile-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 20px;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
}

/* Homenew */
.main-bg {
  background-color: #f3f9f6;
  padding: 1px 0 40px 0;
  min-height: 100vh;
}
.card {
  background-color: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.homenew {
  display: flex;
  background: #f3f9f6;
}
.ard-nav {
  background: white;
  border-radius: 24px;
  margin: 1rem 0;
}
.user-name {
  color: black;
  font-size: 16px;
  font-weight: 800;
}
.card.shadow-sm.border-0.rounded-3.px-3.py-3.h-100 {
  transition: all 0.3s ease;
  border: 2px solid transparent !important;
}
.card.shadow-sm.border-0.rounded-3.px-3.py-3.h-100:hover {
  border-color: green !important;
  transform: scale(1.02);
}

/* Home */
.scth-app-wrapper {
  display: flex;
  min-height: 100vh;
}
.scth-sidebar {
  width: 300px;
  background-color: #0f5132;
  padding: 2rem !important;
  border-right: 1px solid #dee2e6;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
  border-radius: 16px;
  transition: transform 0.3s ease;
}
.scth-sidebar .logo {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2rem;
}
.scth-sidebar .nav-link {
  padding: 8px 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-weight: 500;
  color: #f3f9f6;
}
.scth-sidebar .nav-link.active,
.scth-sidebar .nav-link:hover {
  background-color: #198754;
    color: #f3f9f6;
    border-right: 8px solid #f3f9f6;
}

.scth-main-content {
  margin-left: 300px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: #f3f9f6;
  transition: margin-left 0.3s ease;
}
.scth-topbar {
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-start; /* Align hamburger menu to the left */
  align-items: center;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  border: 10px solid #f3f9f6;
  border-radius: 24px;
}
.scth-content-area {
  flex-grow: 1;
  padding: 2rem;
}
.hamburger-menu {
  display: none;
  font-size: 24px;
  background: #fff; /* White background */
  border: 1px solid #dee2e6; /* Optional border for visibility */
  border-radius: 4px; /* Slight rounding for aesthetics */
  color: #0f5132;
  cursor: pointer;
  padding: 0.5rem;
}
.sidebar-close-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #f3f9f6;
  cursor: pointer;
  position: absolute;
loir  top: 1rem;
  right: 1rem;
  z-index: 1001;
}

/* Updated */
.step-iconap {
  width: 48px;
  height: 48px;
  border-radius: 25%;
  background-color: #198754;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.premium-card {
  position: relative;
  background-color: #0f5132;
  border-radius: 20px;
  overflow: hidden;
  color: white;
  min-height: 250px;
}
.premium-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  background-color: #fbbf24;
  border-radius: 50%;
  z-index: 1;
}
.premium-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.premium-card .play-btn i {
  color: #0f5132;
  font-size: 28px;
}
.premium-image {
  height: 100%;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
  .scth-sidebar {
    transform: translateX(-100%);
    width: 340px;
    z-index: 1001;
  }
  .scth-sidebar.active {
    transform: translateX(0);
  }
  .scth-main-content {
    margin-left: 0;
  }
  .scth-topbar {
    padding: 1rem;
    border: 5px solid #f3f9f6;
  }
  .scth-content-area {
    padding: 1rem;
  }
  .hamburger-menu {
    display: block; /* Show only on mobile */
  }
  .sidebar-close-btn {
    display: block;
  }
  .premium-card {
    min-height: 150px;
  }
  .premium-card .play-btn {
    width: 40px;
    height: 40px;
  }
  .premium-card .play-btn i {
    font-size: 20px;
  }
  .premium-card::after {
    width: 150px;
    height: 150px;
    right: -30px;
  }
  .card {
    padding: 0.5rem;
  }
  .row.align-items-stretch {
    flex-direction: column;
  }
  .col-xl-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-8,
  .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
  /* .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  } */
  .col-4.d-flex {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .scth-topbar {
    padding: 0.5rem;
  }
  .scth-content-area {
    padding: 0.5rem;
  }
  h2.fw-bold {
    font-size: 1.5rem;
  }
  .premium-card .premium-text h6 {
    font-size: 1rem;
  }
  . premium-card .premium-text p {
    font-size: 0.875rem;
  }
}



.progress-donut {
      width: 50px;
      height: 50px;
      position: relative;
    }
    .progress-donut svg {
      width: 100%;
      height: 100%;
      transform: rotate(-90deg);
    }
    .progress-donut circle {
      fill: none;
      stroke-width: 5;
    }
    .progress-donut .bg {
      stroke: #e9ecef;
    }
    .progress-donut .progress {
      stroke: #28a745;
      stroke-linecap: round;
    }
    .progress-donut .center-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 12px;
      font-weight: sem-bold;
      color: #000;
    }


    /* application Details  */
    .greenback {
      background: #198754;
      padding:2rem;
      color: #fff;

    }  


    .nav-pills2 .nav-link {
    color: green;
    font-size: 16px;
    font-weight: bold;
    padding: 9px 32px;
}

   .nav-pills2 .nav-link.active, .nav-pills .show>.nav-link {
    color: #0f5132;
    background-color: #19875436;
    border-right: 5px solid #0f5132;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    padding: 9px 32px;
}





  /* Scrollable nav pills on mobile */




    /* application Details */

 .choices__inner {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    background-color: #ffffff;
    padding: 3.7px 7.5px 3.5px;
    border: 1px solid #ddd;
    border-radius: 6.5px;
    font-size: 14px;
    min-height: 44px;
    overflow: hidden;
}

.choices__input {
    display: inline-block;
    vertical-align: baseline;
    background-color: #ffffff;
    font-size: 14px;
    margin-bottom: 5px;
    border: 0;
    border-radius: 0;
    max-width: 100%;
    padding: 4px 0 4px 2px;
}

.choices__list--multiple .choices__item {
    display: inline-block;
    vertical-align: middle;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 3.75px;
    margin-bottom: 3.75px;
    background-color: #198754;
    border: 1px solid #198754;
    color: #fff;
    word-break: break-all;
    box-sizing: border-box;
}


/* application view */


.sidebar-apview {
    background-color: rgb(25 135 84 / 5%);
    padding: 2rem;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 30%;
    overflow-y: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 10px solid #fff;
    border-radius: 30px;
}

.main-wrapper-apview {
    margin-right: 30%;
    display: flex;
    /* align-items: center; */
    margin-top: 1rem;
    justify-content: center;
    /* min-height: 100vh; */
    padding: 1rem 2rem;
}

.floating-btn-group {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.dashboard-btn {
  background-color: #198754;
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.dashboard-btn:hover {
  background-color: #157347;
  color: #fff;
}

.print-btn {
  background-color: #198754;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.print-btn:hover {
  background-color: #157347;
}

/* Responsive Hide for Sidebar and Expand Main */
@media (max-width: 991.98px) { /* Bootstrap md and below */
  .sidebar-apview {
    display: none !important;
  }

  .main-wrapper-apview {
    margin-right: 0 !important;
    width: 100% !important;
    padding: 1rem;
  }
}


/* application view */



/* apptitude test  */

.aptu {
  color: #fff;
  background-image: linear-gradient(to bottom right, rgb(15 81 50), rgb(22 119 74), rgb(38 134 76 ));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-grow: 1;
  padding: 1.25rem 10rem 2rem 5rem !important;
  border: 10px solid #fff;
  border-radius: 30px;
  min-height: 100vh;
}

@media (max-width: 991.98px ) {
  .aptu {
    padding: 3rem !important;
      min-height: 40vh;
  }
}

 .aptitude-info {
    font-size: 1.1rem;
    font-width: 300;
    line-height: 1.6;
  }

  .aptitude-info ul {
    list-style: none;
    padding-left: 1.2rem;
  }

  .aptitude-info ul li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
  }

  .aptitude-info ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 10px;
    height: 10px;
    background-color: #198754; /* Bootstrap success green */
    border-radius: 50%;
  }


    .container_qiz {
      max-width: 800px;
      margin: auto;
    }

    .card_qiz {
      border: none;
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      background: white;
      margin-bottom: 1.5rem;
      padding: 2rem;
    }

    .card_qiz h5 {
      color: #198754;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .form-check_qiz {
      padding: 8px 12px;
      border-radius: 8px;
      margin-bottom: 6px;
      transition: background-color 0.2s ease-in-out;
      display: flex;
      align-items: center;
      cursor: pointer;
    }

    .form-check_qiz:hover {
      background-color: #e6f4ed;
    }

    .form-check-input_qiz {
      transform: scale(1.6);
      margin-right: 12px;
      accent-color: #198754;
      pointer-events: none;
    }

    .form-check-label_qiz {
      cursor: pointer;
      font-size: .9rem;
      width: 100%;
    }

    .question-page_qiz {
      display: none;
    }

    .question-page_qiz.active {
      display: block;
    }

    .btn-success_qiz, .btn-outline-success_qiz {
      padding: 12px 30px;
      border-radius: 10px;
      font-weight: 500;
      font-size: 1.1rem;
    }

    .btn-success_qiz {
      background-color: #198754;
      border: none;
      color: white;
    }

    .btn-success_qiz:hover {
      background-color: #157347;
      color: white;
    }

    .btn-outline-success_qiz {
      border-color: #198754;
      color: #198754;
    }

    .btn-outline-success_qiz:hover {
      background-color: #198754;
      color: white;
    }

    .ard-nav2 {
    background: white;
    border-radius: 0px;
    margin: 0px;
}

/* apptitude test  */
