/**
* Template Name: NiceAdmin
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Updated: Apr 20 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f6f9ff;
  color: #444444;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #012970;
  font-family: "Poppins", sans-serif;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #012970;
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 26px;
  margin-right: 6px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #012970;
  font-family: "Nunito", sans-serif;
}

.header {
  transition: all 0.5s;
  z-index: 999;
  height: 60px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #012970;
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #012970;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

@media (min-width: 1200px) {

  #main,
  #footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 0;
  }

  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #4154f1;
  transition: 0.3;
  background: #f6f9ff;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #4154f1;
}

.sidebar-nav .nav-link.collapsed {
  color: #012970;
  background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
  color: #899bbd;
}

.sidebar-nav .nav-link:hover {
  color: #4154f1;
  background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
  color: #4154f1;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #012970;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #4154f1;
}

.sidebar-nav .nav-content a.active i {
  background-color: #4154f1;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: #012970;
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #4154f1;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #012970;
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #012970;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4154f1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: #012970;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}

.main-content {
    margin-top: 60px; /* Adjust this value based on your topnav height */
    padding-top: 20px;
    min-height: calc(100vh - 60px);
}

/* Ensure the main content doesn't get hidden behind the fixed header */
.header {
    z-index: 999;
}

/* Add some spacing between sections */
.section {
    padding: 20px 0;
}

/* DataTables Sorting Styles */
.sorting {
    position: relative;
    cursor: pointer;
}

.sorting i {
    margin-left: 5px;
    font-size: 0.8em;
    opacity: 0.5;
}

.sorting:hover i {
    opacity: 1;
}

.sorting_asc i {
    opacity: 1;
    color: #0d6efd;
}

.sorting_desc i {
    opacity: 1;
    color: #0d6efd;
}

.sorting_asc i:before {
    content: "\F143" !important; /* Bootstrap Icons up arrow */
}

.sorting_desc i:before {
    content: "\F13D" !important; /* Bootstrap Icons down arrow */
}

/*--------------------------------------------------------------
# Lessons Table Improvements
--------------------------------------------------------------*/
.lessons-card .card-body {
    padding: 0;
    width: 100%;
}

.lessons-table-wrapper {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: visible;
    border-radius: 0;
}

.lessons-table-wrapper .dataTables_wrapper {
    padding: 0;
}

/* DataTables Length Selector Styling */
.lessons-table-wrapper .dt-length {
    display: flex;
    align-items: center;
}

.lessons-table-wrapper .dt-length label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
}

.lessons-table-wrapper .dt-length select {
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background-color: #ffffff;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    min-width: 80px;
    height: 40px;
}

.lessons-table-wrapper .dt-length select:hover {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.lessons-table-wrapper .dt-length select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background-color: #ffffff;
}

.lessons-table-wrapper .dt-length select option {
    padding: 0.5rem;
    background-color: #ffffff;
    color: #495057;
}

.lessons-table-wrapper .dt-length select option:hover {
    background-color: #f8f9fa;
}

/* DataTables Search Input Styling */
.lessons-table-wrapper .dt-search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.lessons-table-wrapper .dt-search label {
    margin: 0;
    margin-right: 0.75rem;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    white-space: nowrap;
}

.lessons-table-wrapper .dt-search input {
    padding: 0.6rem 1rem 0.6rem 2.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background-color: #ffffff;
    color: #495057;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 300px;
    max-width: 100%;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23adb5bd' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 16px;
}

.lessons-table-wrapper .dt-search input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.lessons-table-wrapper .dt-search input:hover {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23667eea' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
}

.lessons-table-wrapper .dt-search input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23667eea' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
}

.lessons-table-wrapper .dt-search input:focus::placeholder {
    color: #ced4da;
}

/* DataTables Info Text Styling */
.lessons-table-wrapper .dt-info {
    padding: 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 40px;
    line-height: 1.5;
}

.lessons-table-wrapper .dt-info::before {
    content: '\F4FE';
    font-family: 'bootstrap-icons';
    margin-right: 0.5rem;
    color: #667eea;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.lessons-table {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.lessons-table thead th {
    padding: 1.25rem 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.lessons-table thead th:last-child {
    border-right: none;
}

.lessons-table thead th:first-child {
    border-top-left-radius: 12px;
}

.lessons-table thead th:last-child {
    border-top-right-radius: 12px;
}

.lessons-table thead th i {
    opacity: 0.9;
    color: #ffffff;
}

.lessons-table thead th .dt-column-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    white-space: normal;
    vertical-align: middle;
    width: 100%;
}

.lessons-table thead th .dt-column-title i {
    flex-shrink: 0;
    vertical-align: middle;
}

.lessons-table thead th .dt-column-title span {
    display: inline-block;
    line-height: 1.3;
    vertical-align: middle;
    text-align: left;
}

.lessons-table thead th.text-center .dt-column-title {
    justify-content: center;
}

.lessons-table thead th.text-center .dt-column-title span {
    text-align: center;
}

/* Status column alignment - for students and activities */
.lessons-table thead th[data-dt-column="4"] .dt-column-title:has(i.bi-info-circle),
.lessons-table thead th[data-dt-column="5"] .dt-column-title:has(i.bi-info-circle),
.lessons-table thead th:has(i.bi-info-circle) .dt-column-title {
    margin-left: -1rem;
    padding-left: 0.5rem;
}

.lessons-table tbody td {
    padding: 1.75rem 2rem;
    vertical-align: middle;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #e9ecef;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 60px;
}

.lessons-table tbody td:last-child {
    border-right: none;
}

.lessons-table tbody tr {
    transition: all 0.2s ease;
}

.lessons-table tbody tr {
    min-height: 60px;
}

.lessons-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.lessons-table tbody tr:last-child td {
    border-bottom: none;
}

/* Title Column */
.lesson-title-cell {
    width: 20%;
    text-align: left !important;
}

.lesson-title-text {
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    font-size: 1rem;
}

/* Content Column */
.lesson-content-cell {
    width: 28%;
    text-align: left !important;
}

.lesson-content-preview {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    display: flex;
    align-items: flex-start;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 50px;
}

.lesson-content-preview i {
    color: #667eea;
    font-size: 0.9rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.lesson-content-preview span {
    line-height: 1.5;
    font-size: 0.9rem;
    color: #6c757d;
    word-break: break-word;
    display: block;
}

/* Link Column */
.lesson-link-cell {
    width: 22%;
    text-align: center !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.lesson-link-cell .grading-period-badge {
    display: inline-flex;
    margin: 0 auto;
}

.lesson-link {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #667eea;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    min-height: 40px;
}

.lesson-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}

.lesson-link i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.lesson-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Date Column */
.lesson-date-cell {
    width: 15%;
    white-space: nowrap;
}

.lesson-date-wrapper {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

.lesson-date-wrapper i {
    color: #4facfe;
    font-size: 0.9rem;
}

.lesson-date-wrapper span {
    color: #495057;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Status Column */
.lesson-status-cell {
    width: 14%;
    text-align: center !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.lesson-status-cell .status-badge {
    display: inline-flex;
    margin: 0 auto;
    max-width: 100%;
}

/* Actions Column */
.lesson-actions-cell {
    width: 10%;
    text-align: center;
    vertical-align: middle;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.lesson-actions-cell > * {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lesson-actions-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.lesson-actions-cell .btn-group {
    justify-content: center;
    margin: 0 auto;
    display: flex;
    padding: 0;
}

/* Grading Period Badge Styling */
.grading-period-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    color: #ffffff;
    font-family: 'Poppins', 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.grading-period-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.grading-period-badge:hover::before {
    left: 100%;
}

.grading-period-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.grading-period-badge i {
    font-size: 1.1rem;
    opacity: 0.95;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.grading-period-badge span {
    letter-spacing: 1.2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.grading-period-prelim {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.grading-period-midterm {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.grading-period-finals {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

/* Status Badge Styling */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 18px;
    color: #ffffff;
    font-family: 'Poppins', 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    width: fit-content;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.status-badge:hover::before {
    left: 100%;
}

.status-badge:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.status-badge i {
    font-size: 0.8rem;
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.status-badge:hover i {
    transform: scale(1.1);
}

.status-badge span {
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    font-weight: 600;
    display: inline-block;
}

.status-active {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%) !important;
}

.status-inactive {
    background: linear-gradient(135deg, #636e72 0%, #b2bec3 100%) !important;
    opacity: 0.85;
}

.status-pending {
    background: linear-gradient(135deg, #fdc830 0%, #f37335 100%) !important;
}

.status-completed {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
}

.status-missed {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
}

.grading-period-na {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%) !important;
    opacity: 0.7;
}

.btn-action {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-action::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn-action:hover::before {
    width: 200px;
    height: 200px;
}

.btn-action i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1;
}

.btn-action:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.btn-action-view i {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 0 4px rgba(0, 123, 255, 0.8));
}

.btn-action-view:hover i {
    color: #ffffff !important;
    filter: drop-shadow(0 0 6px rgba(0, 123, 255, 1));
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-action-edit i {
    color: #000000 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.8));
}

.btn-action-edit:hover i {
    color: #000000 !important;
    filter: drop-shadow(0 0 6px rgba(255, 193, 7, 1));
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

.btn-action-delete i {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 0 4px rgba(220, 53, 69, 0.8));
}

.btn-action-delete:hover i {
    color: #ffffff !important;
    filter: drop-shadow(0 0 6px rgba(220, 53, 69, 1));
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-action-edit {
    background: #ffc107 !important;
    color: #000000 !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5) !important;
    border-width: 2px !important;
}

.btn-action-edit:hover {
    background: #ffb300 !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #000000 !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.btn-action-edit:active {
    background: #ffa000 !important;
    transform: translateY(0) scale(0.98);
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-action-delete {
    background: #dc3545 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5) !important;
    border-width: 2px !important;
}

.btn-action-delete:hover {
    background: #c82333 !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.btn-action-delete:active {
    background: #bd2130 !important;
    transform: translateY(0) scale(0.98);
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-action-view {
    background: #007bff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5) !important;
    border-width: 2px !important;
}

.btn-action-view:hover {
    background: #0056b3 !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.btn-action-view:active {
    background: #004085 !important;
    transform: translateY(0) scale(0.98);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-action:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
}

.btn-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* DataTables Pagination Styling */
.lessons-table-wrapper .dt-paging {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}

.lessons-table-wrapper .dt-paging nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.lessons-table-wrapper .dt-paging .pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.lessons-table-wrapper .dt-paging .page-item {
    margin: 0;
    display: flex;
    align-items: center;
}

.lessons-table-wrapper .dt-paging .page-link {
    padding: 0.6rem 1rem;
    margin: 0;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background-color: #ffffff;
    color: #495057;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    line-height: 1;
}

.lessons-table-wrapper .dt-paging .page-link:hover:not(:disabled) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lessons-table-wrapper .dt-paging .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.lessons-table-wrapper .dt-paging .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #f8f9fa;
    color: #adb5bd;
    border-color: #e9ecef;
}

.lessons-table-wrapper .dt-paging .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    background-color: #f8f9fa;
    color: #adb5bd;
    border-color: #e9ecef;
}

.lessons-table-wrapper .dt-paging .page-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.lessons-table-wrapper .dt-paging .page-link:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .lesson-content-preview {
        padding: 0.4rem 0.6rem;
    }
    
    .lesson-content-preview span {
        font-size: 0.8rem;
    }
    
    .lesson-link {
        padding: 0.35rem 0.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .lessons-table thead th,
    .lessons-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .lesson-title-icon {
        width: 32px !important;
        height: 32px !important;
    }
    
    .lesson-content-preview span {
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .btn-action {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .lesson-actions-group {
        gap: 0.35rem;
    }
    
    .lessons-table-wrapper .dt-paging .pagination {
        gap: 0.35rem;
    }
    
    .lessons-table-wrapper .dt-paging .page-link {
        padding: 0.5rem 0.75rem;
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .lessons-table-wrapper .dt-length label {
        font-size: 0.85rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .lessons-table-wrapper .dt-length select {
        padding: 0.4rem 2rem 0.4rem 0.6rem;
        font-size: 0.85rem;
        min-width: 70px;
        height: 36px;
    }
    
    .lessons-table-wrapper .dt-search {
        justify-content: flex-start;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .lessons-table-wrapper .dt-search label {
        font-size: 0.85rem;
        margin-right: 0.5rem;
    }
    
    .lessons-table-wrapper .dt-search input {
        width: 100%;
        padding: 0.5rem 1rem 0.5rem 2.5rem;
        font-size: 0.85rem;
        height: 36px;
        background-size: 14px;
        background-position: left 0.6rem center;
    }
    
    .lessons-table-wrapper .dt-info {
        font-size: 0.85rem;
        padding: 0.4rem 0;
        height: auto;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .lessons-table-wrapper .dt-info::before {
        font-size: 0.9rem;
        margin-right: 0.4rem;
    }
}