/* @import url('https://fonts.googleapis.com/css2?family=Outfit&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100..700&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400..900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400..900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Alata&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

* {
  /* font-family: "Outfit", serif; */
  /* font-family: "Josefin Sans", serif; */
  /* font-family: "Montserrat", serif; */
  /* font-family: "Roboto Condensed", serif;
  font-optical-sizing: auto; */
  font-family: "Figtree", serif;
  font-optical-sizing: auto;
  font-style: normal;
  /* font-family: "IBM Plex Sans", serif; */
  /* font-family: "League Spartan", serif; */
  /* font-family: "Alata", serif; */
  /* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
}

:root {
  --primary: #37afe1;
  --primary-subtle: #d7eff9;
  --primary-subtle-extra: #f8fafc;
  --primary-highlight: #9eddf8;
  --secondary: #6c757d;
  --bs-orange-rgb:253, 126, 20;
}

.nav-link.active {
  color: white !important;
  background-color: var(--primary) !important;
}

.nav-link-secondary.active {
  color: white !important;
  background-color: var(--secondary) !important;
}

.nav-link-light {
  color: #000;
  background-color: #f8f9fa;
}

.nav-link-light:hover {
  color: #000;
  background-color: #d3d4d5;
}

.nav-link-light.active {
  color: #000 !important;
  background-color: #d3d4d5 !important;
  font-weight: normal !important;
}

/* Clean Professional Sidebar Styles */
#sidebar {
  width: 240px;
  background: #ffffff;
  /* border-right: 1px solid var(--primary); */
  transition: all 0.3s ease;
  z-index: 3;
}

#wrapper {
  margin-left: 240px;
  width: calc(100% - 240px);
}

#sidebar .sidebar-logo {
  padding: 8px 10px;
  text-align: center;
  border-bottom: 1px solid #f3f4f6;
}

#sidebar .sidebar-logo-img {
  max-width: 80%;
  height: auto;
  margin: auto;
}

#sidebar .sidebar-content {
  padding: 16px 8px;
  height: calc(100vh - 160px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

#sidebar .sidebar-content::-webkit-scrollbar {
  width: 4px;
}

#sidebar .sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

#sidebar .sidebar-content::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}

#sidebar .nav-section {
  margin-bottom: 28px;
}

#sidebar .section-title {
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding: 0 12px;
}

#sidebar .nav-item {
  margin-bottom: 2px;
}

#sidebar .nav-link {
  color: #374151 !important;
  padding: 10px 12px;
  border-radius: 6px;
  margin: 0 4px;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

#sidebar .nav-link:hover {
  background: var(--primary-subtle-extra);
  color: var(--primary) !important;
}

#sidebar .nav-link.active {
  background: var(--primary);
  color: white !important;
}

#sidebar .nav-link i {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Accordion Styles */
#sidebar .accordion-button {
  background: transparent !important;
  border: none !important;
  color: #374151 !important;
  padding: 10px 12px;
  border-radius: 6px !important;
  margin: 0 4px;
  font-weight: 500;
  font-size: 0.875rem;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

#sidebar .accordion-button:hover {
  background: var(--primary-subtle-extra) !important;
  color: var(--primary) !important;
}

#sidebar .accordion-button:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

#sidebar .accordion-button.collapsed::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#sidebar .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2337afe1'%3e%3cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3e%3c/svg%3e");
}

#sidebar .accordion-collapse {
  background: #f9fafb;
  border-radius: 6px;
  margin: 4px 8px 8px 8px;
}

#sidebar .accordion-body {
  padding: 4px 0;
}

#sidebar .sub-nav-link {
  color: #6b7280 !important;
  padding: 6px 16px;
  border-radius: 4px;
  margin: 1px 8px;
  font-size: 0.88rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

#sidebar .sub-nav-link:hover {
  background: #f3f4f6;
  color: var(--primary) !important;
}

#sidebar .sub-nav-link.active {
  background: var(--primary);
  color: white !important;
}

#sidebar .sub-nav-link i {
  font-size: 0.88rem;
  margin-right: 8px;
}

/* Company Profile Section */
#sidebar .company-profile {
  /* background: #f9fafb; */
  border-top: 1px solid #e5e7eb;
  padding: 12px;
}

#sidebar .company-btn {
  /* background: white !important; */
  border: 1px solid #e5e7eb !important;
  color: #374151 !important;
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  text-align: left;
  transition: all 0.2s ease;
  text-decoration: none;
}
main .table-responsive-md .sortable-table thead tr > :first-child{
  width: 0 !important;
}
main .table tbody tr:not(.step-tr):hover > td {
    background-color: rgba(var(--bs-orange-rgb), 0.04) !important;
}
/* #sidebar .company-btn:hover {
  background: var(--primary-subtle-extra) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
} */

#sidebar .company-logo {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

/* Simple Notification Badge */
#sidebar .badge-notification {
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  padding: 2px 5px;
  border-radius: 8px;
  margin-left: auto;
  min-width: 16px;
  text-align: center;
}

/* Mobile Responsive */
#sidebar.active {
  transform: translateX(-100%);
  pointer-events: none;
  opacity: none;
  visibility: hidden;
}

#sidebar,
#sidebar.active,
#wrapper {
  transition: 0.5s ease-in-out;
  transition-property: margin, transform, opacity, visibility;
}

@media only screen and (max-width: 992px) {
  #sidebar {
    transform: translateX(-100%);
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.6s ease, opacity 0.6s ease, visibility 0.6s ease;
  }

  #sidebar.active {
    opacity: 1;
    transform: translateX(0%);
    pointer-events: all;
    visibility: visible;
  }
}

/* Legacy Support for existing classes */
#sidebar .sidebar-links {
  padding: 5px 7px;
}

#sidebar .sidebar-links .link {
  color: #374151 !important;
  padding: 10px 12px;
  border-radius: 6px;
  margin: 0 4px 2px 4px;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  border: none !important;
}

#sidebar .sidebar-links .link:hover {
  background: var(--primary-subtle-extra) !important;
  color: var(--primary) !important;
  font-weight: 500;
}

#sidebar .sidebar-links .link.active {
  background: var(--primary) !important;
  color: white !important;
  font-weight: 500;
}

.shadow-inset {
  box-shadow: inset 0 0 10px #7d7d7d;
}

.custom-tooltip {
  --bs-tooltip-bg: var(--primary);
  --bs-tooltip-color: white;
}

.custom-tooltip img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.custom-tooltip-secondary {
  --bs-tooltip-bg: rgb(48, 48, 48);
  --bs-tooltip-color: white;
}

.custom-tooltip-white {
  --bs-tooltip-bg: rgb(231, 231, 231);
  --bs-tooltip-color: rgb(41, 41, 41);
  font-weight: 500;
}

.custom-tooltip-danger {
  --bs-tooltip-bg: rgb(246, 196, 196);
  --bs-tooltip-color: rgb(41, 41, 41);
  font-weight: 500;
}

.custom-tooltip-sm {
  padding: .5rem;
  font-size: .8rem;
}

.custom-popover {
  --bs-popover-max-width: 250px;
  --bs-popover-border-color: var(--primary);
  --bs-popover-header-bg: var(--primary);
  --bs-popover-header-color: white;
  --bs-popover-body-padding-x: 1rem;
  --bs-popover-body-padding-y: .5rem;
}

.truncate-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rich-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

}

.rich-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

}

.rich-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* customs hovers  */
.scale-on-hover {
  transition: scale 0.1s linear;
}

.scale-on-hover:hover {
  scale: 1.02;
}

.onHoverText-white:hover {
  color: white;
}

/* customs hovers end */


input:disabled {
  cursor: not-allowed;
}

.dropdown-item:active {
  color: white !important;
}

.dropdown-item:active i {
  color: white !important;
}

/* Wrapper to keep everything centered */
.notification-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

/* The pulsing ripple effect */
.ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: rgba(255, 0, 0, 0.3);
  border-radius: 50%;
  animation: rippleEffect 1.5s infinite ease-out;
}

.ripple-white {
  background-color: rgba(255, 255, 255, 0.3);
}

/* The actual notification icon */
.notification-dot {
  position: relative;
  z-index: 2;
  font-size: 24px;
  color: red;
}

.notification-dot-white {
  color: white;
}



/* Keyframes for the ripple effect */
@keyframes rippleEffect {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(2);
    opacity: 0.3;
  }

  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* Wizard step indicators — shared across RPA and DPIA forms */
.wizard-step-circle { width:32px; height:32px; border-radius:50%; border:2px solid #adb5bd; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; color:#6c757d; background:#fff; flex-shrink:0; transition:all .2s; }
.wizard-step-circle.active { border-color:var(--bs-primary); background:var(--bs-primary); color:#fff; }
.wizard-step-circle.completed { border-color:var(--bs-success); background:var(--bs-success); color:#fff; }
.wizard-step-line { height:2px; background:#dee2e6; flex-grow:1; margin:0 6px 18px; transition:background .2s; }
.wizard-step-line.completed { background:var(--bs-primary); }

/* Orange — Bootstrap base color not as utility class */
.bg-orange {
    background-color: rgba(var(--bs-orange-rgb), 1);
}
.bg-orange-subtle {
    background-color: rgba(var(--bs-orange-rgb), 0.2);
}
.text-orange {
    color: #fd7e14 !important;
}

.color-box.active {
  border-width: 3px;
}

.color-box {
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.form-actions .btn-default.get-data {
  display: none !important;
}

.form-actions .btn-primary.save-template {
  display: none !important;
}

.form-actions .btn {
  margin: auto;
}

.form-builder-overlay.visible {
  z-index: 2000 !important;
}

.form-builder-dialog {
  z-index: 2000 !important;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

body {
  max-width: 100vw;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background-color: #f8f9fa;
}

.ajax-notify {
  visibility: hidden;
  /* pointer-events: none; */
}

/* sidebar-login-styling-start */
.login-left-box {
  background-image: url("../images/banners/login-banner.webp");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  background-blend-mode:darken;
}

.login-page .language-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: max-content;
}

@media only screen and (max-width: 992px) {


  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: 10px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  #wrapper {
    margin: 0 !important;
  }

  .login-page .form-col {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
  }

  .login-left-box {
    border-radius: 0px !important;
  }
}

/* sidbar-styling-end */

/* upload-file-design */
.actual-btn {
  width: 160px;
  height: 40px;
  background-color: #d7eff9;
  border: 1.5px solid var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px !important;
  padding-right: 12px !important;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
}

.actual-btn span {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  padding: 0 10px;
  color: white;
}

#file-name {
  margin-left: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uploadfile-btn {
  width: 100%;
  height: 50px;
  background-color: white;
  border: 1.5px solid var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px !important;
  border-radius: 5px;
  font-weight: 600 !important;
  font-size: 15px;
  letter-spacing: 0.6px;
  cursor: pointer;
}

.uploadfile-btn span {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  padding: 0 10px;
  color: white;
}

#file-name2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* upload-file-design */

/* excel-table-design */
.excel-container {
  overflow-x: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.excel-table {
  width: 100%;
  border-collapse: collapse;
}

.excel-table td {
  min-width: 100px;
  padding: 4px !important;
  text-align: center;
  border: 1px solid #ccc;
}

.excel-table td {
  background-color: #ffffff;
}

.excel-table td:has(input:focus) {
  outline: 1px solid #00aaff;
  background-color: #eaf6ff;
}

/* excel-table-design */

/* custom-elements-start */
.btn-primary {
  color: white !important;
}
.btn-check:checked+.btn-outline-primary{
  color: white !important;
}

.fs-7 {
  font-size: 0.85rem !important;
}

.fs-sm-5 {
  font-size: 1.25rem !important;
}

@media (max-width: 576px) {
  .fs-sm-5 {
    font-size: 1rem !important;
  }
}

.btn-xs {
  --bs-btn-padding-y: 0.15rem;
  /* vertical padding */
  --bs-btn-padding-x: 0.35rem;
  /* horizontal padding */
  --bs-btn-font-size: 0.75rem;
  /* smaller text */
  --bs-btn-border-radius: 0.15rem;
  /* slightly smaller corners */
}

.btn-xxs {
  --bs-btn-padding-y: 0.10rem;
  /* vertical padding */
  --bs-btn-padding-x: 0.25rem;
  /* horizontal padding */
  --bs-btn-font-size: 0.65rem;
  /* smaller text */
  --bs-btn-border-radius: 0.10rem;
  /* slightly smaller corners */
}

.spinner-border-xs {
  --bs-spinner-width: 0.85rem;
  --bs-spinner-height: 0.85rem;
  --bs-spinner-border-width: 0.2em;
}

.soft-input {
  border: none;
}

.soft-input:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

@media only screen and (max-width: 992px) {
  .span-icon {
    font-size: 12px !important;
  }

  .dash-text {
    font-size: 18px !important;
    margin-top: 4px !important;
  }

  .form-text {
    font-size: 25px !important;
  }

  .dash-icon {
    font-size: 30px !important;
  }

  .th-font {
    font-size: 13px !important;
  }

  .td-font {
    font-size: 13px !important;
  }

}

@media only screen and (max-width: 450px) {
  .risk-box h2 {
    font-size: 18px !important;
    margin-right: 0 !important;
  }

  .risk-box span {
    font-size: 13px !important;
    margin-left: 8px !important;
  }
}





.admin-btn {
  width: 50% !important;
}

@media only screen and (max-width:767px) {
  .profile-card {
    height: none !important;
    margin-right: 0px !important;
  }



  .admin-btn {
    width: 70% !important;
  }
}

@media only screen and (max-width:991px) {
  .ad-col {
    padding-right: 10px !important;
  }
}

@media only screen and (max-width:767px) {
  .ad-col {
    padding-right: 0px !important;
  }
}

/* custom-elements-end */

/* important-elements */
a.active {
  font-weight: bold;
  color: #000000 !important;
}

.dropdown-item.active {
  font-weight: bold;
  color: #ffffff !important;
}

.create-form-user-selection .hidden {
  display: none;
}

/* important-elements */

/* table-pagination-start */
.ajax-pagination ul.pagination {
  margin: 0 !important;
  margin-left: .5em !important;
}

.ajax-pagination p.text-muted {
  margin: 0 !important;
  margin-right: .5em !important;
}

.ajax-pagination nav {
  padding: .5rem !important;
}

@media (max-width: 768px) {
  .pagination-tr .ajax-pagination {
    justify-content: start !important;
    margin-left: .5em !important;
  }

}

/* table-scrollbar-start */
.table-overflow {
  overflow-x: auto;
}

.table-overflow::-webkit-scrollbar {
  width: 1rem;
  height: 5px;
  border-radius: 10px;
}

.table-overflow::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 10px;
}

.table-overflow::-webkit-scrollbar-thumb {
  background-color: #9eddf8;
  border-radius: 10px;
}

.table-overflow::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary);
  border-radius: 10px;
}

/* table-scrollbar-end */

/* web-scrollbar-start */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background-color: #9eddf8;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary);
  border-radius: 10px;
}

.no-record-in-table {
  display: none !important;
}

/* web-scrollbar-end */
.upload-container {
  text-align: center;
}

.upload-label {
  cursor: pointer;
  font-size: 48px;
  color: #666;
  transition: transform 0.3s ease;
}

.upload-label:hover {
  transform: scale(1.1);
}

.progress-bar-container {
  width: 300px;
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: #4caf50;
  border-radius: 5px;
  transition: width 0.3s ease;
}

/* loader */
.global-loader {

  width: 50px;
  --b: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(#0000 10%, var(--primary)) content-box;
  -webkit-mask:
    repeating-conic-gradient(#0000 0deg, #000 1deg 20deg, #0000 21deg 36deg),
    radial-gradient(farthest-side, #0000 calc(100% - var(--b) - 1px), #000 calc(100% - var(--b)));
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
  animation: l4 1s infinite steps(10);
}

@keyframes l4 {
  to {
    transform: rotate(1turn)
  }
}

.custom-checkbox-btn:has(input:checked) {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}

.custom-checkbox-btn:hover {
  color: white;
}

.custom-checkbox-btn-secondary:has(input:checked) {
  background-color: var(--secondary);
  border-color: var(--secondary) !important;
  color: white !important;
}

.btn-outline-primary:hover {
  color: white !important;
}
.btn-check+.btn-outline-primary:hover{
  color: var(--bs-primary) !important;
}
.btn-check:checked+.btn-outline-primary:hover{
  color: white !important;
}
.btn-outline-warning:hover {
  color: white !important;
}

/* risk result page */
/* risk-results-start */
.result-toggle-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.risk-toggle {
  position: relative;
  width: 54px;
  height: 24px;
  background-color: #585858;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.toggle-circle {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.risk-toggle.on {
  background-color: var(--primary);
}

.risk-toggle.on .toggle-circle {
  transform: translateX(30px);
}

.risk-status {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17.5px;
  font-weight: 600;
  color: black;
}

.risk-toggle.on+.risk-status {
  color: black;
}

@media only screen and (max-width: 550px) {
  .result-drop {
    display: flex !important;
  }

  .result-drop .form-select {
    width: 150px !important;
  }

  .filter-result {
    display: flex !important;
  }

  .filter-result .filter-drop {
    padding-bottom: 15px !important;
  }

  .filter-result .filter-drop .form-select {
    width: 180px !important;
  }

  .risk-toggle {
    width: 52px !important;
    height: 22px !important;
  }

  .toggle-circle {
    width: 16px !important;
    height: 16px !important;
  }
}

/* risk-results-end */
.my-pad {
  padding-right: 10px !important;
}

@media only screen and (max-width: 991px) {
  .my-pad {
    padding-right: 0 !important;
    padding-bottom: 12px !important;
  }
}

.my-pad2 {
  padding-right: 10px !important;
}

@media only screen and (max-width: 768px) {
  .my-pad2 {
    padding-bottom: 10px !important;
  }
}

@media only screen and (max-width: 576px) {
  .my-pad2 {
    padding-right: 0 !important;
  }
}

/* serach-bar-start */
.s130 form {
  width: 100%;
}

.s130 form .inner-form {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--primary);
}

.s130 form .inner-form .input-field {
  height: 45px;
}

.s130 form .inner-form .input-field input {
  height: 100%;
  background: transparent;
  border: 0;
  display: block;
  width: 100%;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 600;
  color: black;
}

.s130 form .inner-form .input-field input::placeholder {
  color: rgba(0, 0, 0, 0.658);
}

.s130 form .inner-form .input-field input:hover,
.s130 form .inner-form .input-field input:focus {
  box-shadow: none;
  outline: 0;
}

.s130 form .inner-form .input-field.first-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  -ms-flex-positive: 1;
  background-color: whitesmoke;
  /* border: 1px solid var(--primary); */
}

.s130 form .inner-form .input-field.first-wrap input {
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.s130 form .inner-form .input-field.first-wrap .svg-wrapper {
  min-width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.s130 form .inner-form .input-field.first-wrap .svg-wrapper i {
  font-size: 17px !important;
  font-weight: bold;
  color: black;
}


.s130 form .inner-form .input-field.second-wrap {
  min-width: 140px;
}

.s130 form .inner-form .input-field.second-wrap .btn-search {
  height: 100%;
  width: 100%;
  white-space: nowrap;
  font-size: 14px;
  color: #fff;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 0;
  background-color: var(--primary);
  transition: all .2s ease-out, color .2s ease-out;
  font-weight: 600;
  letter-spacing: 1.5px !important;
}

.s130 form .inner-form .input-field.second-wrap .btn-search:hover {
  background-color: var(--primary);
}

.s130 form .inner-form .input-field.second-wrap .btn-search:focus {
  outline: 0;
  box-shadow: none;
}

/* serach-bar-end */
.disabled-field {
  pointer-events: none;
  background-color: #e9ecef;
}

#global-loader {
  background-color: #00000014;
  display: none;
}

#global-loader.active {
  display: flex;
  pointer-events: painted;
}



.accordion-flush>.accordion-item>.accordion-header .accordion-button,
.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed {
  border-radius: 5px;
  border: 2px solid var(--primary);
  box-shadow: none !important;
}

.accordion-3,
.accordion-4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  border: 2px solid var(--primary);
  border-radius: 6px;
  cursor: pointer;
  padding: 6px;
  text-align: left;
  outline: none;
  transition: background-color 0.3s ease;
  margin: 0 !important;
}

.accordion-3:hover,
.accordion-4:hover {
  background-color: #ddd;
}

.accordion-3.active,
.accordion-4.active {
  background-color: #ccc;
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background-color: #f9f9f9;
  margin: 0 !important;
  margin-top: 8px !important;
  margin-bottom: 5px !important;
  overflow: auto;
  border-radius: 6px !important;
}

.panel.open {
  border: 1px solid var(--primary) !important;
  padding: 6px !important;
  margin-bottom: 10px !important;
  max-height: 200px !important;
}

.low-risk {
  background-color: #d4edda !important
}

/* Light Green */
.medium-risk {
  background-color: #ffeeba !important
}

/* Light Yellow */
.high-risk {
  background-color: #f5c6cb !important
}

/* Light Red */
.critical-risk {
  background-color: #dc3545;
  color: white !important
}

/* Dark Red */

/* form builder  */
.rendered-form .formbuilder-embedded-bootstrap input[type=text],
.rendered-form .formbuilder-embedded-bootstrap input[type=email],
.rendered-form .formbuilder-embedded-bootstrap input[type=file],
.rendered-form .formbuilder-embedded-bootstrap input[type=number],
.rendered-form .formbuilder-embedded-bootstrap input[type=tel],
.rendered-form .formbuilder-embedded-bootstrap input[type=password],
.rendered-form .formbuilder-embedded-bootstrap input[type=date],
.rendered-form .formbuilder-embedded-bootstrap textarea {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  appearance: none;
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--primary);
  border-radius: var(--bs-border-radius);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.rendered-form .formbuilder-embedded-bootstrap select {
  border: var(--bs-border-width) solid var(--primary);
}

.formbuilder-checkbox {
  display: flex;
  align-items: center;
}

/* .rendered-form .formbuilder-embedded-bootstrap select {
  --bs-form-select-bg-img: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e);
  display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  appearance: none;
  background-color: var(--bs-body-bg);
  background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.rendered-form .formbuilder-embedded-bootstrap input[type=radio] {
  border-radius: 50%;
  --bs-form-check-bg: var(--bs-body-bg);
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    margin-top: .25em;
    vertical-align: top;
    appearance: none;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
    print-color-adjust: exact;
}
.rendered-form .formbuilder-embedded-bootstrap input[type=checkbox] {
  border-radius: .25em;
  --bs-form-check-bg: var(--bs-body-bg);
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    margin-top: .25em;
    vertical-align: top;
    appearance: none;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
    print-color-adjust: exact;
}

.rendered-form .formbuilder-embedded-bootstrap input[type=radio]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.rendered-form .formbuilder-embedded-bootstrap input[type=checkbox]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.rendered-form .formbuilder-embedded-bootstrap input:checked[type=radio] {
  --bs-form-check-bg-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e);
}
.rendered-form .formbuilder-embedded-bootstrap input:checked[type=checkbox] {
  --bs-form-check-bg-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e);
}
.rendered-form .formbuilder-embedded-bootstrap input[type=radio]:focus {
  border-color: #9bd7f0;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(55, 175, 225, .25);
}
.rendered-form .formbuilder-embedded-bootstrap input[type=checkbox]:focus {
  border-color: #9bd7f0;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(55, 175, 225, .25);
} */

/* Floating button */
.tutorial-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
}

/* Popup Card */
.tutorial-popup {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  z-index: 1050;
  display: none;
  transition: all 0.3s ease;
}

.tutorial-popup.multi {
  position: relative;
  bottom: 0;
  right: 0;
  width: 100%;
  z-index: 1;
  display: block;
  transition: all 0.3s ease;
}

/* Fullscreen Mode */
.tutorial-popup.fullscreen {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  max-width: 800px;
  max-height: 600px;
  background: white;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2) !important;
  z-index: 2001;
  /* Above the overlay */
}

/* Adjust the carousel size in fullscreen mode */
.tutorial-popup.fullscreen .wrapper {
  overflow-y: auto;
  height: 80%;
}

.tutorial-popup.fullscreen .carousel-item {
  min-height: 400px;
}

/* Overlay Background (For Fullscreen Mode) */
.tut-card-overlay {
  background: rgba(0, 0, 0, 0);

  /* Below the popup */
  transition: background 0.3s ease-in-out;
  /* Initially hidden */
}

/* Show overlay when fullscreen is active */
.tut-card-overlay.active {

  background: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Initially transparent */
  z-index: 2000;
}

.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050 !important;
}

/* Responsive Filtration */
@media (max-width: 1200px) {
  .responsive-filteration-xl {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 0;
    display: none !important;
    transition: all 0.3s ease;
    width: max-content;
    max-width: 70vw;
  }

  .responsive-filteration-xl.active {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    z-index: 1060 !important;
    display: block !important;
  }
}


@media (max-width: 992px) {
  .responsive-filteration-lg {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 0;
    display: none !important;
    transition: all 0.3s ease;
    width: max-content;
    max-width: 70vw;
  }

  .responsive-filteration-lg.active {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    z-index: 1060 !important;
    display: block !important;
  }
}

@media (max-width: 768px) {
  .responsive-filteration-md {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 0;
    display: none !important;
    transition: all 0.3s ease;
    width: max-content;
    max-width: 70vw;
  }

  .responsive-filteration-md.active {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    z-index: 1060 !important;
    display: block !important;
  }
}

@media (max-width: 576px) {

  .responsive-filteration-lg,
  .responsive-filteration-md,
  .responsive-filteration-xl {
    max-width: 90vw !important;
    width: 90vw !important;
  }
}

.quill-display p {
  margin: 0 !important;
}

.quill-display ol,
.quill-display ul,
.ql-editor ol,
.ql-editor ul {
  list-style: initial !important;
}

.quill-display em,
.ql-editor em {
  font-style: italic !important;
}

.ql-toolbar,
.ql-container {
  border-color: var(--bs-border-color) !important;
}

.ql-toolbar {
  border-radius: 0.25rem 0.25rem 0 0 !important;
}

.ql-container {
  border-radius: 0 0 0.25rem 0.25rem !important;
}

#laravel-notify div {
  z-index: 2;
}
.legal-basis-label input[type="checkbox"] {
  pointer-events: none;
}
.legal-basis-label {
  user-select: none;
  cursor: pointer;
}
