* {
  border-radius: 5px !important;
}

.quick-nav {
  /*margin-top:-35px;*/
  /*margin-top:-10px;*/
  margin-top: -30px;
}

/* Icons ko square hone se rokta hai */
.swal2-icon {
    border-radius: 50% !important;  /* Circle banane ke liye */
    font-family: inherit !important;
}

.swal2-icon-content {
    font-size: 3.75rem !important;  /* Size fix */
    font-weight: 400 !important;
}

/* Toast icons ke liye */
.swal2-toast .swal2-icon {
    font-size: 1.5rem !important;
    border-radius: 50% !important;
}

/* Specific icon fixes */
    .swal2-success .swal2-success-ring {
        border-radius: 50% !important;
    }
    
    .swal2-success [class^='swal2-success-line'] {
        border-radius: 2px !important;
    }
    
    /* Toast icons */
    .swal2-toast .swal2-icon {
        border-radius: 50% !important;
        min-width: 2em !important;
        min-height: 2em !important;
    }
    
    /* Override any Font Awesome interference */
    .swal2-popup .fa, 
    .swal2-popup .fas, 
    .swal2-popup .far {
        font-family: "Font Awesome 6 Free" !important;
    }
    
    /* Success icon specific */
    .swal2-success {
        background: transparent !important;
    }

.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: default;
}

a {
  text-decoration: none;
}

.page-logo>a {
  text-decoration: none;
  font-size: 33px;
  /* margin-top: 14px; */
  margin-left: 6px;
}

.page-content-wrapper .page-content {
  padding: 0px;
}

.page-sidebar .page-sidebar-menu>li>a.active {
  background: #f2f6f9;
  color: #5b9bd1;
  border-left: 5px solid;
  margin-right: 0px;
  margin-left: -5px;
}

.search-icon {
  top: 10px;
  right: 15px;
}

.pagination>.active>a:hover {
  color: #337ab7 !important;
  cursor: pointer !important;
}

.centered {
  margin-right: 25%;
}

/*angucomplete-alt css*/
.angucomplete-holder {
  position: relative;
}

.angucomplete-dropdown {
  border-color: #ececec;
  border-width: 1px;
  border-style: solid;
  border-radius: 2px;
  width: 250px;
  padding: 6px;
  cursor: pointer;
  z-index: 9999;
  position: absolute;
  /*top: 32px;
    left: 0px;
    */
  margin-top: -6px;
  background-color: #ffffff;
}

.angucomplete-searching {
  color: #acacac;
  font-size: 14px;
}

.angucomplete-description {
  font-size: 14px;
}

.angucomplete-row {
  padding: 5px;
  color: #000000;
  margin-bottom: 4px;
  clear: both;
}

.angucomplete-selected-row {
  background-color: lightblue;
  color: #333;
}

/*end of angucomplete-alt css*/

.nav-item {
  list-style-type: none;
}

.nav-link {
  display: block;
  position: relative;
  margin: 1px 0 0;
  border: 0;
  padding: 12px 28px;
  text-decoration: none;
  color: #678098;
}

.nav-link:hover,
.nav-link:active,
.nav-link:focus {
  background: #f2f6f9;
  color: #5b9bd1;
  text-decoration: none;
}

.custom-sub-menu {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

button.close {
  margin-top: 5px;
}

.no-records-found {
  text-align: center;
  font-weight: bold;
  border: 1px solid #c2cad8;
  padding: 30px;
}

.disabled-input {
  border: none !important;
  background: none !important;
  border-bottom: 1px solid #eef1f5 !important;
  cursor: auto !important;
  padding: 4px;
}

.disabled-input-noborder {
  border: none !important;
  background: none !important;
  cursor: auto !important;
  padding: 4px;
}

/* .download_link{
  border-bottom: 1px solid #c2cad8;
} */

.username-link {
  padding: 0;
}

.welcome-page {
  min-height: 80vh !important;
}

.page-count-info {
  text-align: right;
  margin-top: 20px;
}

.bold-text {
  font-weight: bold;
}

.page-sidebar-closed .page-sidebar .page-sidebar-menu.page-sidebar-menu-closed>li:not(.heading):hover {
  background-color: #fff;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-user .dropdown-toggle:hover {
  padding: 25px 10px 28px;
}

textarea {
  resize: none;
}

.table-scroll-wrapper {
  overflow: auto;
  width: 100%;
}

table.scroll-table {
  width: 100% !important;
}

.scroll-table>tbody>tr>td:first-child,
.scroll-table>thead>tr>th:first-child {
  position: sticky !important;
  left: -1px !important;
  z-index: 1 !important;
  background-color: #e7ecf1;
}

.scroll-table>tbody>tr>td:last-child,
.scroll-table>thead>tr>th:last-child {
  position: sticky !important;
  right: 0 !important;
  z-index: 1 !important;
  background-color: #e7ecf1;
}

.scroll-table>thead tr th {
  position: sticky !important;
  top: 0 !important;
}

.scroll-table>th:first-child,
.scroll-table>th:last-child {
  z-index: 2 !important;
}


table.scroll-table-new {
  width: 100% !important;
}

.scroll-table-new>tbody>tr>td:first-child,
.scroll-table-new>thead>tr>th:first-child {
  position: sticky !important;
  left: -1px !important;
  z-index: 1 !important;
  background-color: #e7ecf1;
}

.scroll-table-new>thead tr th {
  position: sticky !important;
  top: 0 !important;
}

.scroll-table-new>th:first-child {
  z-index: 2 !important;
}


@media (max-width: 767px) {

  .page-header.navbar .top-menu .navbar-nav>li.dropdown-language .dropdown-toggle .langname,
  .page-header.navbar .top-menu .navbar-nav>li.dropdown-user .dropdown-toggle .username.username-hide-on-mobile,
  .page-header.navbar .top-menu .navbar-nav>li.separator {
    display: block !important;
  }
}

@media screen and (min-width:320px) and (max-width:567px) {
  .space-in-btn {
    margin-bottom: 10px;
  }

  .space-in-btn-import {
    margin-top: 5px;
  }

  .space-in-btn-export {
    margin-top: 5px;
  }

  .centered {
    margin-right: 0%;
  }
}

@media screen and (min-width:320px) and (max-width:567px) and (orientation: landscape) {
  .space-in-btn-import {
    margin-top: 0px;
  }

  .space-in-btn-export {
    margin-top: 0px;
  }
}

@media screen and (min-width:375px) and (max-width:667px) {
  .space-in-btn {
    margin-bottom: 0px;
  }

  .centered {
    margin-right: 0%;
  }

  .space-in-btn-import {
    margin-top: 0px;
  }

  .space-in-btn-export {
    margin-top: 5px;
  }
}

@media screen and (min-width:375px) and (max-width:667px) and (orientation: landscape) {
  .space-in-btn-import {
    margin-top: 0px;
  }

  .space-in-btn-export {
    margin-top: 0px;
  }
}

@media screen and (min-width:768px) and (max-width:1024px) {
  .centered {
    margin-right: 0%;
  }

  .space-in-btn-import {
    margin-top: 0px;
  }

  .space-in-btn-export {
    margin-top: 0px;
  }
}

@media screen and (min-width:768px) and (max-width:1024px) and (orientation: landscape) {
  .centered {
    margin-right: 25%;
  }

  .space-in-btn-import {
    margin-top: 5px;
  }

  .space-in-btn-export {
    margin-top: 5px;
  }
}

.confirm-window {
  z-index: 111111 !important;
}

.file-download {
  z-index: 6 !important;
}

.milestone-table {
  table-layout: fixed;
}

.milestone-table>tbody>tr>th,
.milestone-table>tbody>tr>td {
  width: 200px;
}

.single-icon {
  font-size: 22px;
  margin-top: 25px;
}


/* Absolute Center Spinner */

.loading {
  position: fixed;
  z-index: 9999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */

.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

/* :not(:required) hides these rules from IE9 and below */

.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);

  }
}

.noclick {
  /*pointer-events: none;*/
  cursor: not-allowed;
}

.CheckBoxOverlay {
  position: relative;
  display: inline;
}

.CheckBoxOverlay div {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  cursor: pointer;
}

.long-desc {
  word-wrap: break-word;
}

.lc-info-div {
  border: 1px solid #33333357;
  padding: 5px;
  background: #f2f6f9;
}

.lc-info-table {
  background: #fff;
}

.toggle-link {
  text-decoration: none !important;
}

.large-content {
  max-height: 100px;
  overflow: auto;
}

.very-large-content {
  max-height: 250px;
  overflow: auto;
}

.table-vertical-scroll-wrapper {
  max-height: 400px;
  overflow: auto;
}

th {
  background-color: #f2f6f9;
  vertical-align: top !important;
}

/* ===== LAYOUT ===== */

.app-wrapper {
  display: flex;
  min-height: calc(100vh - 56px);
  /* header height */
  margin-top: 56px;
}

.sidebar {
  width: 224px;
  flex-shrink: 0;
}

.app-content {
  flex: 1;
  padding: 20px;
  background: #f8f9fa;
  min-height: calc(100vh - 56px);
  overflow-x: auto;
}

/* LOGIN PAGE FIX (Angular-like) */
.login-wrapper {
  min-height: calc(100vh - 60px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #eef1f5;
}

.login-card {
  width: 520px;
  background: #fff;
  padding: 25px 30px;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
}

.login-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.login-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.login-row label {
  width: 120px;
  font-weight: 500;
}

.login-row label span {
  color: red;
}

.login-row input {
  flex: 1;
}

.password-wrap {
  position: relative;
  flex: 1;
}

.password-wrap i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.login-actions {
  margin-left: 120px;
  display: flex;
  gap: 10px;
}