body {
    background-color: #f6f7fb;
    font-family: 'Segoe UI', sans-serif;
  }
/* Top Header */
.jd-header {
    background-color: #ffffff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  }

  .jd-logo {
    font-size: 22px;
    font-weight: bold;
    color: #f26522;
  }

  .jd-search input {
    width: 100%;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    background-color: #f0f0f0;
    font-size: 14px;
  }

  .jd-search {
    flex: 1;
    margin: 0 10px;
  }

  .jd-header-icons .btn {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
  }
  
  /* Sidebar */
  .jd-sidebar {
    width: 250px;
    background-color: #fff;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -250px;
    z-index: 998;
    padding: 20px 15px;
    transition: left 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  }

  .jd-sidebar.open {
    left: 0;
  }

  .sidebar-header h4 {
    font-weight: bold;
    color: #f26522;
    margin-bottom: 20px;
    font-size: 20px;
  }

  .sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .sidebar-menu li {
    padding: 12px 10px;
    font-size: 16px;
    color: #333;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s;
  }

  .sidebar-menu li i {
    margin-right: 10px;
    color: #f26522;
  }

  .sidebar-menu li:hover {
    background-color: #f26522;
    color: #fff;
  }

  .sidebar-menu li:hover i {
    color: #fff;
  }

  .fas.fa-bars {
    font-size: 20px;
    color: #f26522;
    cursor: pointer;
  }

  .jd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .jd-logo {
    font-size: 22px;
    font-weight: bold;
    color: #f26522;
  }

  .jd-search input {
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 15px;
  }

  .jd-header-icons i {
    color: #f26522;
    font-size: 18px;
  }

  @media (min-width: 768px) {
    .jd-sidebar {
      display: none !important;
    }
  }

  @media (max-width: 768px) {
    .jd-header-icons .btn {
      display: none;
    }
  }  
  .category-box {
    background: #fff;
    border-radius: 12px;
    padding: 15px 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .category-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  .category-box i {
    font-size: 26px;
    color: #ff5722;
    margin-bottom: 8px;
    display: block;
  }

  .category-box p {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    color: #333;
  }

  @media (max-width: 767.98px) {
    .category-box {
      padding: 10px 2px;
    }

    .category-box i {
      font-size: 22px;
    }

    .category-box p {
      font-size: 12px;
    }
  }

  
  .jd-bottom-nav {
    height: 60px;
    z-index: 1030;
  }
  
  .jd-bottom-nav i {
    color: #333;
  }
  
  .jd-bottom-nav small {
    font-size: 11px;
    color: #555;
  }
  .loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background-color: #0d6efd; /* Bootstrap primary color */
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Optional: Add animation for when loading is stuck */
.loading-bar.indeterminate {
    background: linear-gradient(to right, #0d6efd, #6ea8fe, #0d6efd);
    background-size: 200% 100%;
    animation: indeterminateAnimation 2s linear infinite;
    width: 50%;
}

@keyframes indeterminateAnimation {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
.post-box {
      background: white;
      width: 100%;
      max-width: 500px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      padding: 15px;
    }
    .post-box textarea {
      width: 100%;
      border: none;
      resize: none;
      height: 100px;
      font-size: 16px;
      padding: 10px;
      border-radius: 5px;
      background: #f0f2f5;
    }
    .actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 10px;
    }
    .file-input {
      display: flex;
      align-items: center;
    }
    .file-input input[type="file"] {
      display: none;
    }
    .file-input label {
      background-color: #1877f2;
      color: white;
      padding: 6px 12px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 14px;
    }
    .post-btn {
      background-color: #1877f2;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
    }
    .preview {
      margin-top: 10px;
    }
    .preview img {
      max-width: 100%;
      border-radius: 5px;
      margin-top: 5px;
    }
    
    