/* @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); */

body {
  padding: 0;
  margin: 0;  
  font-family: "Poppins", sans-serif;
  color: #242424;
  font-size: 15px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
}
:root {
  --space-sm: 5em;
  --stack-cards-gap: 4em;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    /* -webkit-box-shadow: 0 0 0 30px white inset !important; */
    background-color: #fff !important;
    background: #fff !important;
    transition: background-color 5000s;
}
a {
  text-decoration: none;
}
p { font-size: 16px; line-height: 1.5;}
section {
  padding: 80px 0;
}
.btn-custom-default{  
  font-family: "Poppins", sans-serif; font-size: 16px; color: #093888; font-weight: 400; padding: 10px 20px; transition: all 300ms ease-in-out; -o-transition: all 300ms ease-in-out;-ms-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; -webkit-transition: all 300ms ease-in-out;
  border: 1px solid #093888;
  border-radius: 30px;
  display: inline-block;
}
.btn-custom-default:hover {
  background-color: #D1DDFF;
  border-color: #D1DDFF;
  color: #093888;
}
.btn-custom-primary {  
  font-family: "Poppins", sans-serif; font-size: 16px; color: #fff; background-color: #1320ab; font-weight: 400; 
  padding: 10px 45px 10px 20px;
  transition: all 300ms ease-in-out; -o-transition: all 300ms ease-in-out;-ms-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; -webkit-transition: all 300ms ease-in-out;
  border: 1px solid #0060e6;
  /* background: linear-gradient(90deg, #1120c5, #9465ff 86%, #8c67ff); */
  /* background: linear-gradient(90deg, #093888, #093888 86%, #093888); */
  background: #0060e6;
  border-radius: 30px;
  display: inline-block;
  width: fit-content;
  position: relative;
}
.btn-custom-primary::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  top: 0;
  right: 20px;
  bottom: 0;
  margin: auto;
  background-image: url(../images/arrow-right-blue.png);
  background-repeat: no-repeat;
  background-position: center;
  transition: all 300ms ease-in-out; -o-transition: all 300ms ease-in-out;-ms-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; -webkit-transition: all 300ms ease-in-out;
  background-size: 18px;
  filter: grayscale(1) brightness(9);
}
.cta-custom-default {  
  font-family: "Poppins", sans-serif; font-size: 16px; color: #fff; color: #1320ab; font-weight: 400; 
  padding: 10px 45px 10px 20px;
  transition: all 300ms ease-in-out; -o-transition: all 300ms ease-in-out;-ms-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; -webkit-transition: all 300ms ease-in-out;
  /* border: 1px solid #093888; */
  /* background: linear-gradient(90deg, #1320ab, #733eed 86%, #7456d1); */
  border-radius: 30px;
  background: transparent;
  display: inline-block;
  width: fit-content;
  position: relative;
}
.cta-custom-default::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  top: 0;
  right: 20px;
  bottom: 0;
  margin: auto;
  background-image: url(../images/arrow-right-blue.png);
  background-repeat: no-repeat;
  background-position: center;
  transition: all 300ms ease-in-out; -o-transition: all 300ms ease-in-out;-ms-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; -webkit-transition: all 300ms ease-in-out;
  background-size: 18px;
  /* filter: grayscale(1) brightness(9); */
}
.btn-custom-primary:hover::before, .cta-custom-default:hover::before {
  right: 15px;
}
.btn-custom-primary:hover {
  background-color: #D1DDFF;
  /* background: linear-gradient(90deg, #1120c5, #9465ff 86%, #8c67ff); */
  /* background: linear-gradient(90deg, #093888, #093888 86%, #093888); */
  /* background: linear-gradient(90deg, #7456d1, #1e2aac 86%, #1320ab); */
  /* border-color: #D1DDFF; */
  background: #0060e6;
  color: #fff;
}
.btn-custom-secondary {
  font-family: "Poppins", sans-serif; font-size: 16px; color: #093888; background-color: transparent; font-weight: 400; 
  padding: 10px 45px 10px 20px;
  transition: all 300ms ease-in-out; -o-transition: all 300ms ease-in-out;-ms-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; -webkit-transition: all 300ms ease-in-out;
  /* border: 1px solid #093888; */
  /* background: linear-gradient(90deg, #1120c5, #9465ff 86%, #8c67ff); */
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 30px;
  display: inline-block;
  width: fit-content;
  position: relative;
}
.btn-custom-secondary::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  top: 0;
  right: 20px;
  bottom: 0;
  margin: auto;
  background-image: url(../images/arrow-right-blue.png);
  background-repeat: no-repeat;
  background-position: center;
  transition: all 300ms ease-in-out; -o-transition: all 300ms ease-in-out;-ms-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; -webkit-transition: all 300ms ease-in-out;
  background-size: 18px;
  filter: grayscale(1) brightness(9);
}
.btn-custom-secondary:hover::before {
  right: 15px;
  /* filter: unset; */
}
.btn-custom-secondary:hover {
  background-color: #093888;
  /* background: linear-gradient(90deg, #1120c5, #9465ff 86%, #8c67ff); */
  background: linear-gradient(90deg, #093888, #093888 86%, #093888 );
  border-color: #093888;
  color: #ffffff;
}
.form-control, .form-select, .select2-selection.select2-selection--multiple {
    /* border-radius: 20px !important;
    font-size: 14px;
    padding: 5px 10px !important; */
}
.form-data .form-control, .form-data .form-select, .form-data .select2-selection.select2-selection--multiple {
    font-size: 14px;
}
.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
    border-radius: 20px;
}
.remove-detail {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
}
.datepicker-days {
    font-size: 14px;
}
.navbar.navbar-static-top {
    background: #f8fafd;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.06);
}
.custom-btn {z-index: 0; display: inline-block; overflow: hidden; text-decoration: none; position: relative; text-transform: uppercase; font-size: 15px; letter-spacing: 1px; color: #fff; font-weight: 500; padding: 12px 35px; border: 2px solid #fff;  transition: all 300ms ease-in-out; background: transparent;}
.custom-btn i { margin-left: 5px; }
.custom-btn:hover { color: #131220; }
.custom-btn::after { position: absolute; content: ""; height: 100%; width: 100%;transition: all 300ms ease-in-out; background-color: #fff; z-index: -1; left: -100%; top:0; }
.custom-btn:hover::after { left: 0; }
.section-heading > h2 {
  color: #242424;
  font-weight: 500;
  font-size: 45px;
}
.text-gradient {
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #1120c5, #9465ff 86%, #1120c5);
    -webkit-background-clip: text;
    background-clip: text;
    /* background-image: linear-gradient(90deg, #5077ff, #9465ff 54%, #5077ff); */
}
.text-gradient-light {
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  background-image: linear-gradient(90deg, #5077ff, #9465ff 54%, #5077ff);
}
.section-heading h6 {
  font-weight: 400;
  line-height: 1.5;
}
.section-heading h6 > span {
  color: #093888;
  /* text-transform: uppercase; */
  /* letter-spacing: 1px; */
  font-weight: 500;
}
.semi-heading {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #242424;
  font-weight: 400;
}
.custom-btn.btn-dark {color: #fff; background-color: #093888; border: 1px solid #093888}
.custom-btn.btn-dark:hover {color: #fff; border-color: #242424;}
.custom-btn.btn-dark::after {background-color: #242424; }

.bg-custom-light {
  background-color: #F9F9FA;
}
.bg-custom-dark {
  background-color: #000;
}
.cta-link {
  color: #093888;
  display: inline-block;
  transition: all 300ms ease-in-out;
  background-size: 16px;
  font-weight: 500;
}
.cta-link:hover {
  color: #093888;
}
.desc { color: #242424;}
.desc ul li, .desc p {
  margin-bottom: 10px;
}
.bg-img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.developedby-wrap > img {
  filter: grayscale(1) brightness(0);
  width: 18px;
  transition: all 300ms ease-in-out;
}
.developedby-wrap:hover > img {
  filter: unset;
}

.custom-cta {
  display: inline-block;
  padding: 10px 0;
  text-decoration: underline;
}
.bg-custom-dark-gradient {
  /* background-image: linear-gradient(146.67deg, rgb(5, 17, 26) 19.84%, rgb(40, 42, 67) 81.41%); */
  background-image: linear-gradient(146.67deg, #000871 19.84%, #3c499b 81.41%);
  background-image: linear-gradient(90deg, #1120c5, #9465ff 86%, #8c67ff);
}

.signin-wrapper {
  min-height: 100vh;
}
.custom-form .input-group .form-control {
  padding: 12px 10px;
  font-size: 14px;
}
.custom-form .input-group .input-group-text > img {
  width: 16px;
}
.custom-form .input-group .form-control:focus {
  /* box-shadow: none; */
  border-color: #dee2e6;
}
.pswd-visible-btn {
  cursor: pointer;
  display: inline-block;
  padding: 5px;
  border-radius: 5px;
  transition: all 300ms ease-in-out;
  height: 34px;
  width: 34px;
}
.pswd-visible-btn > img {
  width: 18px;
}
.pswd-visible-btn:hover {
  background-color: #eee;
}
.bg-tm-light {
  background-color: #f3f6ff;
}
.custom-form label.error {
  position: relative;
  padding: 0;
  height: auto;
  color: #d00c0c;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  margin-top: 7px;
  top: unset;
  left: 0;
  transform: none !important;
  border: 0;
}
.custom-form .form-control.error {
  border-color: #d00c0c;
}
.custom-form .input-group label.error {
  position: absolute;
  bottom: -13px;
  margin: 0;
  font-size: 12px;
  left: 10px;
}
.desc h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 15px 0 20px;
}
.desc h3 { font-size: 26px; font-weight: 600;}
.desc h4 { font-size: 22px; font-weight: 600;}

/* Scrolling content with image sticky */
.alert .close {
  line-height: 0.5;
  border: 0;
  background: #fff;
  height: 24px;
  width: 24px;
  padding: 3px;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 14px;
  padding: 7px;
}
.content-wrapper {
  background-color: #f8fafd;
}
.navbar-nav>.user-menu .user-image {
  object-fit: cover;
  float: none;
  margin-top: 0;
}
.content-wrapper, .main-footer, .main-header .navbar {
  margin-left: 260px;
}
/* New Sidebar CSS Starts */
.main-sidebar{
  width:260px;
  min-height:100vh;
  background:#fff;
  /* border-right:1px solid #e5e7eb; */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.sidebar a{
  color:#1f2937;
  text-decoration:none;
  font-size:14px;
}
.sidebar .nav-link{
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:6px;
}
.sidebar .nav-link.active,
.sidebar .nav-link:hover{
  background:#eef4ff;
  color:#2563eb;
}
.sidebar svg{
  width:18px;
  height:18px;
  fill:currentColor;
}
.user-panel{
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
}
.user-panel>.info>p { margin-bottom: 0;}
.user-panel>.info {
  position: relative;
  left: 0;
}
.user-panel img{
  width:40px;
  height:40px;
  border-radius:50%;
}
.sidebar-menu li>a {
  display: flex;
  align-items: flex-start;
}
.main-header .navbar {
  padding: 7px;
  min-height: unset;
}
.main-header .navbar .nav-link {
  line-height: 1;
}
.main-header .sidebar-toggle:before {
  content: "";
}
.main-header .sidebar-toggle {
  height: 30px;
  padding: 10px;
  width: 30px;
  height: 25px;
  padding: 0;
  width: 30px;
  float: none;
  line-height: 1;
  display: grid;
  align-items: center;
  text-align: center;
  border-radius: 50%;
}
.main-header .sidebar-toggle:hover {
  color: #8c67ff;
}
.treeview-menu>li>a { padding: 5px 5px 5px 15px; }
.notifications-menu .badge {
  position: absolute;
  top: -3px;
  background: #333;
  right: -2px;
  font-size: 9px;
  font-weight: 400;
  height: 20px;
  width: 20px;
  display: grid;
  align-items: center;
  border-radius: 50%;
  padding: 0;
}
/* New Sidebar CSS Ends */

.sidebar-menu .menu-open>a>.fa-angle-right, .sidebar-menu .menu-open>a>.pull-right-container>.fa-angle-right {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
.sidebar-menu li a:hover {
    color: #000;
}
.sidebar-menu .active > a, .sidebar-menu .active > a:hover {
    color: #2563eb;
}
#slimScrollBar {
  width: 3px !important;
}
.navbar-nav>.user-menu>.dropdown-menu>li.user-header {
  height: unset;
  display: flex;
  align-items: center;
}
.navbar-nav>.user-menu>.dropdown-menu>li.user-header>img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  border: 0;
}
.navbar-nav>.user-menu>.dropdown-menu>li.user-header>p {
  margin: 0 0 0 10px;
}
.navbar-nav>.user-menu>.dropdown-menu>.user-footer {
  padding: 5px;
}
.navbar-nav>.user-menu>.dropdown-menu {
  border-top-width: 1px;
  border-radius: 15px;
  overflow: hidden;
}
/* GPT CSS */

:root {
    /* --primary-blue: #3c8dbc; */
    --primary-blue: #3c8bff;
    --success-green: #00a65a;
    --info-cyan: #00c0ef;
    --warning-yellow: #f39c12;
    --danger-red: #dd4b39;
    --purple: #605ca8;
    --navy: #001f3f;
    --teal: #39cccc;
    --light-blue: #3c8dbc;
    
    --bg-light: #e9f2ff;
    --bg-white: #ffffff;
    --text-dark: #333333;
    --text-muted: #777777;
    --border-color: #d2d6de;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
}

/* Main Content Wrapper */
.content-wrapper {
    padding: 20px;
    min-height: calc(100vh - 50px);
}

/* Page Header */
.page-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 24px;
    font-weight: 300;
    margin: 0;
    color: var(--text-dark);
}

.page-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 5px;
}

.page-breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
}

/* KPI Stats Slider Section */
.stats-slider-wrapper {
    margin-bottom: 15px;
    position: relative;
}

.stats-slider-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d2d6de #f4f4f4;
    padding-bottom: 10px;
}

.stats-slider-container::-webkit-scrollbar {
    height: 8px;
}

.stats-slider-container::-webkit-scrollbar-track {
    background: #f4f4f4;
    border-radius: 4px;
}

.stats-slider-container::-webkit-scrollbar-thumb {
    background: #d2d6de;
    border-radius: 4px;
}

.stats-slider-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.stats-slider {
    display: flex;
    gap: 15px;
    min-width: min-content;
    position: relative;
}

/* AdminLTE Small Box (KPI Cards) */
.small-box {
    min-width: 320px;
    border-radius: 3px;
    position: relative;
    display: block;
    margin-bottom: 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background: var(--bg-white);
    border-left: 4px solid;
}
.small-box.rounded-4 {
    background: #fff !important;
    border-color: #4d68ac;
}
.stats-slider .small-box {
    display: flex;
    flex-wrap: wrap;
    flex-flow: column;
    justify-content: space-between;
}
.stats-slider .small-box:nth-child(4n - 3) {
    border-left-color: #7e6ad4;
}
.stats-slider .small-box:nth-child(4n - 2) {
    border-left-color: #d32f21;
}
.stats-slider .small-box:nth-child(4n - 1) {
    border-left-color: #e05ab4;
}
.stats-slider .small-box:nth-child(4n) {
    border-left-color: #e5b743;
}
.small-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.stats-slider .small-box:nth-child(4n - 2) .sm-box-header a.btn { 
    background-color: #fff;
    border: 1px solid #d32f21;
    color: #d32f21;
}
.small-box > .inner {
    padding: 0px;
}
.small-box h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.small-box p {
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
}
.small-box .icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 0;
    font-size: 70px;
    opacity: 0.15;
}
.small-box-footer {
    padding: 10px 15px;
    text-align: left;
    display: block;
    color: rgba(0,0,0,0.5);
    text-decoration: none;
    /* background: #0d6efd !important; */
    background: #3c8bff !important;
    font-size: 12px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    margin-top: 10px;
}
.small-box-footer:hover {
    background: rgba(0,0,0,0.05);
    color: rgba(0,0,0,0.7);
}
/* Badge Groups in KPI Cards */
.kpi-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.kpi-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    line-height: 1.5;
    background-color: #4d68ab1f;
    color: #333;
    backdrop-filter: blur(5px);
    z-index: 1;
}
.kpi-badge:hover {
    background-color: #4d68ac;
    color: #fff;
}

/* Color Variants for Small Boxes */
.bg-aqua { background-color: var(--info-cyan) !important; border-top-color: var(--info-cyan); }
.bg-green { background-color: var(--success-green) !important; border-top-color: var(--success-green); }
.bg-yellow { background-color: var(--warning-yellow) !important; border-top-color: var(--warning-yellow); }
.bg-red { background-color: var(--danger-red) !important; border-top-color: var(--danger-red); }
.bg-purple { background-color: var(--purple) !important; border-top-color: var(--purple); }
.bg-navy { background-color: var(--navy) !important; border-top-color: var(--navy); }
.bg-teal { background-color: var(--teal) !important; border-top-color: var(--teal); }

/* Sticky Filter Toolbar */
.filter-toolbar {
    background: var(--bg-white);
    padding: 10px;
    border-radius: 3px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.filter-group {
    display: flex;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
}

.filter-row .filter-group { 
    max-width: 450px;
    width: 40%;
}
.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}
.filter-toolbar .input-group select.form-select, .filter-toolbar .input-group input.form-control {
    font-size: 13px;
    border-top-right-radius: 20px;
    border-left: 0;
    border-bottom-right-radius: 20px;
    padding-left: 5px;
}
.filter-toolbar .input-group .input-group-text { border-top-left-radius: 20px; border-bottom-left-radius: 20px; border-right: 0; background-color: #fff;}
.input-group select.form-select:focus, .input-group input.form-control:focus { box-shadow: none; border-color: #dee2e6; }

/* .form-control {
    font-size: 14px;
    height: 38px;
    border-color: var(--border-color);
}
.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(60, 141, 188, 0.25);
}
    */
.input-group {
    flex: 1;
    /* min-width: 200px;
    max-width: 350px; */
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn {
    font-size: 13px;
    padding: 7px 12px;
    border-radius: 20px !important;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--bs-btn-hover-bg);
}
.sm-box-header a.btn {
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    border: 0;
}
.sm-box-header a.btn:hover {
    background: rgba(0, 0, 0, 0.25);
}
.btn-success {
    background-color: var(--success-green);
    color: white;
}

.btn-success:hover {
    background-color: #008d4c;
}

.btn-danger {
    background-color: var(--danger-red);
    color: white;
}

.btn-danger:hover {
    background-color: #c23321;
}

.btn-default {
    background-color: #f4f4f4;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-default:hover {
    background-color: #e7e7e7;
}

/* Box (AdminLTE Card) */
.box {
    position: relative;
    border-radius: 3px;
    background: var(--bg-white);
    border-top: 3px solid var(--border-color);
    margin-bottom: 20px;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.box.box-primary {
    border-top-color: var(--primary-blue);
}

.box-header {
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f4f4f4;
}

.box-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.box-tools {
    display: flex;
    gap: 8px;
    align-items: center;
}

.box-body {
    padding: 0;
    position: relative;
}

/* Table Container with Sticky Elements */
.table-responsive {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 650px;
    position: relative;
}

.table {
    margin: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

/* Sticky Header and First Column */
.table thead th {
    position: sticky;
    top: 0;
    background: #f9f9f9;
    z-index: 10;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    color: #666;
    padding: 5px 5px;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
    letter-spacing: 0.3px;
    vertical-align: middle;
}

.table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 11;
    background: #f9f9f9;
}

.table tbody td:first-child {
    position: sticky;
    left: 0;
    background: white;
    z-index: 5;
}

.table tbody tr:hover td:first-child {
    background: #f5f5f5;
}

.table tbody tr {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f4f4f4;
}

.table tbody tr:hover {
    background-color: #f5f5f5;
}

.table tbody tr.selected {
    background-color: #e3f2fd !important;
}

.table tbody td {
    padding: 3px 10px;
    font-size: 13px;
    color: var(--text-dark);
    vertical-align: middle;
    white-space: nowrap;
    line-height: 1;
}

/* Row Actions - Show on Hover */
.row-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.table tbody tr:hover .row-actions {
    opacity: 1;
}

.action-icon-btn {
    width: 27px;
    height: 27px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 10px;
}

.action-icon-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: scale(1.05);
}

.action-icon-btn.btn-edit:hover {
    /* background: var(--info-cyan); */
    /* border-color: var(--info-cyan); */
}

.action-icon-btn.btn-delete:hover {
    background: var(--danger-red);
    border-color: var(--danger-red);
}

.action-icon-btn.btn-star:hover {
    /* background: var(--warning-yellow); */
    /* border-color: var(--warning-yellow); */
}

/* Priority and Status Badges */
.label {
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 15px;
    /* text-transform: uppercase; */
    display: inline-block;
    white-space: nowrap;
}

.label-success { background-color: var(--success-green); color: white; }
.label-info { background-color: var(--info-cyan); color: white; }
.label-warning { background-color: var(--warning-yellow); color: white; }
.label-danger { background-color: var(--danger-red); color: white; }
.label-default { background-color: #d2d6de; color: #444; }
.label-primary { background-color: var(--primary-blue); color: white; }

/* Email Links */
.email-link {
    color: var(--primary-blue);
    text-decoration: none;
}

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

/* Pagination */
.box-footer {
    padding: 15px;
    border-top: 1px solid #f4f4f4;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-info {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-size-selector select {
    width: 70px;
    height: 32px;
    padding: 4px 8px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 13px;
}

.pagination {
    margin: 0;
    display: flex;
    gap: 4px;
}

.pagination li {
    list-style: none;
}

.pagination a,
.pagination span {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    display: inline-block;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: var(--bg-light);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.pagination .active span {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.pagination .disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Checkbox Styling */
.checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.table-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

/* Loading State */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
.form-data .form-control, .form-data .form-select {
    font-size: 14px;
    border-radius: 20px;
    padding: 7px 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.form-group > a {
    display: flex;
    align-items: center;
    width: max-content;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 14px;
}

/* Tooltips */
[data-toggle="tooltip"] {
    position: relative;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .small-box {
        min-width: 240px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 10px;
    }
    
    .page-header {
        margin-bottom: 15px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .small-box {
        min-width: 220px;
    }
    
    .small-box h3 {
        font-size: 26px;
    }
    
    .small-box .icon {
        font-size: 50px;
    }
    
    .filter-toolbar {
        padding: 10px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .input-group {
        max-width: 100%;
    }
    
    .action-buttons {
        width: 100%;
    }
    
    .action-buttons .btn {
        flex: 1;
    }
    
    .box-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pagination {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    /* Make actions always visible on mobile */
    .row-actions {
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .small-box {
        min-width: 180px;
    }
    
    .table thead th,
    .table tbody td {
        padding: 8px 6px;
        font-size: 12px;
    }
}

/* Print Styles */
@media print {
    .filter-toolbar,
    .box-tools,
    .row-actions,
    .box-footer {
        display: none !important;
    }
    
    .table thead th {
        position: static;
    }
    
    .table tbody td:first-child {
        position: static;
    }
}