body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f5f6fa;
}

.wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sidebar::-webkit-scrollbar {
  display: none;
}
.sidebar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.sidebar .sidebar-header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.sidebar .sidebar-header .sidebar-logo {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  padding: 3px;
  overflow: hidden;
}
.sidebar .sidebar-header .sidebar-logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.sidebar .sidebar-header .sidebar-logo i {
  font-size: 18px;
  color: #667eea;
}
.sidebar .sidebar-header .sidebar-brand h5 {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1px;
}
.sidebar .sidebar-header .sidebar-brand small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
}
.sidebar .sidebar-header .sidebar-brand .sidebar-shimmer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgb(102, 126, 234) 25%, rgba(255, 255, 255, 0.9) 50%, rgb(118, 75, 162) 75%, rgba(255, 255, 255, 0.4) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 3s linear infinite;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.sidebar .sidebar-menu {
  padding: 0.5rem 0;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar .sidebar-menu::-webkit-scrollbar {
  display: none;
}
.sidebar .sidebar-menu {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.sidebar .sidebar-menu .nav-item {
  margin: 0.1rem 0.5rem;
}
.sidebar .sidebar-menu .nav-section {
  padding: 0.5rem 0.85rem 0.2rem;
  margin-top: 0.15rem;
}
.sidebar .sidebar-menu .nav-section span {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}
.sidebar .sidebar-menu .sidebar-badge {
  font-size: 0.55rem;
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
  line-height: 1.2;
  margin-left: auto;
  animation: pulse-badge 2s ease-in-out infinite;
}
.sidebar .sidebar-menu .nav-link {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.78rem;
  position: relative;
}
.sidebar .sidebar-menu .nav-link i {
  width: 20px;
  font-size: 0.9rem;
  margin-right: 10px;
}
.sidebar .sidebar-menu .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}
.sidebar .sidebar-menu .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.sidebar .sidebar-menu .nav-link.active::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: #fff;
  border-radius: 0 3px 3px 0;
}
.sidebar .sidebar-menu .nav-link.nav-link-collapse .bi-chevron-down {
  transition: transform 0.2s ease;
  font-size: 0.7rem;
}
.sidebar .sidebar-menu .nav-link.nav-link-collapse[aria-expanded=true] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.sidebar .sidebar-menu .nav-link.nav-link-collapse[aria-expanded=true] .bi-chevron-down {
  transform: rotate(180deg);
}
.sidebar .sidebar-menu .submenu {
  padding: 0.25rem 0 0.25rem 0;
}
.sidebar .sidebar-menu .submenu .nav-item {
  margin: 0.1rem 0;
}
.sidebar .sidebar-menu .submenu .nav-link {
  padding: 0.35rem 0.75rem 0.35rem 2.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}
.sidebar .sidebar-menu .submenu .nav-link i {
  font-size: 0.8rem;
  opacity: 0.8;
}
.sidebar .sidebar-menu .submenu .nav-link:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}
.sidebar .sidebar-menu .submenu .nav-link.active {
  color: #fff;
  background: rgba(102, 126, 234, 0.2);
}
.sidebar .sidebar-menu .submenu .nav-link.active::before {
  display: none;
}
.sidebar .sidebar-menu .submenu .nav-link.active::after {
  content: "";
  position: absolute;
  left: 2.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #667eea;
  border-radius: 50%;
}
.sidebar .sidebar-footer {
  padding: 0.65rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.sidebar .sidebar-footer .user-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar .sidebar-footer .user-info .user-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
.sidebar .sidebar-footer .user-info .user-avatar i {
  font-size: 16px;
  color: #fff;
}
.sidebar .sidebar-footer .user-info .user-details {
  flex: 1;
}
.sidebar .sidebar-footer .user-info .user-details .user-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  margin-bottom: 1px;
}
.sidebar .sidebar-footer .user-info .user-details .user-role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
}
.sidebar .sidebar-footer .user-info .btn-logout {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: none;
}
.sidebar .sidebar-footer .user-info .btn-logout i {
  font-size: 0.9rem;
}
.sidebar .sidebar-footer .user-info .btn-logout:hover {
  background: #ef4444;
  color: #fff;
  transform: scale(1.05);
}

.content-page {
  margin-left: 250px;
  width: calc(100% - 250px);
  min-height: 100vh;
  padding-top: 70px;
  background: #f5f6fa;
}
.content-page h1 {
  font-size: 1.75rem;
  font-weight: 700;
}
.content-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
}
.content-page h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
.content-page h4 {
  font-size: 1.125rem;
  font-weight: 600;
}
.content-page h5 {
  font-size: 1rem;
  font-weight: 600;
}
.content-page p {
  font-size: 0.875rem;
  line-height: 1.5;
}
.content-page .text-muted {
  font-size: 0.8125rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon i {
  font-size: 1.25rem;
  color: #fff;
}
.stat-icon.bg-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.stat-icon.bg-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.stat-icon.bg-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.stat-icon.bg-info {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.card .card-body h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}
.card .card-body h3 .currency-symbol {
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: 4px;
  color: #64748b;
}
.card .card-body h3 .currency-value {
  font-size: 1.125rem;
  font-weight: 700;
}
.card .card-body .small {
  font-size: 0.75rem;
}
.card .card-body p.text-muted {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.legend-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.empty-state {
  padding: 3rem 1rem;
}
.empty-state i {
  opacity: 0.3;
}

[id$=TableControls] {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}
[id$=TableControls] .dataTables_length,
[id$=TableControls] .dataTables_filter {
  margin-bottom: 0;
}
[id$=TableControls] .dataTables_length label,
[id$=TableControls] .dataTables_filter label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0;
  white-space: nowrap;
}
[id$=TableControls] .dataTables_length select {
  width: auto;
  min-width: 60px;
  padding: 0.375rem 2rem 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
[id$=TableControls] .dataTables_filter input {
  width: 200px;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
[id$=TableControls] .dataTables_filter input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.card-header .d-flex.justify-content-between {
  align-items: center !important;
}
.card-header .d-flex.justify-content-between h5 {
  flex-shrink: 0;
  margin-right: 1rem;
}
.card-header .d-flex.justify-content-between [id$=TableControls] {
  flex: 1;
  justify-content: flex-end;
}
.card-header .d-flex.justify-content-between .btn, .card-header .d-flex.justify-content-between .btn-group {
  flex-shrink: 0;
  margin-left: 1rem;
}

.dataTables_wrapper .dataTables_info {
  padding-top: 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0;
  float: left;
}
.dataTables_wrapper .dataTables_paginate {
  padding-top: 0.75rem;
  text-align: right;
  margin-bottom: 0;
  float: right;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0.375rem 0.75rem;
  margin-left: 0.25rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  font-size: 0.875rem;
  display: inline-block;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #f8fafc;
  border-color: #667eea;
  color: #667eea;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: #fff;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
  color: #fff;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  background: #fff;
  border-color: #e2e8f0;
  color: #64748b;
}

.navbar {
  height: 70px;
  position: fixed;
  top: 0;
  left: 250px;
  right: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.navbar .navbar-brand-wrapper h4 {
  color: #1e293b;
  font-size: 1.25rem;
}
.navbar .search-box .input-group {
  width: 300px;
}
.navbar .search-box .input-group .input-group-text {
  border-color: #e2e8f0;
  color: #64748b;
}
.navbar .search-box .input-group .form-control {
  border-color: #e2e8f0;
}
.navbar .search-box .input-group .form-control:focus {
  border-color: #667eea;
  box-shadow: none;
}
.navbar .btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f8fafc;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.navbar .btn-icon:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.navbar .btn-icon .notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.navbar .btn-user {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: #f8fafc;
  border: none;
  transition: all 0.2s ease;
}
.navbar .btn-user:hover {
  background: #e2e8f0;
}
.navbar .btn-user .user-avatar-small {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar .btn-user .user-avatar-small i {
  font-size: 20px;
  color: #fff;
}
.navbar .btn-user .user-info-small .user-name-small {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}
.navbar .btn-user .user-info-small .user-role-small {
  font-size: 0.75rem;
  color: #64748b;
}

.notification-dropdown {
  width: 360px;
  max-height: 480px;
  overflow-y: auto;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
}
.notification-dropdown .dropdown-header {
  padding: 1rem 1.25rem;
  background: #f8fafc;
}
.notification-dropdown .dropdown-header h6 {
  font-weight: 700;
  color: #1e293b;
}
.notification-dropdown .notification-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}
.notification-dropdown .notification-item:hover {
  background: #f8fafc;
}
.notification-dropdown .notification-item .notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}
.notification-dropdown .notification-item .notification-icon i {
  font-size: 1.1rem;
  color: #fff;
}
.notification-dropdown .notification-item .notification-icon.bg-warning {
  background: #fbbf24;
}
.notification-dropdown .notification-item .notification-icon.bg-danger {
  background: #ef4444;
}
.notification-dropdown .notification-item .notification-icon.bg-info {
  background: #3b82f6;
}
.notification-dropdown .notification-item .notification-content {
  flex: 1;
}
.notification-dropdown .notification-item .notification-content p {
  font-size: 0.875rem;
  color: #1e293b;
}
.notification-dropdown .notification-item .notification-content small {
  font-size: 0.75rem;
  color: #64748b;
}

.user-dropdown {
  width: 280px;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
}
.user-dropdown .dropdown-header {
  padding: 1rem 1.25rem;
  background: #f8fafc;
}
.user-dropdown .dropdown-header .user-avatar-dropdown {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}
.user-dropdown .dropdown-header .user-avatar-dropdown i {
  font-size: 24px;
  color: #fff;
}
.user-dropdown .dropdown-item {
  padding: 0.75rem 1.25rem;
  transition: all 0.2s ease;
}
.user-dropdown .dropdown-item i {
  width: 20px;
}
.user-dropdown .dropdown-item:hover {
  background: #f8fafc;
}
.user-dropdown .dropdown-item.text-danger {
  color: #ef4444 !important;
}
.user-dropdown .dropdown-item.text-danger:hover {
  background: #fee2e2;
}

.card {
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.card .card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 12px 12px 0 0;
}
.card .card-header h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
}
.card .card-body {
  padding: 1.25rem;
  font-size: 0.875rem;
}
.card .card-body h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}
.card .card-body h3 .currency-symbol {
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: 4px;
  color: #64748b;
}
.card .card-body h3 .currency-value {
  font-size: 1.125rem;
  font-weight: 700;
}
.card .card-body .small {
  font-size: 0.75rem;
}
.card .card-body p {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.table {
  font-size: 0.875rem;
}
.table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  padding: 0.75rem 0.75rem;
}
.table td {
  padding: 0.75rem 0.75rem;
  vertical-align: middle;
  font-size: 0.8125rem;
}
.table td small {
  font-size: 0.75rem;
}
.table td strong {
  font-weight: 600;
  font-size: 0.8125rem;
}
.table tbody tr {
  transition: all 0.2s ease;
}
.table tbody tr:hover {
  background: #f8fafc;
}

.table-compact {
  font-size: 0.8125rem;
}
.table-compact th {
  font-size: 0.65rem;
  padding: 0.5rem 0.75rem;
}
.table-compact td {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.badge {
  padding: 0.35rem 0.65rem;
  font-weight: 600;
  font-size: 0.7rem;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.btn {
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn:active {
  transform: translateY(0);
}
.btn.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}
.btn.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
}

.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.5rem;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.5rem;
}

.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-control.form-control-sm, .form-control.form-select-sm, .form-select.form-control-sm, .form-select.form-select-sm {
  padding: 0.375rem 0.625rem;
  font-size: 0.8125rem;
}

.form-label {
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
}
.form-label.small {
  font-size: 0.75rem;
}

.alert {
  border-radius: 10px;
  border: none;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
}
.alert.alert-success {
  background: #d1fae5;
  color: #065f46;
}
.alert.alert-danger {
  background: #fee2e2;
  color: #991b1b;
}
.alert.alert-warning {
  background: #fef3c7;
  color: #92400e;
}
.alert.alert-info {
  background: #dbeafe;
  color: #1e40af;
}
.alert i {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed !important;
    left: -260px !important;
    top: 0 !important;
    margin-left: 0 !important;
    z-index: 1050 !important;
    transition: left 0.3s ease !important;
    height: 100vh !important;
  }
  .sidebar.active {
    left: 0 !important;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.3);
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
  }
  .sidebar-overlay.active {
    display: block;
  }
  .content-page {
    margin-left: 0 !important;
    width: 100% !important;
    padding-top: 60px;
  }
  .navbar {
    left: 0 !important;
    z-index: 1030 !important;
  }
  .navbar .search-box {
    display: none !important;
  }
  .navbar .user-info-small {
    display: none !important;
  }
  #sidebarToggle {
    padding: 8px 10px !important;
    font-size: 1.5rem !important;
  }
  .notification-dropdown {
    width: 320px;
  }
  .user-dropdown {
    width: 260px;
  }
}
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.rounded {
  border-radius: 12px !important;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.card, .alert {
  animation: slideIn 0.3s ease;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6);
  }
}
@keyframes shimmerText {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}
.btn-icon {
  background: transparent;
  border: none;
  padding: 0.5rem;
  border-radius: 10px;
  transition: all 0.2s ease;
  position: relative;
}
.btn-icon:hover {
  background: rgba(102, 126, 234, 0.1);
}
.btn-icon i {
  color: #64748b;
}

.notification-dropdown {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0;
}
.notification-dropdown .dropdown-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px 12px 0 0;
}
.notification-dropdown .dropdown-header h6 {
  color: white;
  font-weight: 600;
}
.notification-dropdown .dropdown-header .badge {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-weight: 600;
}
.notification-dropdown .notification-item {
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.notification-dropdown .notification-item:hover {
  background: #f8fafc;
}
.notification-dropdown .notification-item:last-child {
  border-bottom: none !important;
}
.notification-dropdown .notification-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notification-dropdown .notification-icon i {
  font-size: 1rem;
  color: white;
}
.notification-dropdown .notification-content {
  flex: 1;
  min-width: 0;
}
.notification-dropdown .notification-content p {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  color: #1e293b;
  line-height: 1.4;
}
.notification-dropdown .notification-content small {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
  line-height: 1.3;
}
.notification-dropdown .notification-content small.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-box .input-group {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.search-box .input-group:focus-within {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.search-box .input-group-text {
  border: none;
  padding: 0.5rem 0.75rem;
}
.search-box .input-group-text i {
  color: #94a3b8;
}
.search-box .form-control {
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.search-box .form-control:focus {
  box-shadow: none;
}
.search-box .form-control::-moz-placeholder {
  color: #cbd5e1;
}
.search-box .form-control::placeholder {
  color: #cbd5e1;
}

.btn-user {
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s ease;
}
.btn-user:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.btn-user .user-avatar-small i {
  font-size: 1.75rem;
  color: #667eea;
}
.btn-user .user-name-small {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}
.btn-user .user-role-small {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.2;
}
.btn-user i.bi-chevron-down {
  font-size: 0.75rem;
  color: #94a3b8;
}

.user-dropdown {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 240px;
}
.user-dropdown .dropdown-header {
  padding: 0.75rem 1rem;
}
.user-dropdown .dropdown-header .user-avatar-dropdown i {
  font-size: 2.5rem;
  color: #667eea;
}
.user-dropdown .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.user-dropdown .dropdown-item:hover {
  background: #f8fafc;
}
.user-dropdown .dropdown-item i {
  width: 20px;
  text-align: center;
}
.user-dropdown .dropdown-item.text-danger {
  color: #ef4444 !important;
}
.user-dropdown .dropdown-item.text-danger:hover {
  background: #fef2f2;
}

.pagination {
  gap: 0.25rem !important;
}
.pagination .page-item .page-link {
  padding: 0.2rem 0.4rem !important;
  font-size: 0.7rem !important;
  border: none !important;
  background: transparent !important;
  color: #64748b !important;
  min-width: 24px !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
  border-radius: 0 !important;
}
.pagination .page-item .page-link:hover {
  background: #f8fafc !important;
  color: #1e293b !important;
}
.pagination .page-item .page-link i {
  font-size: 0.75rem !important;
}
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
}
.pagination .page-item.active .page-link:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
}
.pagination .page-item.disabled .page-link {
  background: transparent !important;
  color: #cbd5e1 !important;
  cursor: not-allowed !important;
}
.pagination .page-item.disabled .page-link:hover {
  background: transparent !important;
  color: #cbd5e1 !important;
}

.dataTables_wrapper .dataTables_paginate .pagination {
  gap: 0.25rem !important;
}
.dataTables_wrapper .dataTables_paginate .pagination .page-item .page-link {
  padding: 0.2rem 0.4rem !important;
  font-size: 0.7rem !important;
  border: none !important;
  background: transparent !important;
  color: #64748b !important;
  min-width: 24px !important;
  text-align: center !important;
  border-radius: 0 !important;
}
.dataTables_wrapper .dataTables_paginate .pagination .page-item .page-link:hover {
  background: #f8fafc !important;
  color: #1e293b !important;
}
.dataTables_wrapper .dataTables_paginate .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
}
.dataTables_wrapper .dataTables_paginate .pagination .page-item.disabled .page-link {
  background: transparent !important;
  color: #cbd5e1 !important;
}
/*# sourceMappingURL=main.css.map */
