
    /* =========================================
       ROOT
    ========================================= */

    :root {
      --blue: #0057b8;
      --blue-dark: #003b7a;
      --blue-light: #eaf4ff;

      --orange: #ff7a00;
      --orange-dark: #df6500;
      --orange-light: #fff1e3;

      --white: #ffffff;
      --black: #0b1728;
      --text: #26364a;
      --muted: #718096;

      --border: #e6ebf2;
      --light: #f7f9fc;

      --success: #138a52;
      --success-light: #eaf8f1;

      --warning: #b77900;
      --warning-light: #fff7df;

      --danger: #c93636;
      --danger-light: #fff0f0;

      --purple: #6b46c1;
      --purple-light: #f3edff;

      --radius-sm: 10px;
      --radius-md: 16px;
      --radius-lg: 24px;

      --shadow-sm:
        0 8px 25px rgba(11, 23, 40, 0.06);

      --shadow-md:
        0 18px 45px rgba(11, 23, 40, 0.10);

      --sidebar-width: 260px;

      --font-body: "DM Sans", sans-serif;
      --font-heading: "Plus Jakarta Sans", sans-serif;

      --transition-fast: 0.2s ease;
      --transition-normal: 0.3s ease;
    }


    /* =========================================
       RESET
    ========================================= */

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;

      background: var(--light);
      color: var(--text);

      font-family: var(--font-body);
      font-size: 14px;
      line-height: 1.6;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

    a {
      color: inherit;
      text-decoration: none;
    }


    /* =========================================
       APP
    ========================================= */

    .app {
      min-height: 100vh;
    }

    .main {
      min-height: 100vh;
      margin-left: var(--sidebar-width);
    }

    .content {
      width: min(
        calc(100% - 64px),
        1380px
      );

      margin: 0 auto;

      padding: 32px 0 60px;
    }


    /* =========================================
       SIDEBAR
    ========================================= */

    .sidebar {
      position: fixed;
      z-index: 100;

      inset: 0 auto 0 0;

      width: var(--sidebar-width);

      display: flex;
      flex-direction: column;

      background: var(--white);

      border-right: 1px solid var(--border);
    }

    .brand {
      min-height: 82px;

      display: flex;
      align-items: center;

      padding: 20px 24px;

      border-bottom: 1px solid var(--border);
    }

    .brand a {
      display: inline-flex;
      align-items: center;
    }

    .brand img {
      width: auto;
      max-width: 155px;
      height: 44px;

      object-fit: contain;
    }

    .brand-fallback {
      display: none;

      color: var(--blue);

      font-family: var(--font-heading);
      font-size: 21px;
      font-weight: 800;
    }

    .sidebar-label {
      padding: 24px 24px 10px;

      color: var(--muted);

      font-size: 10px;
      font-weight: 700;

      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .sidebar-nav {
      padding: 0 12px;

      overflow-y: auto;
    }

    .nav-link {
      min-height: 46px;

      display: flex;
      align-items: center;
      gap: 12px;

      margin-bottom: 4px;
      padding: 0 13px;

      border-radius: 11px;

      color: var(--text);

      font-size: 13px;
      font-weight: 600;

      transition:
        background var(--transition-fast),
        color var(--transition-fast);
    }

    .nav-link:hover {
      background: var(--blue-light);
      color: var(--blue);
    }

    .nav-link.active {
      background: var(--blue);
      color: var(--white);
    }

    .nav-icon {
      width: 20px;
      flex: 0 0 20px;

      display: inline-flex;
      justify-content: center;

      font-size: 16px;
    }

    .sidebar-bottom {
      margin-top: auto;

      padding: 16px 12px;

      border-top: 1px solid var(--border);
    }

    .website-link {
      color: var(--muted);
    }

    .website-link:hover {
      color: var(--blue);
    }


    /* =========================================
       MOBILE SIDEBAR
    ========================================= */

    .mobile-menu-toggle {
      width: 42px;
      height: 42px;

      display: none;

      align-items: center;
      justify-content: center;

      border: 1px solid var(--border);
      border-radius: 10px;

      background: var(--white);
      color: var(--text);

      font-size: 19px;
    }

    .sidebar-overlay {
      position: fixed;
      z-index: 90;

      inset: 0;

      background: rgba(11, 23, 40, 0.45);

      opacity: 0;
      visibility: hidden;

      transition:
        opacity var(--transition-normal),
        visibility var(--transition-normal);
    }

    .sidebar-overlay.open {
      opacity: 1;
      visibility: visible;
    }


    /* =========================================
       TOPBAR
    ========================================= */

    .topbar {
      position: sticky;
      z-index: 50;
      top: 0;

      min-height: 82px;

      display: flex;
      align-items: center;
      justify-content: space-between;

      gap: 20px;

      padding: 16px 32px;

      background: rgba(255, 255, 255, 0.96);

      border-bottom: 1px solid var(--border);

      backdrop-filter: blur(12px);
    }

    .topbar-left {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .page-title {
      color: var(--black);

      font-family: var(--font-heading);
      font-size: 19px;
      font-weight: 800;
    }

    .page-subtitle {
      margin-top: 2px;

      color: var(--muted);

      font-size: 12px;
    }

    .topbar-right {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .notification-btn {
      position: relative;

      width: 42px;
      height: 42px;

      display: inline-flex;
      align-items: center;
      justify-content: center;

      border: 1px solid var(--border);
      border-radius: 11px;

      background: var(--white);
      color: var(--text);

      font-size: 17px;
    }

    .notification-dot {
      position: absolute;

      top: 8px;
      right: 8px;

      width: 7px;
      height: 7px;

      border: 2px solid var(--white);
      border-radius: 50%;

      background: var(--orange);
    }

    .employee {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .employee-avatar {
      width: 38px;
      height: 38px;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 50%;

      background: var(--blue-light);
      color: var(--blue);

      font-size: 12px;
      font-weight: 800;
    }

    .employee-info {
      line-height: 1.25;
    }

    .employee-name {
      color: var(--black);

      font-size: 12px;
      font-weight: 700;
    }

    .employee-role {
      margin-top: 2px;

      color: var(--muted);

      font-size: 10px;

      text-transform: capitalize;
    }


    /* =========================================
       PAGE HEADER
    ========================================= */

    .page-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;

      gap: 24px;

      margin-bottom: 28px;
    }

    .eyebrow {
      margin-bottom: 8px;

      color: var(--blue);

      font-size: 11px;
      font-weight: 800;

      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .page-heading {
      color: var(--black);

      font-family: var(--font-heading);

      font-size: clamp(27px, 3vw, 38px);

      font-weight: 800;

      letter-spacing: -0.04em;
      line-height: 1.1;
    }

    .page-description {
      max-width: 650px;

      margin-top: 8px;

      color: var(--muted);

      font-size: 14px;
    }

    .header-actions {
      display: flex;
      gap: 10px;

      flex-shrink: 0;
    }


    /* =========================================
       BUTTONS
    ========================================= */

    .btn {
      min-height: 42px;

      display: inline-flex;
      align-items: center;
      justify-content: center;

      gap: 8px;

      padding: 0 16px;

      border: 1px solid transparent;
      border-radius: 10px;

      font-size: 12px;
      font-weight: 700;

      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
    }

    .btn:hover {
      transform: translateY(-1px);
    }

    .btn-primary {
      background: var(--blue);
      color: var(--white);
    }

    .btn-primary:hover {
      background: var(--blue-dark);
    }

    .btn-secondary {
      background: var(--white);
      border-color: var(--border);
      color: var(--text);
    }

    .btn-secondary:hover {
      background: var(--light);
      border-color: #cdd6e2;
    }

    .btn-danger {
      background: var(--danger-light);
      color: var(--danger);
    }

    .btn-success {
      background: var(--success-light);
      color: var(--success);
    }

    .btn-warning {
      background: var(--warning-light);
      color: var(--warning);
    }

    .btn-small {
      min-height: 34px;

      padding: 0 11px;

      font-size: 11px;
    }


    /* =========================================
       STATISTICS
    ========================================= */

    .stats-grid {
      display: grid;

      grid-template-columns:
        repeat(4, minmax(0, 1fr));

      gap: 16px;

      margin-bottom: 22px;
    }

    .stat-card {
      min-height: 132px;

      padding: 20px;

      background: var(--white);

      border: 1px solid var(--border);
      border-radius: var(--radius-md);

      box-shadow: var(--shadow-sm);
    }

    .stat-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .stat-label {
      color: var(--muted);

      font-size: 11px;
      font-weight: 700;

      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .stat-icon {
      width: 35px;
      height: 35px;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 9px;

      background: var(--blue-light);
      color: var(--blue);

      font-size: 15px;
    }

    .stat-card:nth-child(2)
    .stat-icon {
      background: var(--success-light);
      color: var(--success);
    }

    .stat-card:nth-child(3)
    .stat-icon {
      background: var(--warning-light);
      color: var(--warning);
    }

    .stat-card:nth-child(4)
    .stat-icon {
      background: var(--purple-light);
      color: var(--purple);
    }

    .stat-value {
      margin-top: 14px;

      color: var(--black);

      font-family: var(--font-heading);

      font-size: 28px;
      font-weight: 800;

      line-height: 1;
    }

    .stat-meta {
      margin-top: 8px;

      color: var(--muted);

      font-size: 11px;
    }


    /* =========================================
       PANEL
    ========================================= */

    .panel {
      background: var(--white);

      border: 1px solid var(--border);
      border-radius: var(--radius-md);

      box-shadow: var(--shadow-sm);
    }


    /* =========================================
       TOOLBAR
    ========================================= */

    .toolbar {
      display: flex;
      align-items: center;

      gap: 12px;

      padding: 16px;

      border-bottom: 1px solid var(--border);
    }

    .search-wrap {
      position: relative;

      flex: 1;

      min-width: 220px;
    }

    .search-icon {
      position: absolute;

      top: 50%;
      left: 13px;

      transform: translateY(-50%);

      color: var(--muted);

      font-size: 14px;

      pointer-events: none;
    }

    .search-input {
      width: 100%;
      height: 42px;

      padding: 0 13px 0 37px;

      border: 1px solid var(--border);
      border-radius: 10px;

      outline: none;

      background: var(--light);
      color: var(--text);

      font-size: 12px;
    }

    .search-input:focus {
      background: var(--white);
      border-color: var(--blue);
    }

    .filter-select {
      min-width: 145px;
      height: 42px;

      padding: 0 12px;

      border: 1px solid var(--border);
      border-radius: 10px;

      outline: none;

      background: var(--white);
      color: var(--text);

      font-size: 12px;
      font-weight: 600;
    }

    .filter-select:focus {
      border-color: var(--blue);
    }


    /* =========================================
       PORTFOLIO GRID
    ========================================= */

    .portfolio-header {
      display: flex;
      align-items: center;
      justify-content: space-between;

      gap: 15px;

      padding: 18px 20px;
    }

    .panel-title {
      color: var(--black);

      font-family: var(--font-heading);

      font-size: 14px;
      font-weight: 800;
    }

    .panel-count {
      margin-top: 2px;

      color: var(--muted);

      font-size: 11px;
    }

    .portfolio-grid {
      display: grid;

      grid-template-columns:
        repeat(3, minmax(0, 1fr));

      gap: 18px;

      padding: 0 20px 20px;
    }


    /* =========================================
       PROJECT CARD
    ========================================= */

    .project-card {
      overflow: hidden;

      background: var(--white);

      border: 1px solid var(--border);
      border-radius: 16px;

      transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
    }

    .project-card:hover {
      transform: translateY(-2px);

      border-color: #d3dce8;

      box-shadow: var(--shadow-sm);
    }

    .project-image {
      position: relative;

      width: 100%;
      aspect-ratio: 16 / 10;

      overflow: hidden;

      background:
        linear-gradient(
          135deg,
          var(--blue-light),
          var(--light)
        );
    }

    .project-image img {
      width: 100%;
      height: 100%;

      display: block;

      object-fit: cover;

      transition:
        transform var(--transition-normal);
    }

    .project-card:hover
    .project-image img {
      transform: scale(1.03);
    }

    .project-image-placeholder {
      width: 100%;
      height: 100%;

      display: flex;
      align-items: center;
      justify-content: center;

      color: var(--blue);

      font-family: var(--font-heading);

      font-size: 12px;
      font-weight: 800;

      letter-spacing: 0.05em;

      text-transform: uppercase;
    }

    .project-status {
      position: absolute;

      top: 12px;
      right: 12px;

      padding: 5px 9px;

      border-radius: 999px;

      background: rgba(255, 255, 255, 0.94);

      font-size: 10px;
      font-weight: 800;

      text-transform: capitalize;
    }

    .project-status.published {
      color: var(--success);
    }

    .project-status.draft {
      color: var(--warning);
    }

    .project-status.archived {
      color: var(--muted);
    }

    .project-content {
      padding: 17px;
    }

    .project-category {
      margin-bottom: 5px;

      color: var(--blue);

      font-size: 10px;
      font-weight: 800;

      letter-spacing: 0.06em;

      text-transform: uppercase;
    }

    .project-title {
      color: var(--black);

      font-family: var(--font-heading);

      font-size: 15px;
      font-weight: 800;

      line-height: 1.3;
    }

    .project-description {
      display: -webkit-box;

      margin-top: 7px;

      overflow: hidden;

      color: var(--muted);

      font-size: 11px;

      -webkit-box-orient: vertical;
    }

    .project-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;

      gap: 10px;

      margin-top: 15px;
      padding-top: 13px;

      border-top: 1px solid var(--border);
    }

    .project-date {
      color: var(--muted);

      font-size: 10px;
    }

    .project-actions {
      display: flex;
      gap: 6px;
    }

    .icon-btn {
      width: 33px;
      height: 33px;

      display: inline-flex;
      align-items: center;
      justify-content: center;

      border: 1px solid var(--border);
      border-radius: 9px;

      background: var(--white);
      color: var(--text);

      font-size: 13px;

      transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);
    }

    .icon-btn:hover {
      background: var(--blue-light);
      border-color: var(--blue);
      color: var(--blue);
    }


    /* =========================================
       EMPTY STATE
    ========================================= */

    .empty-state {
      grid-column: 1 / -1;

      padding: 70px 24px;

      text-align: center;
    }

    .empty-icon {
      width: 54px;
      height: 54px;

      display: flex;
      align-items: center;
      justify-content: center;

      margin: 0 auto 15px;

      border-radius: 15px;

      background: var(--blue-light);
      color: var(--blue);

      font-size: 22px;
    }

    .empty-title {
      color: var(--black);

      font-family: var(--font-heading);

      font-size: 16px;
      font-weight: 800;
    }

    .empty-text {
      max-width: 460px;

      margin: 7px auto 0;

      color: var(--muted);

      font-size: 12px;
    }


    /* =========================================
       MODAL
    ========================================= */

    .modal-backdrop {
      position: fixed;
      z-index: 300;

      inset: 0;

      display: flex;
      align-items: center;
      justify-content: center;

      padding: 24px;

      background: rgba(11, 23, 40, 0.55);

      opacity: 0;
      visibility: hidden;

      transition:
        opacity var(--transition-normal),
        visibility var(--transition-normal);
    }

    .modal-backdrop.open {
      opacity: 1;
      visibility: visible;
    }

    .modal {
      width: min(760px, 100%);
      max-height: calc(100vh - 48px);

      overflow-y: auto;

      background: var(--white);

      border-radius: var(--radius-lg);

      box-shadow: var(--shadow-md);

      transform: translateY(12px) scale(0.98);

      transition:
        transform var(--transition-normal);
    }

    .modal-backdrop.open .modal {
      transform: translateY(0) scale(1);
    }

    .modal-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;

      gap: 20px;

      padding: 22px 24px;

      border-bottom: 1px solid var(--border);
    }

    .modal-heading {
      color: var(--black);

      font-family: var(--font-heading);

      font-size: 19px;
      font-weight: 800;
    }

    .modal-subheading {
      margin-top: 4px;

      color: var(--muted);

      font-size: 11px;
    }

    .close-modal {
      width: 36px;
      height: 36px;

      display: flex;
      align-items: center;
      justify-content: center;

      border: 1px solid var(--border);
      border-radius: 9px;

      background: var(--white);
      color: var(--text);

      font-size: 18px;
    }

    .close-modal:hover {
      background: var(--light);
    }

    .modal-body {
      padding: 24px;
    }


    /* =========================================
       FORM
    ========================================= */

    .form-grid {
      display: grid;

      grid-template-columns:
        repeat(2, minmax(0, 1fr));

      gap: 16px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 7px;
    }

    .form-group.full {
      grid-column: 1 / -1;
    }

    .form-label {
      color: var(--black);

      font-size: 11px;
      font-weight: 800;
    }

    .form-label span {
      color: var(--danger);
    }

    .form-input,
    .form-select,
    .form-textarea {
      width: 100%;

      border: 1px solid var(--border);
      border-radius: 10px;

      outline: none;

      background: var(--white);
      color: var(--text);

      font-size: 12px;
    }

    .form-input,
    .form-select {
      height: 43px;

      padding: 0 12px;
    }

    .form-textarea {
      min-height: 105px;

      padding: 12px;

      resize: vertical;
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
      border-color: var(--blue);

      box-shadow:
        0 0 0 3px
        rgba(0, 87, 184, 0.08);
    }

    .form-help {
      color: var(--muted);

      font-size: 10px;
    }


    /* =========================================
       IMAGE INPUT
    ========================================= */

    .image-upload {
      position: relative;

      min-height: 155px;

      display: flex;
      align-items: center;
      justify-content: center;

      padding: 20px;

      border: 1px dashed #cbd5e1;
      border-radius: 13px;

      background: var(--light);

      text-align: center;

      transition:
        border-color var(--transition-fast),
        background var(--transition-fast);
    }

    .image-upload:hover {
      border-color: var(--blue);
      background: var(--blue-light);
    }

    .image-upload input {
      position: absolute;

      inset: 0;

      width: 100%;
      height: 100%;

      cursor: pointer;

      opacity: 0;
    }

    .upload-content {
      pointer-events: none;
    }

    .upload-icon {
      width: 42px;
      height: 42px;

      display: flex;
      align-items: center;
      justify-content: center;

      margin: 0 auto 8px;

      border-radius: 11px;

      background: var(--white);
      color: var(--blue);

      font-size: 18px;

      box-shadow: var(--shadow-sm);
    }

    .upload-title {
      color: var(--black);

      font-size: 12px;
      font-weight: 800;
    }

    .upload-text {
      margin-top: 3px;

      color: var(--muted);

      font-size: 10px;
    }

    .image-preview {
      display: none;

      width: 100%;
      max-height: 220px;

      margin-top: 12px;

      overflow: hidden;

      border-radius: 12px;
    }

    .image-preview.show {
      display: block;
    }

    .image-preview img {
      width: 100%;
      max-height: 220px;

      display: block;

      object-fit: cover;
    }


    /* =========================================
       TOGGLE
    ========================================= */

    .toggle-row {
      display: flex;
      align-items: center;
      justify-content: space-between;

      gap: 15px;

      padding: 14px;

      border: 1px solid var(--border);
      border-radius: 11px;

      background: var(--light);
    }

    .toggle-text strong {
      display: block;

      color: var(--black);

      font-size: 12px;
      font-weight: 800;
    }

    .toggle-text span {
      display: block;

      margin-top: 2px;

      color: var(--muted);

      font-size: 10px;
    }

    .switch {
      position: relative;

      width: 43px;
      height: 24px;

      flex: 0 0 43px;
    }

    .switch input {
      width: 0;
      height: 0;

      opacity: 0;
    }

    .slider {
      position: absolute;

      inset: 0;

      border-radius: 999px;

      background: #ccd5df;

      transition:
        background var(--transition-fast);
    }

    .slider::before {
      content: "";

      position: absolute;

      width: 18px;
      height: 18px;

      left: 3px;
      top: 3px;

      border-radius: 50%;

      background: var(--white);

      box-shadow:
        0 2px 5px
        rgba(11, 23, 40, 0.15);

      transition:
        transform var(--transition-fast);
    }

    .switch input:checked + .slider {
      background: var(--blue);
    }

    .switch input:checked + .slider::before {
      transform: translateX(19px);
    }


    /* =========================================
       MODAL FOOTER
    ========================================= */

    .modal-footer {
      display: flex;
      justify-content: flex-end;

      gap: 9px;

      margin-top: 24px;
      padding-top: 20px;

      border-top: 1px solid var(--border);
    }


    /* =========================================
       CONFIRM MODAL
    ========================================= */

    .confirm-modal {
      width: min(450px, 100%);
    }

    .confirm-icon {
      width: 48px;
      height: 48px;

      display: flex;
      align-items: center;
      justify-content: center;

      margin-bottom: 15px;

      border-radius: 13px;

      background: var(--warning-light);
      color: var(--warning);

      font-size: 20px;
    }

    .confirm-title {
      color: var(--black);

      font-family: var(--font-heading);

      font-size: 18px;
      font-weight: 800;
    }

    .confirm-text {
      margin-top: 7px;

      color: var(--muted);

      font-size: 12px;
    }


    /* =========================================
       LOADING
    ========================================= */

    .loading-state {
      grid-column: 1 / -1;

      padding: 65px 20px;

      color: var(--muted);

      text-align: center;

      font-size: 12px;
    }

    .spinner {
      width: 17px;
      height: 17px;

      margin: 0 auto 9px;

      border: 2px solid var(--border);
      border-top-color: var(--blue);

      border-radius: 50%;

      animation: spin 0.7s linear infinite;
    }

    @keyframes spin {

      to {
        transform: rotate(360deg);
      }

    }


    /* =========================================
       PAGINATION
    ========================================= */

    .table-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;

      gap: 15px;

      padding: 15px 20px;

      border-top: 1px solid var(--border);
    }

    .pagination-info {
      color: var(--muted);

      font-size: 11px;
    }

    .pagination {
      display: flex;
      gap: 6px;
    }

    .page-btn {
      min-width: 34px;
      height: 34px;

      display: inline-flex;
      align-items: center;
      justify-content: center;

      padding: 0 9px;

      border: 1px solid var(--border);
      border-radius: 8px;

      background: var(--white);
      color: var(--text);

      font-size: 11px;
      font-weight: 700;
    }

    .page-btn.active {
      background: var(--blue);
      border-color: var(--blue);
      color: var(--white);
    }

    .page-btn:disabled {
      cursor: not-allowed;
      opacity: 0.45;
    }


    /* =========================================
       RESPONSIVE
    ========================================= */

    @media (max-width: 1200px) {

      .stats-grid {
        grid-template-columns:
          repeat(2, minmax(0, 1fr));
      }

      .portfolio-grid {
        grid-template-columns:
          repeat(2, minmax(0, 1fr));
      }

      .content {
        width: min(
          calc(100% - 48px),
          1380px
        );
      }

    }


    @media (max-width: 900px) {

      .main {
        margin-left: 0;
      }

      .sidebar {
        transform: translateX(-100%);

        transition:
          transform var(--transition-normal);

        box-shadow: var(--shadow-md);
      }

      .sidebar.open {
        transform: translateX(0);
      }

      .mobile-menu-toggle {
        display: inline-flex;
      }

      .topbar {
        padding: 14px 20px;
      }

      .content {
        width: calc(100% - 40px);

        padding-top: 25px;
      }

    }


    @media (max-width: 700px) {

      .page-header {
        align-items: flex-start;
        flex-direction: column;
      }

      .header-actions {
        width: 100%;
      }

      .header-actions .btn {
        flex: 1;
      }

      .toolbar {
        flex-wrap: wrap;
      }

      .search-wrap {
        flex: 1 1 100%;
      }

      .filter-select {
        flex: 1;
      }

      .topbar-right {
        gap: 8px;
      }

      .employee-info,
      .notification-btn {
        display: none;
      }

      .portfolio-grid {
        grid-template-columns: 1fr;

        padding-inline: 14px;
      }

      .portfolio-header {
        padding-inline: 14px;
      }

      .table-footer {
        align-items: flex-start;
        flex-direction: column;
      }

      .form-grid {
        grid-template-columns: 1fr;
      }

      .form-group.full {
        grid-column: auto;
      }

      .modal-backdrop {
        padding: 12px;
      }

      .modal-body {
        padding: 18px;
      }

    }


    @media (max-width: 560px) {

      .stats-grid {
        grid-template-columns: 1fr;
      }

      .content {
        width: calc(100% - 28px);

        padding-bottom: 35px;
      }

      .topbar {
        padding-inline: 14px;
      }

      .page-heading {
        font-size: 28px;
      }

      .modal-footer {
        flex-direction: column-reverse;
      }

      .modal-footer .btn {
        width: 100%;
      }

    }


    @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        transition-duration: 0.01ms !important;
      }

    }

  