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

    html, body {
      height: 100%;
      width: 100%;
    }

    .gradient-blue {
      background: linear-gradient(135deg, #0066ff 0%, #0099ff 100%);
    }

    .gradient-dark {
      background: linear-gradient(135deg, #003d99 0%, #0052cc 100%);
    }

    .sidebar-nav {
      transition: all 0.3s ease;
    }

    .nav-item {
      transition: all 0.2s ease;
      position: relative;
    }

    .nav-item:hover {
      transform: translateX(4px);
    }

    .nav-item.active {
      background: rgba(0, 102, 255, 0.15);
      border-left: 4px solid #0066ff;
      padding-left: calc(1rem - 4px);
    }

    .nav-item.active span {
      color: #0066ff;
      font-weight: 600;
    }

    .card-stat {
      background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 153, 255, 0.05) 100%);
      border: 1px solid rgba(0, 102, 255, 0.2);
      transition: all 0.3s ease;
    }

    .card-stat:hover {
      border-color: rgba(0, 102, 255, 0.5);
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
    }

    .btn-primary {
      background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
      transition: all 0.3s ease;
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
      box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: rgba(0, 102, 255, 0.1);
      color: #0066ff;
      border: 1px solid rgba(0, 102, 255, 0.3);
      transition: all 0.3s ease;
    }

    .btn-secondary:hover {
      background: rgba(0, 102, 255, 0.2);
      border-color: #0066ff;
    }

    .input-field {
      border: 1px solid rgba(0, 102, 255, 0.2);
      transition: all 0.3s ease;
    }

    .input-field:focus {
      border-color: #0066ff;
      box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
      outline: none;
    }

    .table-row:hover {
      background: rgba(0, 102, 255, 0.05);
    }

    .badge-success {
      background: rgba(34, 197, 94, 0.1);
      color: #22c55e;
      border: 1px solid rgba(34, 197, 94, 0.3);
    }

    .badge-warning {
      background: rgba(250, 164, 43, 0.1);
      color: #faa42b;
      border: 1px solid rgba(250, 164, 43, 0.3);
    }

    .badge-danger {
      background: rgba(239, 68, 68, 0.1);
      color: #ef4444;
      border: 1px solid rgba(239, 68, 68, 0.3);
    }

    .chart-bar {
      background: linear-gradient(180deg, #0066ff 0%, #0099ff 100%);
      border-radius: 4px;
      transition: all 0.3s ease;
    }

    .chart-bar:hover {
      filter: brightness(1.1);
    }

    .section-hidden {
      display: none;
    }

    .section-visible {
      display: block;
      animation: fadeIn 0.3s ease-in-out;
    }

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

    .modal-backdrop {
      background: rgba(0, 0, 0, 0.5);
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 40;
    }

    .modal-backdrop.active {
      display: flex;
    }

    .modal-content {
      background: white;
      border-radius: 12px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      animation: slideUp 0.3s ease-out;
    }

    @keyframes slideUp {
      from {
        transform: translateY(30px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

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

    .loading-spinner {
      border: 3px solid rgba(0, 102, 255, 0.1);
      border-top: 3px solid #0066ff;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .header-top {
      background: white;
      border-bottom: 1px solid rgba(0, 102, 255, 0.1);
      padding: 16px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .erp-sidebar {
      flex-shrink: 0;
      width: 16rem;
      min-width: 16rem;
      transition: width 0.28s ease, min-width 0.28s ease;
      overflow: hidden;
    }

    html.erp-sidebar-is-collapsed .erp-sidebar {
      width: 0;
      min-width: 0;
      flex-shrink: 1;
      pointer-events: none;
    }

    .search-box {
      background: rgba(0, 102, 255, 0.05);
      border: 1px solid rgba(0, 102, 255, 0.2);
      padding: 8px 16px;
      border-radius: 8px;
      width: 300px;
    }

    .user-menu {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 8px 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .user-menu:hover {
      background: rgba(0, 102, 255, 0.05);
    }

    .user-menu-dropdown {
      position: absolute;
      right: 0;
      top: calc(100% + 8px);
      min-width: 160px;
      background: #fff;
      border: 1px solid rgba(0, 102, 255, 0.15);
      border-radius: 10px;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
      padding: 6px;
      z-index: 80;
    }

    .notification-badge {
      position: absolute;
      top: -5px;
      right: -5px;
      background: #ef4444;
      color: white;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: bold;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-label {
      display: block;
      margin-bottom: 8px;
      color: #1e293b;
      font-weight: 500;
      font-size: 14px;
    }

    .form-input {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid rgba(0, 102, 255, 0.2);
      border-radius: 8px;
      font-size: 14px;
      transition: all 0.3s ease;
    }

    .form-input:focus {
      border-color: #0066ff;
      box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
      outline: none;
    }

    .form-select {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid rgba(0, 102, 255, 0.2);
      border-radius: 8px;
      font-size: 14px;
      background: white;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .form-select:focus {
      border-color: #0066ff;
      box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
      outline: none;
    }

    .data-table {
      width: 100%;
      border-collapse: collapse;
    }

    .data-table thead {
      background: rgba(0, 102, 255, 0.05);
    }

    .data-table th {
      padding: 12px;
      text-align: left;
      color: #0066ff;
      font-weight: 600;
      font-size: 13px;
      border-bottom: 1px solid rgba(0, 102, 255, 0.2);
    }

    .data-table td {
      padding: 12px;
      border-bottom: 1px solid rgba(0, 102, 255, 0.1);
      font-size: 14px;
    }

    .action-buttons {
      display: flex;
      gap: 8px;
    }

    .btn-icon {
      width: 32px;
      height: 32px;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      border: none;
      padding: 0;
      line-height: 0;
      color: inherit;
      text-decoration: none;
      vertical-align: middle;
    }

    /* Lucide / SVG di tombol aksi */
    .btn-icon svg {
      flex-shrink: 0;
      stroke: currentColor;
      display: block;
    }

    .btn-icon .icon-pencil-svg {
      color: inherit;
    }

    .btn-icon-edit {
      background: #dbeafe;
      color: #1d4ed8;
      border: 1px solid #93c5fd;
    }

    .btn-icon-edit:hover {
      background: #bfdbfe;
      color: #1e3a8a;
      border-color: #60a5fa;
    }

    .btn-icon-delete {
      background: #fee2e2;
      color: #b91c1c;
      border: 1px solid #fca5a5;
    }

    .btn-icon-delete:hover {
      background: #fecaca;
      color: #991b1b;
      border-color: #f87171;
    }

    .page-header {
      padding: 24px;
      border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    }

    .page-title {
      font-size: 28px;
      font-weight: 700;
      color: #0066ff;
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .page-subtitle {
      font-size: 14px;
      color: #64748b;
    }

    .metric-value {
      font-size: 32px;
      font-weight: 700;
      color: #0066ff;
      margin-bottom: 4px;
    }

    .metric-label {
      font-size: 13px;
      color: #64748b;
      font-weight: 500;
    }

    .metric-change {
      font-size: 12px;
      margin-top: 4px;
      padding: 4px 8px;
      border-radius: 4px;
      width: fit-content;
    }

    .metric-change.positive {
      background: rgba(34, 197, 94, 0.1);
      color: #22c55e;
    }

    .metric-change.negative {
      background: rgba(239, 68, 68, 0.1);
      color: #ef4444;
    }

    .empty-state {
      text-align: center;
      padding: 60px 20px;
    }

    .empty-icon {
      font-size: 64px;
      margin-bottom: 16px;
      opacity: 0.5;
    }

    .empty-title {
      font-size: 18px;
      font-weight: 600;
      color: #1e293b;
      margin-bottom: 8px;
    }

    .empty-text {
      font-size: 14px;
      color: #64748b;
      margin-bottom: 20px;
    }

    .sidebar-subnav {
      display: block;
      padding: 0.45rem 0.65rem;
      border-radius: 0.5rem;
      font-size: 0.8125rem;
      color: rgba(255, 255, 255, 0.88);
      transition: background 0.15s ease;
    }

    .sidebar-subnav:hover {
      background: rgba(0, 102, 255, 0.15);
    }

    .sidebar-subnav-active {
      background: rgba(0, 102, 255, 0.22);
      color: #fff;
      font-weight: 600;
      box-shadow: inset 3px 0 0 #60a5fa;
    }

    .sidebar-nav-item {
      transition: all 0.2s ease;
    }

    .sidebar-nav-item:hover {
      transform: translateX(2px);
    }

    .sidebar-nav-item-active {
      background: rgba(0, 102, 255, 0.15);
      border-left: 4px solid #0066ff;
      padding-left: calc(0.75rem - 4px);
    }

body { box-sizing: border-box; }
