/* ============================================================================
   ENTERPRISE WMS - PROFESSIONAL DESIGN SYSTEM
   Bootstrap 5 + AdminLTE v4 + Custom Enterprise Theme
   ============================================================================ */

/* ============================================================================
   1. RESET & BASE STYLES
   ============================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--enterprise-neutral-900);
  background-color: var(--enterprise-neutral-50);
  overflow-x: hidden;
}

body.enterprise-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================================================
   2. ENTERPRISE WRAPPER & LAYOUT
   ============================================================================ */

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

.enterprise-navbar {
  flex-shrink: 0;
}

.enterprise-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background-color: var(--enterprise-secondary);
  color: #ffffff;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1030;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

.enterprise-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1025;
}

.enterprise-content-wrapper {
  flex: 1;
  margin-left: 280px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 60px);
}

.enterprise-content-header {
  background-color: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid var(--enterprise-neutral-200);
  flex-shrink: 0;
}

.enterprise-content {
  flex: 1;
  padding: 24px 0;
}

.enterprise-footer {
  flex-shrink: 0;
  margin-left: 280px;
  background-color: var(--enterprise-neutral-800);
  color: #ffffff;
  border-top: 1px solid var(--enterprise-neutral-700);
}

/* ============================================================================
   3. NAVIGATION BAR (TOP)
   ============================================================================ */

.enterprise-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--enterprise-neutral-200);
  box-shadow: var(--enterprise-shadow-sm);
  height: 60px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
}

.enterprise-navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  gap: 20px;
}

.enterprise-navbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 200px;
}

.enterprise-navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--enterprise-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.enterprise-navbar-brand:hover {
  color: var(--enterprise-primary-dark);
}

.enterprise-navbar-brand-text {
  color: var(--enterprise-primary);
}

.enterprise-navbar-toggle {
  background: none;
  border: none;
  color: var(--enterprise-neutral-700);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.enterprise-navbar-toggle:hover {
  background-color: var(--enterprise-neutral-100);
  color: var(--enterprise-primary);
}

.enterprise-navbar-center {
  flex: 1;
  text-align: center;
}

.enterprise-navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.enterprise-navbar-item {
  position: relative;
}

.enterprise-navbar-icon-btn {
  background: none;
  border: none;
  color: var(--enterprise-neutral-600);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enterprise-navbar-icon-btn:hover {
  background-color: var(--enterprise-neutral-100);
  color: var(--enterprise-primary);
}

.enterprise-notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--enterprise-danger);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
}

.enterprise-user-menu-btn {
  background: none;
  border: none;
  color: var(--enterprise-neutral-700);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.enterprise-user-menu-btn:hover {
  background-color: var(--enterprise-neutral-100);
  color: var(--enterprise-primary);
}

.enterprise-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.enterprise-user-menu-btn:hover .enterprise-user-avatar {
  border-color: var(--enterprise-primary);
}

.enterprise-user-avatar-large {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.enterprise-user-name {
  font-weight: 600;
  color: var(--enterprise-neutral-900);
}

.enterprise-user-email {
  color: var(--enterprise-neutral-500);
}

/* Dropdown Menus */
.enterprise-dropdown-menu {
  background-color: #ffffff;
  border: 1px solid var(--enterprise-neutral-200);
  border-radius: 8px;
  box-shadow: var(--enterprise-shadow-lg);
  min-width: 320px;
  max-width: 400px;
  padding: 0;
  z-index: 1050;
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.enterprise-dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--enterprise-neutral-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.enterprise-dropdown-header h6 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--enterprise-neutral-900);
}

.enterprise-dropdown-badge {
  background-color: var(--enterprise-danger);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
}

.enterprise-dropdown-divider {
  height: 1px;
  background-color: var(--enterprise-neutral-100);
  margin: 0;
}

.enterprise-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--enterprise-neutral-700);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.enterprise-dropdown-item:hover {
  background-color: var(--enterprise-neutral-50);
  color: var(--enterprise-primary);
}

.enterprise-dropdown-item i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.enterprise-dropdown-item.text-danger:hover {
  background-color: #fee2e2;
  color: var(--enterprise-danger);
}

.enterprise-dropdown-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--enterprise-neutral-100);
  text-align: center;
  font-size: 0.75rem;
  color: var(--enterprise-neutral-500);
  display: block;
  text-decoration: none;
  transition: all 0.2s ease;
}

.enterprise-dropdown-footer:hover {
  background-color: var(--enterprise-neutral-50);
  color: var(--enterprise-primary);
  text-decoration: none;
}

.enterprise-notification-list {
  max-height: 320px;
  overflow-y: auto;
}

.enterprise-notification-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--enterprise-neutral-100);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.enterprise-notification-item:last-child {
  border-bottom: none;
}

.enterprise-notification-item:hover {
  background-color: var(--enterprise-neutral-50);
}

.enterprise-notification-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.enterprise-notification-content {
  flex: 1;
  min-width: 0;
}

.enterprise-notification-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--enterprise-neutral-900);
  margin-bottom: 2px;
}

.enterprise-notification-text {
  font-size: 0.75rem;
  color: var(--enterprise-neutral-600);
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.enterprise-notification-time {
  font-size: 0.7rem;
  color: var(--enterprise-neutral-500);
  margin-top: 4px;
  display: block;
}

/* ============================================================================
   4. SIDEBAR NAVIGATION
   ============================================================================ */

.enterprise-sidebar-brand {
  padding: 16px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.enterprise-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  flex: 1;
  font-weight: 700;
  transition: all 0.2s ease;
}

.enterprise-brand-logo:hover {
  color: var(--enterprise-primary-light);
}

.enterprise-brand-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--enterprise-primary);
  border-radius: 8px;
}

.enterprise-brand-text {
  font-size: 1.1rem;
  font-weight: 700;
}

.enterprise-brand-badge {
  background-color: var(--enterprise-primary);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
}

.enterprise-sidebar-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: none;
}

.enterprise-sidebar-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.enterprise-user-panel {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.enterprise-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--enterprise-primary);
}

.enterprise-user-info {
  flex: 1;
  min-width: 0;
}

.enterprise-user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.enterprise-user-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.enterprise-sidebar-menu {
  padding: 12px 0;
  overflow-y: auto;
  flex: 1;
  max-height: calc(100vh - 180px);
}

.enterprise-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.enterprise-menu-section {
  padding: 12px 20px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  margin-bottom: 4px;
}

.enterprise-menu-item {
  position: relative;
  margin: 0;
}

.enterprise-menu-item.has-submenu > .enterprise-menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.enterprise-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.enterprise-menu-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--enterprise-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.2s ease;
}

.enterprise-menu-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
}

.enterprise-menu-link:hover::before {
  transform: scaleY(1);
}

.enterprise-menu-link.active {
  background-color: rgba(0, 82, 204, 0.2);
  color: white;
}

.enterprise-menu-link.active::before {
  transform: scaleY(1);
}

.enterprise-menu-icon {
  font-size: 1rem;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enterprise-menu-text {
  font-size: 0.875rem;
  font-weight: 500;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.enterprise-menu-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.enterprise-menu-item.has-submenu.active .enterprise-menu-arrow {
  transform: rotate(90deg);
}

.enterprise-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.enterprise-menu-item.has-submenu.active .enterprise-submenu {
  max-height: 500px;
}

.enterprise-submenu .enterprise-menu-item {
  margin: 0;
}

.enterprise-submenu .enterprise-menu-link {
  padding-left: 52px;
  font-size: 0.8125rem;
}

.enterprise-sidebar-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: auto;
}

.enterprise-sidebar-footer-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================================
   5. CONTENT HEADER & FOOTER
   ============================================================================ */

.enterprise-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--enterprise-neutral-900);
  margin: 0;
  letter-spacing: -0.5px;
}

.enterprise-footer {
  background-color: var(--enterprise-neutral-800);
  color: white;
}

.enterprise-footer-container {
  max-width: 100%;
  padding: 40px 20px;
}

.enterprise-footer-content {
  margin-bottom: 20px;
}

.enterprise-footer-section {
  margin-bottom: 0;
}

.enterprise-footer-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.enterprise-footer-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.enterprise-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.enterprise-footer-links li {
  margin-bottom: 8px;
}

.enterprise-footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.enterprise-footer-links a:hover {
  color: var(--enterprise-primary-light);
  margin-left: 4px;
}

.enterprise-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.enterprise-footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.enterprise-footer-copyright,
.enterprise-footer-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================================
   6. TYPOGRAPHY
   ============================================================================ */

h1, .h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--enterprise-neutral-900);
  margin-bottom: 0.5rem;
}

h2, .h2 {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--enterprise-neutral-900);
  margin-bottom: 0.75rem;
}

h3, .h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--enterprise-neutral-900);
  margin-bottom: 0.75rem;
}

h4, .h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--enterprise-neutral-900);
  margin-bottom: 0.5rem;
}

h5, .h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--enterprise-neutral-900);
  margin-bottom: 0.5rem;
}

h6, .h6 {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--enterprise-neutral-900);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

small, .small {
  font-size: 0.8125rem;
  color: var(--enterprise-neutral-600);
}

strong, .fw-bold {
  font-weight: 700;
}

em, .fst-italic {
  font-style: italic;
}

/* ============================================================================
   7. CARDS & CONTAINERS
   ============================================================================ */

.card, .enterprise-card {
  border: 1px solid var(--enterprise-neutral-200);
  border-radius: 8px;
  box-shadow: var(--enterprise-shadow-sm);
  transition: all 0.3s ease;
  background-color: #ffffff;
}

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

.card.card-elevated {
  box-shadow: var(--enterprise-shadow);
}

.card-body {
  padding: 20px;
}

.card-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--enterprise-neutral-200);
  padding: 16px 20px;
  font-weight: 600;
  color: var(--enterprise-neutral-900);
}

.card-footer {
  background-color: var(--enterprise-neutral-50);
  border-top: 1px solid var(--enterprise-neutral-200);
  padding: 12px 20px;
  font-size: 0.875rem;
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--enterprise-neutral-900);
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--enterprise-neutral-600);
  margin-bottom: 12px;
}

.card-text {
  color: var(--enterprise-neutral-700);
  line-height: 1.6;
}

/* Dashboard Cards */
.enterprise-kpi-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid var(--enterprise-neutral-200);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.enterprise-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 82, 204, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

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

.enterprise-kpi-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 12px;
}

.enterprise-kpi-icon.icon-primary {
  background-color: var(--enterprise-primary-light);
  color: var(--enterprise-primary);
}

.enterprise-kpi-icon.icon-success {
  background-color: #d1fae5;
  color: var(--enterprise-success);
}

.enterprise-kpi-icon.icon-warning {
  background-color: #fef3c7;
  color: var(--enterprise-warning);
}

.enterprise-kpi-icon.icon-danger {
  background-color: #fee2e2;
  color: var(--enterprise-danger);
}

.enterprise-kpi-label {
  font-size: 0.875rem;
  color: var(--enterprise-neutral-600);
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.enterprise-kpi-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--enterprise-neutral-900);
  margin-bottom: 8px;
}

.enterprise-kpi-change {
  font-size: 0.8125rem;
  font-weight: 500;
}

.enterprise-kpi-change.positive {
  color: var(--enterprise-success);
}

.enterprise-kpi-change.negative {
  color: var(--enterprise-danger);
}

/* ============================================================================
   8. TABLES
   ============================================================================ */

.table {
  margin-bottom: 0;
  border-collapse: collapse;
}

.table thead th {
  background-color: var(--enterprise-neutral-50);
  border-bottom: 2px solid var(--enterprise-neutral-200);
  color: var(--enterprise-neutral-900);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 12px 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--enterprise-neutral-200);
  vertical-align: middle;
  color: var(--enterprise-neutral-700);
}

.table tbody tr:hover {
  background-color: var(--enterprise-neutral-50);
  transition: background-color 0.2s ease;
}

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

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(0, 82, 204, 0.02);
}

.table-sm thead th {
  padding: 8px 12px;
}

.table-sm tbody td {
  padding: 10px 12px;
}

.table.table-hover tbody tr:hover {
  background-color: var(--enterprise-neutral-50);
  cursor: pointer;
}

/* ============================================================================
   9. FORMS & INPUTS
   ============================================================================ */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--enterprise-neutral-700);
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-control,
.form-select {
  border: 1px solid var(--enterprise-neutral-300);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.875rem;
  color: var(--enterprise-neutral-900);
  background-color: #ffffff;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--enterprise-primary);
  box-shadow: 0 0 0 3px var(--enterprise-primary-light);
  outline: none;
}

.form-control::placeholder {
  color: var(--enterprise-neutral-400);
}

.form-control:disabled,
.form-select:disabled {
  background-color: var(--enterprise-neutral-100);
  color: var(--enterprise-neutral-500);
  cursor: not-allowed;
}

.form-check {
  margin-bottom: 0.75rem;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border: 1px solid var(--enterprise-neutral-300);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-check-input:checked {
  background-color: var(--enterprise-primary);
  border-color: var(--enterprise-primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px var(--enterprise-primary-light);
  border-color: var(--enterprise-primary);
}

.form-check-label {
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--enterprise-neutral-700);
  margin-left: 6px;
}

/* ============================================================================
   10. BUTTONS
   ============================================================================ */

.btn {
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 8px 16px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--enterprise-shadow);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Primary Button */
.btn-primary {
  background-color: var(--enterprise-primary);
  border-color: var(--enterprise-primary);
  color: white;
}

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

.btn-primary:active {
  background-color: #003d99;
  border-color: #003d99;
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--enterprise-neutral-200);
  border-color: var(--enterprise-neutral-200);
  color: var(--enterprise-neutral-900);
}

.btn-secondary:hover {
  background-color: var(--enterprise-neutral-300);
  border-color: var(--enterprise-neutral-300);
}

/* Success Button */
.btn-success {
  background-color: var(--enterprise-success);
  border-color: var(--enterprise-success);
  color: white;
}

.btn-success:hover {
  background-color: #059669;
  border-color: #059669;
}

/* Danger Button */
.btn-danger {
  background-color: var(--enterprise-danger);
  border-color: var(--enterprise-danger);
  color: white;
}

.btn-danger:hover {
  background-color: #dc2626;
  border-color: #dc2626;
}

/* Outline Button */
.btn-outline-primary {
  background-color: transparent;
  border-color: var(--enterprise-primary);
  color: var(--enterprise-primary);
}

.btn-outline-primary:hover {
  background-color: var(--enterprise-primary);
  color: white;
}

/* Large Button */
.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}

/* Small Button */
.btn-sm {
  padding: 6px 12px;
  font-size: 0.8125rem;
}

/* Button Group */
.btn-group {
  display: flex;
  gap: 8px;
}

/* ============================================================================
   11. BADGES & ALERTS
   ============================================================================ */

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge.bg-primary {
  background-color: var(--enterprise-primary-light);
  color: var(--enterprise-primary);
}

.badge.bg-success {
  background-color: #d1fae5;
  color: var(--enterprise-success);
}

.badge.bg-warning {
  background-color: #fef3c7;
  color: var(--enterprise-warning);
}

.badge.bg-danger {
  background-color: #fee2e2;
  color: var(--enterprise-danger);
}

.badge.bg-info {
  background-color: #cffafe;
  color: #0891b2;
}

.badge.bg-secondary {
  background-color: var(--enterprise-neutral-200);
  color: var(--enterprise-neutral-700);
}

.alert {
  border-radius: 8px;
  border-left: 4px solid;
  padding: 16px;
  margin-bottom: 1rem;
}

.alert-primary {
  background-color: var(--enterprise-primary-light);
  border-color: var(--enterprise-primary);
  color: var(--enterprise-primary-dark);
}

.alert-success {
  background-color: #d1fae5;
  border-color: var(--enterprise-success);
  color: #065f46;
}

.alert-warning {
  background-color: #fef3c7;
  border-color: var(--enterprise-warning);
  color: #78350f;
}

.alert-danger {
  background-color: #fee2e2;
  border-color: var(--enterprise-danger);
  color: #7f1d1d;
}

.alert-dismissible .btn-close {
  padding: 0.375rem;
  width: 1.5rem;
  height: 1.5rem;
}

/* ============================================================================
   12. STATUS INDICATORS
   ============================================================================ */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-badge.status-aman {
  background-color: #d1fae5;
  color: #065f46;
}

.status-badge.status-aman::before {
  background-color: var(--enterprise-success);
}

.status-badge.status-menipis {
  background-color: #fef3c7;
  color: #78350f;
}

.status-badge.status-menipis::before {
  background-color: var(--enterprise-warning);
}

.status-badge.status-kosong {
  background-color: #fee2e2;
  color: #7f1d1d;
}

.status-badge.status-kosong::before {
  background-color: var(--enterprise-danger);
}

/* ============================================================================
   13. RESPONSIVE UTILITIES
   ============================================================================ */

@media (max-width: 991px) {
  .enterprise-sidebar {
    transform: translateX(-100%);
    z-index: 1035;
  }

  .enterprise-sidebar.active {
    transform: translateX(0);
  }

  .enterprise-sidebar-overlay {
    display: block;
  }

  .enterprise-sidebar-overlay.active {
    display: block;
  }

  .enterprise-sidebar-toggle {
    display: block;
  }

  .enterprise-content-wrapper {
    margin-left: 0;
  }

  .enterprise-footer {
    margin-left: 0;
  }

  .enterprise-navbar-brand {
    display: none;
  }

  .enterprise-navbar-toggle {
    display: block;
  }
}

@media (max-width: 767px) {
  .enterprise-navbar-container {
    padding: 0 12px;
    gap: 8px;
  }

  .enterprise-sidebar {
    width: 100%;
    max-width: 280px;
  }

  .enterprise-navbar-right {
    gap: 4px;
  }

  .enterprise-user-menu-text {
    display: none;
  }

  .enterprise-content-header {
    padding: 16px 0;
  }

  .enterprise-page-title {
    font-size: 1.5rem;
  }

  .enterprise-content {
    padding: 16px 0;
  }

  .table {
    font-size: 0.8125rem;
  }

  .table thead th,
  .table tbody td {
    padding: 8px;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .card-body {
    padding: 16px;
  }

  .btn {
    padding: 6px 12px;
    font-size: 0.8125rem;
  }

  .enterprise-footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .enterprise-navbar-item.d-none.d-sm-flex {
    display: none;
  }

  .enterprise-page-title {
    font-size: 1.25rem;
  }

  .h1, h1 {
    font-size: 1.5rem;
  }

  .h2, h2 {
    font-size: 1.25rem;
  }

  .h3, h3 {
    font-size: 1.0625rem;
  }

  .form-label {
    font-size: 0.8125rem;
  }

  .form-control,
  .form-select {
    font-size: 16px;
  }

  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-responsive > .table {
    margin-bottom: 0;
  }
}

/* ============================================================================
   14. UTILITIES & HELPERS
   ============================================================================ */

.text-muted {
  color: var(--enterprise-neutral-500);
}

.text-primary {
  color: var(--enterprise-primary);
}

.text-success {
  color: var(--enterprise-success);
}

.text-warning {
  color: var(--enterprise-warning);
}

.text-danger {
  color: var(--enterprise-danger);
}

.bg-primary {
  background-color: var(--enterprise-primary);
}

.bg-success {
  background-color: var(--enterprise-success);
}

.bg-warning {
  background-color: var(--enterprise-warning);
}

.bg-danger {
  background-color: var(--enterprise-danger);
}

.shadow-sm {
  box-shadow: var(--enterprise-shadow-sm);
}

.shadow {
  box-shadow: var(--enterprise-shadow);
}

.shadow-lg {
  box-shadow: var(--enterprise-shadow-lg);
}

.rounded-8 {
  border-radius: 8px;
}

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

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.gap-4 {
  gap: 1.5rem;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease;
}

.slide-in {
  animation: slideIn 0.3s ease;
}

/* Focus States */
*:focus-visible {
  outline: 2px solid var(--enterprise-primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .enterprise-navbar,
  .enterprise-sidebar,
  .enterprise-footer,
  .btn,
  .enterprise-navbar-toggle {
    display: none;
  }

  .enterprise-content-wrapper {
    margin-left: 0;
    margin-top: 0;
  }

  body {
    background-color: white;
  }
}
