/* Custom Blue Color Scheme */
:root {
  /* Primary colors - Blue palette */
  --vuexy-primary: #769fcd;
  --vuexy-primary-dark: #5a84b8;
  --vuexy-primary-light: #8fb1d9;
  
  /* Secondary & accent */
  --vuexy-secondary: #b9d7ea;
  --vuexy-success: #28c76f;
  --vuexy-danger: #ea5455;
  --vuexy-warning: #ff9f43;
  --vuexy-info: #769fcd;
  
  /* Background colors - Light blue theme */
  --vuexy-bg: #f8f7fa;
  --vuexy-bg-light: #ffffff;
  --vuexy-bg-lighter: #d6e6f2;
  --vuexy-card-bg: #ffffff;
  --vuexy-sidebar-bg: #769fcd;
  
  /* Text colors - Dark for readability */
  --vuexy-text: #6e6b7b;
  --vuexy-text-dark: #5e5873;
  --vuexy-text-muted: #b9b9c3;
  --vuexy-heading: #5e5873;
  --vuexy-input-text: #6e6b7b;
  --vuexy-placeholder: #b9b9c3;
  
  /* Border & divider */
  --vuexy-border: #dbdade;
  --vuexy-input-border: #dbdade;
  
  /* Shadows */
  --vuexy-shadow: 0 2px 6px rgba(118, 159, 205, 0.08);
  --vuexy-shadow-lg: 0 4px 12px rgba(118, 159, 205, 0.12);
}

/* Body & base */
body {
  background: var(--vuexy-bg) !important;
  color: var(--vuexy-text) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.9375rem;
}

/* Sidebar */
.vuexy-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: var(--vuexy-sidebar-bg);
  box-shadow: 2px 0 10px rgba(118, 159, 205, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1030;
  transition: all 0.25s ease;
}

.vuexy-sidebar .sidebar-brand {
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(90, 132, 184, 0.3);
}

.vuexy-sidebar .sidebar-brand h4 {
  color: #ffffff;
  font-weight: 700;
  margin: 0;
  font-size: 1.5rem;
}

.vuexy-sidebar .sidebar-menu {
  padding: 1rem 0;
  list-style: none;
  margin: 0;
}

.vuexy-sidebar .menu-item {
  margin: 0.25rem 1rem;
}

.vuexy-sidebar .menu-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  font-weight: 500;
}

.vuexy-sidebar .menu-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.vuexy-sidebar .menu-link.active {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.vuexy-sidebar .menu-link i {
  font-size: 1.25rem;
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

/* Topbar */
.vuexy-topbar {
  position: fixed;
  top: 0;
  left: 260px;
  right: 0;
  height: 70px;
  background: var(--vuexy-card-bg);
  border-bottom: 1px solid var(--vuexy-border);
  box-shadow: 0 2px 6px rgba(118, 159, 205, 0.06);
  z-index: 1020;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  transition: all 0.25s ease;
}

.vuexy-topbar .topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vuexy-topbar .btn-toggle {
  background: transparent;
  border: none;
  color: var(--vuexy-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: none;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.vuexy-topbar .btn-toggle:hover {
  background: var(--vuexy-bg-lighter);
}

.vuexy-topbar h5 {
  color: var(--vuexy-heading);
  font-weight: 600;
}

/* Main content */
.vuexy-content {
  margin-left: 260px;
  margin-top: 70px;
  padding: 1.5rem;
  min-height: calc(100vh - 70px);
  transition: all 0.25s ease;
}

/* Cards - Vuexy style with proper padding */
.vuexy-card,
.card {
  background: var(--vuexy-card-bg);
  border: 1px solid var(--vuexy-border);
  border-radius: 0.5rem;
  box-shadow: var(--vuexy-shadow);
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.vuexy-card:hover,
.card:hover {
  box-shadow: var(--vuexy-shadow-lg);
}

.vuexy-card .card-header,
.card .card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--vuexy-border);
  padding: 1.5rem;
  margin: 0;
}

.vuexy-card .card-body,
.card .card-body {
  padding: 1.5rem;
  margin: 0;
  background: transparent !important;
  color: var(--vuexy-text);
}

.vuexy-card .card-title,
.card .card-title {
  color: var(--vuexy-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0;
}

/* Stats cards */
.vuexy-stat-card {
  background: var(--vuexy-card-bg);
  border: 1px solid var(--vuexy-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--vuexy-shadow);
  transition: all 0.2s ease;
}

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

.vuexy-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--vuexy-primary);
}

.vuexy-stat-card.success::before { background: var(--vuexy-success); }
.vuexy-stat-card.danger::before { background: var(--vuexy-danger); }
.vuexy-stat-card.warning::before { background: var(--vuexy-warning); }
.vuexy-stat-card.info::before { background: var(--vuexy-info); }

.vuexy-stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.vuexy-stat-card.primary .stat-icon {
  background: rgba(118, 159, 205, 0.12);
  color: var(--vuexy-primary);
}

.vuexy-stat-card.success .stat-icon {
  background: rgba(40, 199, 111, 0.12);
  color: var(--vuexy-success);
}

.vuexy-stat-card.warning .stat-icon {
  background: rgba(255, 159, 67, 0.12);
  color: var(--vuexy-warning);
}

.vuexy-stat-card.info .stat-icon {
  background: rgba(118, 159, 205, 0.12);
  color: var(--vuexy-info);
}

.vuexy-stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--vuexy-heading);
  margin-bottom: 0.25rem;
}

.vuexy-stat-card .stat-label {
  color: var(--vuexy-text-muted);
  font-size: 0.875rem;
}

/* Buttons */
.btn-vuexy-primary {
  background: linear-gradient(135deg, var(--vuexy-primary), var(--vuexy-primary-light));
  border: none;
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(118, 159, 205, 0.3);
}

.btn-vuexy-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(118, 159, 205, 0.4);
  color: #fff;
}

.btn-outline-primary {
  border-color: var(--vuexy-primary);
  color: var(--vuexy-primary);
}

.btn-outline-primary:hover {
  background: var(--vuexy-primary);
  border-color: var(--vuexy-primary);
  color: #fff;
}

.btn-primary {
  background: var(--vuexy-primary);
  border-color: var(--vuexy-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--vuexy-primary-dark);
  border-color: var(--vuexy-primary-dark);
  color: #fff;
}

/* Tables */
.vuexy-table,
.table {
  width: 100%;
  margin-bottom: 0;
  color: var(--vuexy-text);
}

.vuexy-table thead th,
.table thead th {
  background: #f8f7fa;
  color: var(--vuexy-text-dark);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--vuexy-border);
}

.vuexy-table tbody td,
.table tbody td {
  padding: 1rem 1.5rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--vuexy-border);
  color: var(--vuexy-text);
}

.vuexy-table tbody tr:hover,
.table tbody tr:hover {
  background: #fafafa;
}

/* Table responsive wrapper */
.table-responsive {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Forms - Vuexy Style */
.form-label {
  color: var(--vuexy-text-dark);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.form-control,
.form-select {
  background: #fff;
  border: 1px solid var(--vuexy-input-border);
  color: var(--vuexy-input-text);
  padding: 0.571rem 1rem;
  border-radius: 0.357rem;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control::placeholder {
  color: var(--vuexy-placeholder);
  opacity: 1;
}

.form-control:focus,
.form-select:focus {
  background: #fff;
  border-color: var(--vuexy-primary);
  color: var(--vuexy-input-text);
  box-shadow: 0 3px 10px 0 rgba(118, 159, 205, 0.1);
  outline: 0;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #efefef;
  opacity: 1;
}

/* Input groups */
.input-group-text {
  background: #fff;
  border: 1px solid var(--vuexy-input-border);
  color: var(--vuexy-text);
}

/* Badge */
.vuexy-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  font-weight: 500;
  font-size: 0.75rem;
}

.vuexy-badge.primary {
  background: rgba(118, 159, 205, 0.12);
  color: var(--vuexy-primary);
}

.vuexy-badge.success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--vuexy-success);
}

.badge {
  border-radius: 0.25rem;
  font-weight: 500;
}

/* Form sections - Vuexy card style */
.form-section {
  background: var(--vuexy-card-bg);
  border: 1px solid var(--vuexy-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--vuexy-shadow);
}

.form-section-title {
  color: var(--vuexy-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--vuexy-border);
}

/* Section with colored accent */
.form-section.primary {
  border-left: 3px solid var(--vuexy-primary);
}

.form-section.success {
  border-left: 3px solid var(--vuexy-success);
}

.form-section.info {
  border-left: 3px solid var(--vuexy-info);
}

/* Responsive */
@media (max-width: 991.98px) {
  .vuexy-sidebar {
    left: -260px;
  }
  
  .vuexy-sidebar.show {
    left: 0;
    box-shadow: 4px 0 20px rgba(118, 159, 205, 0.2);
  }
  
  .vuexy-topbar {
    left: 0;
  }
  
  .vuexy-topbar .btn-toggle {
    display: block;
  }
  
  .vuexy-content {
    margin-left: 0;
  }
}

/* Scrollbar */
.vuexy-sidebar::-webkit-scrollbar {
  width: 6px;
}

.vuexy-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.vuexy-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.vuexy-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Text colors */
.text-primary {
  color: var(--vuexy-primary) !important;
}

.bg-primary {
  background-color: var(--vuexy-primary) !important;
}

.text-muted {
  color: var(--vuexy-text-muted) !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--vuexy-heading);
}
/* Cache bust 1761113519 */

/* Direct content in vuexy-card needs padding */
.vuexy-card > div:not(.card-header):not(.card-body),
.vuexy-card > h1, .vuexy-card > h2, .vuexy-card > h3, 
.vuexy-card > h4, .vuexy-card > h5, .vuexy-card > h6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.vuexy-card > div:first-child {
  padding-top: 1.5rem;
}

.vuexy-card > div:last-child {
  padding-bottom: 1.5rem;
}

/* If vuexy-card doesn't have card-body, apply padding */
.vuexy-card:not(:has(.card-body)) {
  padding: 1.5rem;
}
