/* Professional Dashboard Styles */
:root {
  --primary-color: #0d6efd;
  --success-color: #198754;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #0dcaf0;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --border-radius: 0.75rem;
  --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Enhanced Cards */
.card {
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
}

/* Professional Buttons */
.btn {
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Enhanced Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

#loader .load-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loader .spinner {
  width: 50px;
  height: 50px;
  border: 4px #ddd solid;
  border-top: 4px var(--primary-color) solid;
  border-radius: 50%;
  animation: sp-anime 1s infinite linear;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}

/* Professional Table Styles */
.table {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.table thead th {
  background-color: var(--light-color);
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* Disable DataTables for Financial Table */
#financial-table_wrapper .dataTables_length,
#financial-table_wrapper .dataTables_filter,
#financial-table_wrapper .dataTables_info,
#financial-table_wrapper .dataTables_paginate {
  display: none !important;
}

#financial-table_wrapper .dataTables_wrapper {
  padding: 0 !important;
}

/* Clean Financial Table */
#financial-table {
  margin-bottom: 0 !important;
}

#financial-table thead th {
  background: transparent !important;
  border: none !important;
  padding-bottom: 1rem;
}

#financial-table tbody tr:last-child {
  border-bottom: none !important;
}

/* Badge Enhancements */
.badge {
  font-weight: 500;
  border-radius: 0.5rem;
}

/* List Group Enhancements */
.list-group-item {
  border-radius: 0.5rem !important;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.list-group-item:hover {
  background-color: var(--light-color);
}

/* Icon Enhancements */
.ti {
  line-height: 1;
}

/* Responsive Spacing */
@media (max-width: 768px) {
  .card-body {
    padding: 1rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
  }
}