body{
  font-family:'Inter',sans-serif;
  background:#f4f6f9;
  font-size: 14px;
}
:root{
  --sidebar-gradient-start: 145 70% 96%;
    --sidebar-gradient-end: 160 60% 94%;
}

/* Sidebar */
.sidebar {
    width: 260px;
    height: 100vh;
    background: #fff;
    background: linear-gradient(180deg, hsl(var(--sidebar-gradient-start)), hsl(var(--sidebar-gradient-end)), #d9f2e3);
    transition: .3s;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1040;
    /* border-right: 1px solid #ddd; */
    box-shadow: 4px 0 20px -5px #4db37726;
}

/* Chrome, Edge, Safari */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

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

.sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Firefox */
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: rgb(96 96 96 / 30%) transparent;
}

.sidebar::-webkit-scrollbar {
    width:  transparent;
}

.sidebar.collapsed{
  width:80px;
}

.sidebar-header{
  height:64px;
}

.sidebar .logo-text{
  font-weight:600;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-text{
  display:none;
}

.sidebar .nav-link{
  color: hsl(145, 50%, 25%);
  padding:10px 15px;
  display:flex;
  align-items:center;
  gap:12px;
  border-radius: 10px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active{
    color: rgb(255, 255, 255);
    box-shadow: rgba(51, 153, 94, 0.4) 0px 4px 12px -2px;
    background: linear-gradient(135deg, rgb(37, 177, 95), rgb(39, 155, 116));
}

/* Header */
.topbar{
  height:64px;
  background:#fff;
  border-bottom:1px solid #e0e0e0;
  position:fixed;
  left:260px;
  right:0;
  top:0;
  transition:.3s;
}

.sidebar.collapsed ~ .content .topbar{
  left:80px;
}

/* Content */
.content{
  margin-left:260px;
  transition:.3s;
}

.sidebar.collapsed ~ .content{
  margin-left:80px;
}

.profile-img{
  width:36px;
  height:36px;
  border-radius:50%;
  object-fit:cover;
}

/* Cards */
.stat-card{
  border:none;
  border-radius:14px;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}
.profile-toggle::after{
  display:none; /* bootstrap default caret hide */
}

.transition-icon{
  font-size:14px;
  transition:transform .3s ease;
}

.dropdown.show .transition-icon{
  transform:rotate(180deg);
}

.dropdown-menu{
  z-index:1055;
}

.topbar{
  z-index:1050;
}

.sidebar{
  z-index:1040;
}

/* Submenu style */
.submenu {
      /* background: #f1fdf0; */
       background: linear-gradient(180deg, hsl(var(--sidebar-gradient-start)), hsl(var(--sidebar-gradient-end)), #d9f2e3);
}

.submenu .nav-link {
font-size: 13px;
    padding-top: 7px;
    padding-bottom: 7px;
}

/* Arrow rotate using Bootstrap collapse state */
.nav-link[aria-expanded="true"] .rotate-icon {
  transform: rotate(180deg);
}

.rotate-icon {
  transition: transform 0.3s ease;
}

/* Sidebar collapsed state */
.sidebar.collapsed .collapse {
  display: none !important;
}

.search-box {
    position: relative;
}

.wid-320 {
    width: 320px;
}
.search-box input {
    padding-left: 2rem;
}
.search-box .search-icon {
    position: absolute;
    top: 46%;
    left: 11px;
    transform: translateY(-50%);
    color: #999;
    height: 14px;
}
.submenu {
    position: relative;
}
.submenu .nav-link{
      position: relative;
}
.submenu .nav-item a:after {
    content: "";
    position: absolute;
    top: 17px;
    left: 25px;
    width: 16px;
    height: 1px;
    background: #b9c7d480;
}
.submenu:after {
    background: #b9c7d480;
    height: calc(100% - 10px);
    content: "";
    position: absolute;
    top: 5px;
    left: 25px;
    width: 1px;
}
.sidebar .main-nav {
    margin: 0px 10px;
}
.form-control, .form-select{
  font-size: 14px;
}
.dropdown-menu{
  font-size: 14px;
}
.nav-link{
      transition: auto;
}

.role-table {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e3efe6;
  overflow: hidden;
}

.table thead th {
  background-color: #f7fbf8;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid #e3efe6;
  padding: 12px 7px;
}

.table tbody td {
  font-size: 14px;
  vertical-align: middle;
  color: #222;
}

.search-box {
  max-width: 220px;
}

.badge {
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.badge-full {
  background: #e7f6ec;
  color: #1f9254;
}

.badge-view {
  background: #edf4ff;
  color: #2f6fed;
}

.badge-edit {
  background: #fff4e5;
  color: #b76e00;
}
.badge-danger {
  background: #fbe9e9;
  color: #dc2828;
}

.badge-none {
  background: #f1f1f1;
  color: #6c757d;
}

.bi-three-dots-vertical {
  cursor: pointer;
  font-size: 18px;
  color: #6c757d;
}

.btn-action {
  background: transparent;
  border: none;
  padding: 4px 6px;
}

.btn-action:focus {
  box-shadow: none;
}

.dropdown-menu {
  border-radius: 10px;
  font-size: 14px;
  min-width: 140px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 4px 12px;
}

.dropdown-item:hover {
  background-color: #f5f9f6;
}
.btn{
  font-size: 14px;
}
.login-wrapper {
  background: #f8fafc;
}

/* LEFT PANEL */
.left-panel {
  background: #239a4b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-panel .content {
  max-width: 420px;
}

.logo-box {
width: 212px;
    height: 117px;
    background: rgb(255 255 255);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0px auto;
}

.left-panel h1 {
  font-size: 36px;
}

.left-panel .desc {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
}

/* RIGHT PANEL */
.right-panel {
  background: #ffffff;
}

.login-card {
  max-width: 420px;
  padding: 20px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
}

.input-group-text {
  background: #ffffff;
  /* border-right: 0; */
}

.login-card .form-control {
  border-left: 0;
}
.left-border-rem .form-control{
  border-left: 0;

}

.form-control:focus {
  box-shadow: none;
  border-color: #ced4da;
}

.cursor-pointer {
  cursor: pointer;
}

.forgot-link {
  font-size: 14px;
  color: #239a4b;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.help-text {
  font-size: 14px;
  color: #6b7280;
}

.left-panel {
  background: linear-gradient(160deg, #1f8f45, #28a15a);
  position: relative;
  overflow: hidden;
}

/* Decorative shapes */
.overlay-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.shape-1 {
  width: 260px;
  height: 260px;
  background: #ffffff;
  top: -80px;
  left: -80px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: #b7f7cd;
  bottom: -100px;
  right: -100px;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  font-size: 18px;
  color: #c8f5da;
}
.left-panel .my-content {
    max-width: 420px;
}

/* Floating animation */
.animate-float {
  animation: float 4s ease-in-out infinite;
}
.nav-item{
      margin-bottom: 1px;
    margin-top: 1px;
}
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.logo-wid{
  width: 350px;
    margin: 10px 0px !important;
}

 .badge-perm {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 14px;
    font-weight: 500;
    white-space: nowrap;
  }

  .perm-full   { background:#e6f4ea; color:#1e7e34; }
  .perm-add    { background:#e7f1ff; color:#0d6efd; }
  .perm-edit   { background:#fff3cd; color:#856404; }
  .perm-view   { background:#e2e3e5; color:#41464b; }
  .perm-none   { background:#f8d7da; color:#842029; }

  .badge {
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 20px;
}

.badge-yes {
  background-color: #d1e7dd;
  color: #0f5132;
}

.badge-no {
  background-color: #f8d7da;
  color: #842029;
}
.no-wrap{
  white-space: nowrap;

}
.section-title {
font-weight: 600;
    color: #198754;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-top: 15px;
    margin-top: 20px;
}

.sticky-col {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
  min-width: 220px;
  font-weight: 600;
  white-space: nowrap;   /* 🔥 SAME LINE FIX */
}

.status-cell {
  width: 45px;
  height: 45px;
  cursor: pointer;
  background-color: #fff3cd;
}

.status-cell.completed {
  background-color: #d1e7dd;
}

.status-cell.rejected {
  background-color: #f8d7da;
}

.status-btn {
  min-width: 120px;
  padding: 15px;
  border-radius: 12px;
}

.status-btn.active.btn-outline-success {
  background: #198754;
  color: #fff;
}

.status-btn.active.btn-outline-danger {
  background: #dc3545;
  color: #fff;
}

 .report-card {
      background: #fff;
      border-radius: 8px;
      padding: 20px;
      box-shadow: 0 0 10px rgba(0,0,0,0.08);
    }
   
   /* Signature preview container */
.sign-preview {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* Signature image */
.sign-preview img {
  max-height: 70px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
}

/* Remove icon (top-right of image) */
.sign-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  background: #dc3545;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

/* Icon size */
.sign-remove i {
  font-size: 14px;
  line-height: 1;
}

/* Hover effect */
.sign-remove:hover {
  background: #bb2d3b;
}

.gate-card{
  background:#fff;
  border-radius:12px;
  padding:20px;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.option-grid label{
  cursor:pointer;
}

 .nav-tabs .nav-link {
  border: none;
      color: #555;
      font-weight: 500;
      padding: 8px 5px;
      margin: 0px 10px;
    }
    .nav-tabs .nav-link.active {
      border-bottom: 3px solid #279d72;
      color: #279d72;
      font-weight: 600;
    }

    .menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.menu-list li a {
  display: block;
  background: #ffffff;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  color: #212529;
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
      padding: 8px 15px;
}

.menu-list li a:hover {
  background: #198754;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* MOBILE */
@media (max-width: 991px) {
  .login-card {
    padding: 15px;
  }
}
@media (max-width: 576px) {
  .search-box {
    max-width: 100%;
  }
}
/* Responsive */
@media(max-width:992px){
  .sidebar{
    left:-260px;
  }
  .sidebar.show{
    left:0;
  }
  .content{
    margin-left:0;
  }
  .topbar{
    left:0;
  }
  .search-box{
    display:none;
  }
  .min-vh-100 {
    min-height: auto !important;
}
}

/* css added by dk */
.text-red-600 {
    --tw-text-opacity: 1;
    color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}

.main-mt-5 {
    margin-top: 3rem !important;
}

/* Remove default DataTable heavy borders */
table.dataTable {
    border-collapse: collapse !important;
    border: none;
}

/* Header style (like first screenshot) */
table.dataTable thead th {
    background-color: #f9fbf9;
    border-bottom: 1px solid #e5e7eb !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-weight: 600;
}

/* Row borders (soft horizontal lines only) */
table.dataTable tbody td {
    border-bottom: 1px solid #e5e7eb !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle;
}

/* Remove vertical separators */
table.dataTable tbody tr td + td,
table.dataTable thead tr th + th {
    border-left: none !important;
}

/* Hover effect (optional – like modern UI) */
table.dataTable tbody tr:hover {
    background-color: #f9fafb;
}

/* Extra thin horizontal line */
table.dataTable tbody td {
    border-bottom: 0.5px solid #e5e7eb !important; /* 👈 thin line */
    padding: 8px 12px; /* 👈 row height kam */
}

/* Header thin line */
table.dataTable thead th {
    border-bottom: 0.5px solid #e5e7eb !important;
    padding: 10px 12px;
}

/* Control row height */
table.dataTable tbody tr {
    height: 44px;          /* 👈 yahan height set karo */
}

/* Control cell padding (real effect yahin se aata hai) */
table.dataTable tbody td {
    padding: 6px 12px;     /* 👈 padding kam = row slim */
    vertical-align: middle;
}

.dataTables_filter{
  display: none !important;
}

.active-link {
    color: rgb(255, 255, 255) !important;
    box-shadow: rgba(51, 153, 94, 0.4) 0px 4px 12px -2px;
    background: linear-gradient(135deg, rgb(37, 177, 95), rgb(39, 155, 116));
    gap: 12px;
    border-radius: 10px
}

.main-mt-2{
  margin-top: 1rem !important;
}

ul.text-sm li{
  list-style: none !important;
}


@media print {
    ul, li {
        list-style: none !important;
    }
    .badge::before {
        content: '' !important;
    }
}

.text-left{
   text-align: left !important;
}

.text-right{
   text-align: text-right !important;
}

.text-center{
   text-align: text-center !important;
}

.select2-container .select2-selection--single {
    height: 33px;
}
.select2-selection__rendered {
    line-height: 33px !important;
}
.select2-selection__arrow {
    height: 33px !important;
}

.height100{
    height: 100%;
}


.report-header {
    border-bottom: 2px solid #f2f2f2;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.header-top {
    display: flex;
    width: 100%;
}

.logo-section,
.company-section,
.meta-section {
    width: 33.33%;
}

.logo-section {
    text-align: left;
}

.company-section {
    text-align: center;
}

.meta-section {
    text-align: right;
}

.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}

/*th, td{
  white-space: nowrap !important;
}
 
th text, td text {
    min-width: 90px !important;
}

select {
    min-width: 125px !important;
}
*/

body th:not(.report-container th),
body td:not(.report-container td) {
    white-space: nowrap !important;
    min-width: 90px !important;
}

body select:not(.report-container select) {
    min-width: 125px !important;
}

