
body {
height: 100vh;
overflow-x: hidden;
}

.app-wrapper {
display: flex;
flex-direction: column;
min-height: 100vh;
}

.sidebar {
width: 270px;
position: fixed;
top: 47px;
bottom: 56px;
padding: 0 1rem 1rem 1rem;
margin: 0;
background-color: #f8f9fa;
transition: transform 0.3s ease-in-out;
overflow-y: auto;
z-index: 1000;
border-top: none;
}

.sidebar.rtl {
right: 0;
border-left: 1px solid #dee2e6;
}

.sidebar.ltr {
left: 0;
border-right: 1px solid #dee2e6;
}

.sidebar-hidden.rtl .sidebar {
transform: translateX(100%);
}

.sidebar-hidden.ltr .sidebar {
transform: translateX(-100%);
}

.app-main {
padding: 1rem;
margin-top: 56px;
margin-bottom: 56px;
transition: margin 0.3s ease-in-out;
}

@media (min-width: 992px) {
.rtl .app-main {
  margin-right: 280px;
}

.ltr .app-main {
  margin-left: 280px;
}

.sidebar-hidden.rtl .app-main {
  margin-right: 0;
}

.sidebar-hidden.ltr .app-main {
  margin-left: 0;
}
}

@media (max-width: 991px) {
.app-wrapper:not(.sidebar-hidden) .sidebar {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.rtl .app-main,
.ltr .app-main,
.sidebar-hidden.rtl .app-main,
.sidebar-hidden.ltr .app-main {
  margin-right: 0;
  margin-left: 0;
}

.app-wrapper {}
}

.navbar-brand {
display: flex;
align-items: center;
}

.navbar-brand img {
margin-left: 0.5rem;
margin-right: 0.5rem;
}

.app-footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 56px;
background-color: #f8f9fa;
border-top: 1px solid #dee2e6;
display: flex;
align-items: center;
padding: 0 1rem;
z-index: 1000;
}

@media (max-width: 767px) {
.footer-links {
  display: none;
}

.footer-copyright {
  font-size: 0.8rem;
  text-align: center;
  width: 100%;
}

.app-footer {
  padding: 0 0.5rem;
  justify-content: center;
}
}

.sidebar-menu {
list-style: none;
padding: 0;
}

.sidebar-menu li {
margin-bottom: 0.5rem;
}

.sidebar-menu a,
.sidebar-menu .menu-toggle {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem 1rem;
color: #212529;
text-decoration: none;
border-radius: 0.25rem;
transition: background-color 0.2s;
cursor: pointer;
}

.sidebar-menu a:hover,
.sidebar-menu .menu-toggle:hover {
background-color: #e9ecef;
}

.sidebar-menu a.active {
background-color: #0d6efd;
color: white;
}

.sidebar-menu i.menu-icon {
margin-left: 0.75rem;
margin-right: 0.75rem;
}

.submenu {
list-style: none;
padding: 0;
margin: 0;
margin-right: 1.5rem;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}

.submenu.open {
max-height: 1000px;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}

.submenu li {
margin-bottom: 0.25rem;
}

.submenu a {
padding: 0.5rem 1rem;
font-size: 0.9rem;
}

.third-level-menu {
list-style: none;
padding: 0;
margin: 0;
margin-right: 1.5rem;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}

.third-level-menu.open {
max-height: 1000px;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}

.third-level-menu li {
margin-bottom: 0.25rem;
}

.third-level-menu a {
padding: 0.5rem 1rem;
font-size: 0.85rem;
}

.menu-arrow {
transition: transform 0.3s;
}

.menu-arrow.open {
transform: rotate(90deg);
}

.rtl .direction-aware {
transform: scaleX(-1);
}

.ltr .menu-arrow.open {
transform: rotate(-90deg);
}

.rtl .menu-arrow.open {
transform: rotate(90deg);
}

.sidebar-backdrop {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
}

@media (max-width: 991px) {
.sidebar-backdrop.show {
  display: block;
}
}

.dropdown-menu-notifications {
min-width: 280px;
width: 250px;
}

.notification-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
}

.notification-text {
flex: 1;
}

.notification-time {
font-size: 0.75rem;
white-space: nowrap;
margin-right: 8px;
}
/**/
.carousel-container {
    height: 70vh;
    width: 100%;
    position: relative;
}

.carousel-item {
    height: 70vh;
}

.carousel-item img {
    height: 70vh;
    object-fit: cover;
    width: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.carousel-caption h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* RTL/LTR adaptive styles */
[dir="rtl"] .carousel-control-prev {
    right: 0;
    left: auto;
}

[dir="rtl"] .carousel-control-next {
    left: 0;
    right: auto;
}

[dir="rtl"] .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z'/%3e%3c/svg%3e");
}

[dir="rtl"] .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.404 8.697 10.767 5.005c.54-.313 1.233.066 1.233.697v7.386c0 .63-.693 1.01-1.233.696L4.404 10.092a.802.802 0 0 1 0-1.395z'/%3e%3c/svg%3e");
}

@media (max-width: 768px) {
    .carousel-container {
        height: 50vh;
    }
    
    .carousel-item {
        height: 50vh;
    }
    
    .carousel-item img {
        height: 50vh;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

.content-header {
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
  background-color: #f8f9fa;
  border-radius: 0.375rem;
}

.content-header h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #212529;
  margin: 0;
}

.content-header .breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.content-header .breadcrumb-item {
  color: #6c757d;
}

.content-header .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #6c757d;
  margin: 0 0.5rem;
}

.content-header .breadcrumb-item.active {
  color: #495057;
  font-weight: 500;
}

.content-header .breadcrumb-item a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.content-header .breadcrumb-item a:hover {
  color: #0b5ed7;
  text-decoration: underline;
}

[dir="rtl"] .content-header .breadcrumb {
  direction: rtl;
}

[dir="rtl"] .content-header .breadcrumb-item + .breadcrumb-item::before {
  content: "\\";
}

[dir="rtl"] .float-sm-right {
  float: left !important;
}

[dir="ltr"] .float-sm-right {
  float: right !important;
}

.content {
  padding: 0;
}

.content .card {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: box-shadow 0.15s ease-in-out;
}

.content .card:hover {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.content .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: #495057;
}

.content .card-body {
  padding: 1.25rem;
  min-height: 200px;
}

#tableContainer {
  overflow-x: auto;
  margin-bottom: 1rem;
}

#tableContainer table {
  width: 100%;
  margin-bottom: 0;
}

#buttons-form .btn {
  margin: 0;
}

@media (max-width: 768px) {
  .content-header {
    padding: 0.75rem;
  }
  
  .content-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .content-header .breadcrumb {
    font-size: 0.8rem;
  }
  
  .content .card-body {
    padding: 1rem;
  }
  
  #buttons-form {
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  
  #buttons-form .btn {
    margin-bottom: 0.5rem;
  }
  
  #buttons-form .btn:last-child {
    margin-bottom: 0;
  }
  
  #keyFieldContainer {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 576px) {
  .content-header .row {
    flex-direction: column;
  }
  
  .content-header .col-sm-6 {
    width: 100%;
    max-width: 100%;
  }
  
  .content-header .breadcrumb {
    justify-content: flex-start;
    margin-top: 0.5rem;
  }
  
  [dir="rtl"] .content-header .breadcrumb {
    justify-content: flex-start;
  }
  
  [dir="ltr"] .float-sm-right {
    float: none !important;
  }
  
  [dir="rtl"] .float-sm-right {
    float: none !important;
  }
}

.content .card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.content .card.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2rem;
  height: 2rem;
  border: 0.25rem solid #f3f3f3;
  border-top: 0.25rem solid #0d6efd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.content .form-group {
  margin-bottom: 1rem;
}

.content .form-label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.5rem;
}

.content .form-control {
  border-radius: 0.375rem;
  border: 1px solid #ced4da;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.content .form-control:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.content .dataTables_wrapper {
  padding: 0;
}

.content .dataTables_filter {
  margin-bottom: 1rem;
}

.content .dataTables_length {
  margin-bottom: 1rem;
}

.content .alert {
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

@media print {
  .content-header,
  #buttons-form,
  .sidebar,
  .navbar,
  .app-footer {
    display: none !important;
  }
  
  .content {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .content .card {
    border: none !important;
    box-shadow: none !important;
  }
}
.content-header .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.content-header .col-sm-6 {
  flex: 1;
  min-width: 0;
}

.content-header h1 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
}

.content-header .breadcrumb {
  margin-bottom: 0;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .content-header .breadcrumb {
    font-size: 0.75rem;
  }
  
  .content-header h1 {
    font-size: 1.25rem;
  }
}
.app-content-header {
  padding: 1rem 0;
  margin-bottom: 1rem;
}

.app-content {
  padding: 0;
}

.info-box {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  min-height: 120px;
  justify-content: center;
}

.info-box:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: #0d6efd;
}

.info-box-icon {
  font-size: 2.5rem;
  /*color: #0d6efd;*/
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(54, 56, 58, 0.1);
}

.info-box-content {
  margin-top: 0.5rem;
}

.info-box-text {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
}

.input-group .form-control {
  border-radius: 0.375rem 0 0 0.375rem;
}

.input-group .btn {
  border-radius: 0 0.375rem 0.375rem 0;
  border-color: #ced4da;
}

.input-group .btn:hover {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: white;
}

@media (max-width: 768px) {
  .info-box {
    margin-bottom: 0.75rem;
    padding: 1rem;
    min-height: 100px;
  }
  
  .info-box-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
  }
  
  .info-box-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .info-box {
    padding: 0.75rem;
    min-height: 90px;
  }
  
  .info-box-icon {
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    margin-bottom: 0.5rem;
  }
  
  .info-box-text {
    font-size: 0.85rem;
  }
}
.card-hover:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: #0d6efd;
}

.input-group.date {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.input-group.date .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  border-radius: 0.375rem 0 0 0.375rem;
  border-right: none;
}

[dir="rtl"] .input-group.date .form-control {
  border-radius: 0 0.375rem 0.375rem 0;
  border-left: none;
  border-right: 1px solid #ced4da;
}

.input-group.date .datetimepicker-input {
  background-color: #ffffff;
  border: 1px solid #ced4da;
  color: #495057;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.375rem 0.75rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-group.date .datetimepicker-input:focus {
  background-color: #ffffff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  z-index: 3;
}

.input-group.date .datetimepicker-input:disabled,
.input-group.date .datetimepicker-input[readonly] {
  background-color: #e9ecef;
  opacity: 1;
  cursor: not-allowed;
}

.input-group-append {
  display: flex;
  margin-left: -1px;
}

[dir="rtl"] .input-group-append {
  margin-left: 0;
  margin-right: -1px;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 0 0.375rem 0.375rem 0;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

[dir="rtl"] .input-group-text {
  border-radius: 0.375rem 0 0 0.375rem;
}

.input-group-text:hover {
  background-color: #dee2e6;
  border-color: #0d6efd;
  color: #0d6efd;
}

.input-group-text i.fa-calendar {
  font-size: 1rem;
  color: inherit;
}

/* Focus state for the entire input group */
.input-group.date:focus-within .input-group-text {
  border-color: #86b7fe;
  background-color: #e7f1ff;
  color: #0d6efd;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .input-group.date .form-control,
  .input-group.date .datetimepicker-input {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
  }
  
  .input-group-text {
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
  }
  
  .input-group-text i.fa-calendar {
    font-size: 0.9rem;
  }
}

/* Invalid state styling */
.input-group.date .form-control.is-invalid,
.input-group.date .datetimepicker-input.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4M7.2 4.6l-1.4 1.4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

[dir="rtl"] .input-group.date .form-control.is-invalid,
[dir="rtl"] .input-group.date .datetimepicker-input.is-invalid {
  padding-left: calc(1.5em + 0.75rem);
  padding-right: 0.75rem;
  background-position: left calc(0.375em + 0.1875rem) center;
}

.input-group.date .form-control.is-invalid:focus,
.input-group.date .datetimepicker-input.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Valid state styling */
.input-group.date .form-control.is-valid,
.input-group.date .datetimepicker-input.is-valid {
  border-color: #198754;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.79-.95 2.47 2.09L7.83 5.6 8 6.33 5.16 8.76z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

[dir="rtl"] .input-group.date .form-control.is-valid,
[dir="rtl"] .input-group.date .datetimepicker-input.is-valid {
  padding-left: calc(1.5em + 0.75rem);
  padding-right: 0.75rem;
  background-position: left calc(0.375em + 0.1875rem) center;
}

.input-group.date .form-control.is-valid:focus,
.input-group.date .datetimepicker-input.is-valid:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.bg-menu-gray-1 {
  background-color: #d3d4d9;
}

.bg-menu-gray-2 {
  background-color: #dedfe4;
}

.bg-menu-gray-3 {
  background-color: #e5e6ec;
}
.card {
  margin-bottom: 1.5rem;
}
.date-filter-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.15s ease-in-out;
    background: white;
}

.date-filter-card:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.date-filter-card .card-body-2 {
    padding: 1.5rem;
}

.input-group.date {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group.date .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border-radius: 0.375rem 0 0 0.375rem;
    border-right: none;
}

[dir="rtl"] .input-group.date .form-control {
    border-radius: 0 0.375rem 0.375rem 0;
    border-left: none;
    border-right: 1px solid #ced4da;
}

.input-group-append {
    display: flex;
    margin-left: -1px;
}

[dir="rtl"] .input-group-append {
    margin-left: 0;
    margin-right: -1px;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0 0.375rem 0.375rem 0;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

[dir="rtl"] .input-group-text {
    border-radius: 0.375rem 0 0 0.375rem;
}

.input-group-text:hover {
    background-color: #dee2e6;
    border-color: #0d6efd;
    color: #0d6efd;
}

.btn-filter {
    min-width: 44px;
    width:100%;
    height: 38px;
    padding: 0;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
}

.btn-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(13, 110, 253, 0.25);
}

.btn-filter i {
    font-size: 1.1rem;
}

/* Responsive breakpoints */
@media (max-width: 992px) {
    .date-inputs-container {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-filter {
        width: 100%;
        height: 38px;
    }
}

@media (max-width: 768px) {
    .date-filter-card .card-body-2 {
        padding: 1rem;
    }
    
    .input-group.date .form-control,
    .input-group-text {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .btn-filter {
        height: 36px;
        min-width: 36px;
    }
    
    .btn-filter i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 1rem;
    }
    
    .date-filter-card .card-body-2 {
        padding: 0.75rem;
    }
    
    .input-group.date .form-control,
    .input-group-text {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }
    
    .btn-filter {
        height: 34px;
        min-width: 34px;
    }
    
    .btn-filter i {
        font-size: 0.9rem;
    }
}

/* Focus states */
.input-group.date:focus-within .input-group-text {
    border-color: #86b7fe;
    background-color: #e7f1ff;
    color: #0d6efd;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Animation for button */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-filter:active {
    animation: pulse 0.2s ease-in-out;
}

[dir="rtl"] .row > [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

[dir="ltr"] .row > [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#buttons-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  border-radius: 0 0 0.5rem 0.5rem;
  text-align: center;
  width: 100%;
}

#buttons-form .btn {
  min-width: 80px;
  min-height: 50px;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

#buttons-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#buttons-form .btn:active {
  transform: translateY(0);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.125);
}

#buttons-form .btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0056b3);
  border: none;
  color: white;
}

#buttons-form .btn-primary:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
}

#buttons-form .btn-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

#buttons-form .btn-danger {
  background: linear-gradient(135deg, #dc3545, #b02a37);
  border: none;
  color: white;
}

#buttons-form .btn-danger:hover {
  background: linear-gradient(135deg, #b02a37, #8b1e2b);
}

#buttons-form .btn-danger:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

#buttons-form .btn i {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

#buttons-form .btn:hover i {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #buttons-form {
    gap: 1rem;
    padding: 1.25rem;
    justify-content: center;
  }
  
  #buttons-form .btn {
    min-width: 70px;
    min-height: 45px;
    font-size: 1rem;
  }
  
  #buttons-form .btn i {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  #buttons-form {
    gap: 0.75rem;
    padding: 1rem;
    justify-content: center;
    align-items: center;
  }
  
  #buttons-form .btn {
    min-width: 60px;
    min-height: 40px;
  }
}

th {
  text-align: center;
  text-align: center;
  vertical-align: middle;
} 

.select-checkbox {
  text-align: center;
  vertical-align: middle;
}

.select-checkbox input[type="checkbox"] {
  margin: 0 auto;
  display: block;
}

td {
  text-align: center;
  text-align: center;
  vertical-align: middle;
}

td.td-control2 {
  text-align: center;
}

td.dt-control2:before {
  font-family: "Font Awesome 5 Free";
  content: '\f055'; 
  font-size: 20px;
  font-weight: bold;
}

tr.shown td.dt-control2:before {
  font-family: "Font Awesome 5 Free";
  content: '\f056'; 
  font-size: 20px;
  font-weight: bold;
}
