    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    body {
    font-family: 'Lato', sans-serif;
        line-height: 1.6;
        color: #333;
    }
  
.forum-section {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

    header h1 {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        font-size: 2.0rem;
    }
    .forum-section {
    display: grid;
    grid-template-columns: 3fr 1fr; /* 75% / 25% */
    gap: 20px;
    padding: 20px 0;
}
@media (max-width: 992px) {
    .forum-section {
        grid-template-columns: 1fr; /* full width */
    }
}
    .left-sidebar {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 8px;
        height: fit-content;
    }
    .left-sidebar h3 {
        margin-bottom: 15px;
        color: #2da6f9;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.1rem;
    }
    .toggle-icon {
        font-size: 18px;
        transition: transform 0.3s;
    }
    .toggle-icon.open {
        transform: rotate(180deg);
    }
    .left-sidebar ul {
        list-style: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    .left-sidebar ul.open {
        max-height: 500px;
    }
    .category-item {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        transition: all 0.3s;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .category-item:hover {
        background: white;
        padding-left: 20px;
    }
    .category-item.active {
        background: #2da6f9;
        color: white;
    }
    .category-badge {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.2);
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 0.8em;
        font-weight: bold;
    }
    .category-item.active .category-badge {
        background:rgb(3 59 112);
    }
    .main-content {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    .sort-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #eee;
        background: #f8f9fa;
    }
    .sort-tabs {
        display: flex;
        gap: 10px;
    }
    .sort-tab {
        padding: 8px 16px;
        background: white;
        border: 1px solid #dee2e6;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 1.46rem;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .sort-tab.active {
        background: #2da6f9;
        color: white;
        border-color: #2da6f9;
    }
    .question-list {
        padding: 20px;
        min-height: 400px;
    }
    .no-results {
        text-align: center;
        padding: 60px 20px;
        color: #666;
    }
    .no-results i {
        font-size: 48px;
        display: block;
        margin-bottom: 20px;
        color: #dee2e6;
    }
    .question {
        border-bottom: 1px solid #eee;
        padding: 20px 0;
        animation: fadeIn 0.5s ease-in;
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .question:last-child {
        border-bottom: none;
    }
    .question h4 {
        margin-bottom: 10px;
        color: #2da6f9;
        font-size: 1.1em;
        cursor: pointer;
    }
    .question-meta {
        display: flex;
        gap: 15px;
        font-size: 0.9em;
        color: #666;
        margin-bottom: 10px;
    }
    .question p {
        margin-bottom: 15px;
        color: #555;
    }
    .question-actions {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .btn {
        padding: 6px 14px;
        background: rgb(47 165 250);
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.9em;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .btn:hover {
        background: white;
        transform: translateY(-1px);
    }
    .btn.secondary {
        background: #6c757d;
    }
    .btn.secondary:hover {
        background: white;
    }
    .vote-btn {
        background: #28a745;
        padding: 4px 10px;
        font-size: 0.8em;
    }
    .right-sidebar {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 8px;
        height: fit-content;
    }
    .top-experts h4 {
        margin-bottom: 15px;
        color: #2da6f9;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .expert {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        transition: background 0.3s;
    }
    .expert:hover {
        background: white;
        border-radius: 6px;
        padding: 12px;
        margin: 0 -8px;
    }
    .expert-avatar {
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, #2da6f9, #0056b3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 0.9em;
        flex-shrink: 0;
    }
    .pagination {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 20px;
        background: #f8f9fa;
    }
   
    /* Responsive Design */
    @media (max-width: 1024px) {
        .forum-section {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        .right-sidebar {
            order: -1;
        }
    }
    @media (max-width: 768px) {
        .sort-bar {
            flex-direction: column;
            align-items: stretch;
            gap: 15px;
        }
        .sort-tabs {
            justify-content: center;
            flex-wrap: wrap;
        }
        .question-meta {
            flex-direction: column;
            gap: 5px;
        }
        .question-actions {
            flex-wrap: wrap;
        }
        .container {
            padding: 0 15px;
        }
    }
    @media (max-width: 480px) {
        header h1 {
            font-size: 1.3rem;
        }
        .category-item {
            padding: 15px;
            font-size: 0.95em;
        }
        .btn {
            flex: 1;
            min-width: 80px;
        }
    }
    
    .btn-center{
  text-align: center;
  margin: 20px 0;
}

.post-btn{
  padding: 10px 22px;
  background: #007f5f;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.post-btn:hover{
  background: #2b9348;
}

.floating-btn {
    position: fixed;
    right: 20px;
    bottom: 30px;
    background: linear-gradient(135deg, #007f5f, #2b9348);
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    z-index: 999;
    overflow: hidden;

    box-shadow:
        0 6px 18px rgba(0, 127, 95, 0.45),
        0 0 18px rgba(43, 147, 72, 0.35);

    animation: floatJump 1.5s infinite ease-in-out;
    transition: all 0.3s ease;
}

/* Shine Effect */
.floating-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.35);
    transform: skewX(-25deg);

    animation: shine 2.5s infinite;
}

.floating-btn:hover {
    transform: scale(1.05);
    box-shadow:
        0 8px 24px rgba(0, 127, 95, 0.55),
        0 0 22px rgba(43, 147, 72, 0.45);
}

/* Jump Animation */
@keyframes floatJump {
    0%,100%{
        bottom:30px;
    }

    50%{
        bottom:42px;
    }
}

/* Shine Animation */
@keyframes shine {
    0%{
        left:-80%;
    }

    100%{
        left:140%;
    }
}

/* Modal Background */
.modal{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.modal-content{
  background:#fff;
  width:90%;
  max-width:400px;
  padding:25px;
  border-radius:12px;
  position: relative;
  animation: fadeIn .3s ease;
}

@keyframes fadeIn{
  from{transform:scale(.9);opacity:0;}
  to{transform:scale(1);opacity:1;}
}

.close-btn{
  position:absolute;
  top:10px;
  right:15px;
  font-size:22px;
  cursor:pointer;
}

.modal-content h2{
  text-align:center;
  margin-bottom:15px;
}

/* Form */
.article-form input,
.article-form select,
.article-form textarea{
  width:100%;
  padding:10px;
  margin-bottom:12px;
  border:1px solid #ccc;
  border-radius:6px;
  font-size:14px;
}

.submit-btn{
  width:100%;
  background:#007f5f;
  color:#fff;
  border:none;
  padding:12px;
  border-radius:6px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
}

.submit-btn:hover{
  background:#2b9348;
}

/* Responsive */
@media(max-width:480px){
  .floating-btn{
    right:15px;
    bottom:20px;
    font-size:13px;
    padding:12px 16px;
  }
}

.gst-date {
    padding: 7px 9px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 14px;
   margin-right: 10px;
}

 :root {
      --bg: #ffffff;
      --text: #2c3138;
      --muted: #6b7280;
      --line: #d9e0ea;
      --line-strong: #c9d3e1;
      --soft: #f5f8fc;
      --soft-blue: #edf5ff;
      --tab-blue: #1e40af;
      --tab-pill: #dbeafb;
      --accent: #f4a51c;
      --card-shadow: 0 2px 10px rgba(27, 43, 78, 0.08);
      --link: #1e40af;
      --purple: #5728a6;
      --icon: #5b6278;
      --footer-bg: #fafbfd;
      --avatar-a: #d8f3c0;
      --avatar-b: #ccecb6;
      --container: min(1500px, calc(100vw - 60px));
      --hero-title: clamp(1.65rem, 2vw, 2.85rem);
      --section-title: clamp(1.2rem, 1.4vw, 1.7rem);
      --card-title: clamp(1.1rem, 1.4vw, 2.4rem);
      --body: clamp(0.96rem, 1.1vw, 1.75rem);
      --meta: clamp(0.88rem, 0.95vw, 1.48rem);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
    }

    a {
      color: var(--link);
      text-decoration: none;
    }

    button,
    select,
    input {
      font: inherit;
    }

    .page {
      width: var(--container);
      margin: 28px auto 40px;
    }

    .hero {
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 36px;
      align-items: center;
    }

    .avatar {
      width: 132px;
      height: 132px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: radial-gradient(circle at 32% 24%, var(--avatar-a), var(--avatar-b));
    }

    .avatar svg {
      width: 56px;
      height: 56px;
      fill: #000;
    }

    .hero-copy h1 {
      margin: 0 0 8px;
      font-size: var(--hero-title);
      font-weight: 600;
      color: #404247;
      letter-spacing: 0.01em;
    }

    .hero-copy a {
      font-size: 1rem;
      font-weight: 500;
      color: #557ed8;
    }

    .profile-tabs {
      display: flex;
      gap: 6px;
      margin-top: 32px;
      border-bottom: 1px solid var(--line-strong);
      overflow-x: auto;
      scrollbar-width: none;
    }

    .profile-tabs::-webkit-scrollbar {
      display: none;
    }

    .profile-tab {
      border: 0;
      background: transparent;
      padding: 14px 20px 13px;
      border-radius: 12px 12px 0 0;
      white-space: nowrap;
      cursor: pointer;
      color: #111;
      font-size: 1rem;
    }

    .profile-tab.is-primary {
      font-weight: 800;
    }

    .profile-tab.is-active {
      background: var(--tab-pill);
      box-shadow: inset 0 -3px 0 var(--accent);
    }

    .panel {
      /*padding-top: 28px;*/
      min-height: 600px;
    }

    .about-panel,
    .articles-panel {
      max-width: 980px;
      margin-left: 140px;
    }

    .info-card {
      border: 1px solid var(--line);
      border-radius: 12px;
      box-shadow: var(--card-shadow);
      background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
      padding: 28px;
    }

    .info-card h2 {
      margin: 0 0 14px;
      font-size: 1.35rem;
      color: #324766;
    }

    .info-card p {
      margin: 0 0 16px;
      color: #5d6676;
      line-height: 1.75;
      font-size: 1.28rem;
    }

    .about-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin-top: 22px;
    }

    .about-stat {
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--soft);
      padding: 18px;
    }

    .about-stat strong {
      display: block;
      font-size: 1.3rem;
      color: #274062;
      margin-bottom: 6px;
    }

    .about-stat span {
      color: #6e788a;
      font-size: 0.9rem;
    }

    .forum-panel {
      display: grid;
      gap: 18px;
    }

    .toolbar {
      border: 1px solid var(--line-strong);
      background: #fff;
      min-height: 62px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 10px 16px 0;
    }

    .sort-tabs {
      display: flex;
      align-items: center;
      gap: 18px;
      overflow-x: auto;
      scrollbar-width: none;
      white-space: nowrap;
      padding-bottom: 0;
    }

    .sort-tabs::-webkit-scrollbar {
      display: none;
    }

    .sort-tab {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1.46rem;
    /*padding: 0 0 14px;*/
    position: relative;

    font-weight: 700; /* bold */

    background: linear-gradient(90deg, #1e40af, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

    .sort-tab.is-active {
      color: #23252a;
    }

    .sort-tab.is-active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 3px;
      background: #033b70;
    }

    .per-page {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--tab-blue);
      /*font-size: 0.96rem;*/
      padding-bottom: 10px;
      white-space: nowrap;
    }

    .per-page select {
      min-width: 42px;
      height: 34px;
      border-radius: 10px;
      border: 1px solid #c9b9b2;
      background: #fff;
      padding: 0 4px;
      color: #111;
    }

    .search-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .advanced-btn {
      border: 3px solid #8bb8eb;
      background: var(--soft-blue);
      color: #214f9c;
      border-radius: 22px;
      padding: 13px 24px;
      font-size: 1rem;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
    }

    .caret {
      width: 11px;
      height: 11px;
      border-right: 3px solid currentColor;
      border-bottom: 3px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      transition: transform 0.2s ease;
    }

    .advanced-btn.is-open .caret {
      transform: rotate(-135deg) translateY(-1px);
    }

    .results-count {
      color: #13161c;
      font-size: 0.95rem;
    }

    .results-count strong {
      font-size: 1rem;
      font-weight: 700;
    }

    .advanced-search {
      display: none;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #fbfdff;
    }

    .advanced-search.is-open {
      display: grid;
    }

    .field {
      display: grid;
      gap: 8px;
    }

    .field label {
      color: #56637a;
      font-size: 0.86rem;
      font-weight: 600;
    }

    .field input,
    .field select {
      width: 100%;
      min-height: 44px;
      border: 1px solid #d4dbe6;
      border-radius: 10px;
      padding: 10px 12px;
      background: #fff;
    }

    .search-actions {
      display: flex;
      align-items: end;
      gap: 10px;
    }

    .search-btn,
    .reset-btn {
      min-height: 44px;
      border-radius: 10px;
      border: 1px solid transparent;
      padding: 0 18px;
      cursor: pointer;
      font-weight: 600;
    }

    .search-btn {
      background: var(--tab-blue);
      color: #fff;
    }

    .reset-btn {
      background: #edf2f8;
      color: #35527b;
      border-color: #d5dfeb;
    }

    .filter-summary {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
      color: #0e1116;
      font-size: 1.26rem;
    }

    .filter-summary em {
      font-style: italic;
      font-size: 1.28rem;
    }

    .filter-summary .reset-link {
      color: #1e40af;
      font-weight: 700;
      cursor: pointer;
    }

    .cards {
      display: grid;
      gap: 22px;
    }

    .issue-card {
      border: 1px solid #d7e5ff;
      border-radius: 12px;
      background: #fff;
      box-shadow: var(--card-shadow);
      overflow: hidden;
    }

    .issue-card-body {
      display: grid;
      grid-template-columns: 6px 1fr auto;
      gap: 14px;
      padding: 18px 24px 20px;
      align-items: start;
    }

    .left-reaction {
      width: 64px;
      display: grid;
      justify-items: center;
      gap: 10px;
      color: var(--icon);
      padding-top: 20px;
    }

    .left-reaction svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
      stroke-width: 1.5;
      fill: none;
      vector-effect: non-scaling-stroke;
    }

    .left-reaction .count {
      font-size: 1.28rem;
      line-height: 1;
      color: #777;
      font-weight: 700;
    }

    .card-main {
      padding-top: 14px;
      min-width: 0;
       text-align: justify;

    }

    .card-main h3 {
      margin: 0 0 14px;
      font-size: 2.1rem;
      font-weight: 700;
      color: #2061d4;
      line-height: 1.35;
    }

    .card-main p {
      margin: 0;
      font-size: 16px;
      line-height: 1.72;
      color: #16181d;
    }

    .read-link {
      white-space: nowrap;
      display: inline-block;
    }

    .issue-id {
      color: #5db4f0;
      font-size: 1.25rem;
      white-space: nowrap;
      padding-top: 6px;
    }

    .topic-pill {
      display: inline-flex;
      margin-top: 18px;
      min-height: 34px;
      align-items: center;
      border-radius: 999px;
      background: #e7f5fe;
      color: #111111;
      padding: 7px 22px;
      font-size: 1.42rem;
    }

    .issue-footer {
      border-top: 1px solid #e7f5fe;
      background: #e7f5fe;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 14px 24px;
    }

    .asked-by {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .mini-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(180deg, #34a3f1, #033b6f);
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }

    .mini-avatar svg {
      width: 22px;
      height: 22px;
      fill: #fff;
    }

    .asked-copy {
      display: flex;
      align-items: baseline;
      gap: 6px;
      flex-wrap: wrap;

      color: #64676c;
    }

    .asked-copy strong {
      color: var(--link);
      font-weight: 700;
    }

    .footer-stats {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      justify-content: flex-end;
      color: #60656e;
      /*font-size: var(--meta);*/
    }

    .footer-stats span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      white-space: nowrap;
    }

    .footer-stats svg {
      width: 18px;
      height: 18px;
      fill: #014687;
      flex-shrink: 0;
    }

    .empty-state {
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 34px 22px;
      text-align: center;
      background: #fbfcfe;
      color: #5f6b7f;
    }

    .pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      padding-top: 4px;
    }

    .pager-btn {
      min-width: 110px;
      min-height: 40px;
      border-radius: 999px;
      border: 1px solid #d8e0eb;
      background: #fff;
      color: #28496f;
      cursor: pointer;
    }

    .pager-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .page-label {
      color: #4a5260;
      font-size: 0.94rem;
    }

    @media (max-width: 1280px) {
      .about-panel,
      .articles-panel {
        margin-left: 0;
      }
    }

    @media (max-width: 980px) {
      :root {
        --container: calc(100vw - 36px);
      }

      .hero {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 14px 0;
      }

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

      .advanced-search {
        grid-template-columns: 1fr 1fr;
      }

      .issue-card-body {
        grid-template-columns: 72px 1fr;
      }

      .issue-id {
        grid-column: 2;
        padding-top: 0;
      }

      .issue-footer {
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-stats {
        justify-content: flex-start;
      }
    }

    @media (max-width: 700px) {
      :root {
        --container: calc(100vw - 24px);
      }

      .page {
        margin-top: 18px;
      }

      .avatar {
        width: 108px;
        height: 108px;
      }

      .avatar svg {
        width: 48px;
        height: 48px;
      }

      .profile-tab {
        padding: 12px 16px 11px;
      }

      .panel {
        padding-top: 22px;
      }

      .advanced-search {
        grid-template-columns: 1fr;
      }

      .search-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .about-grid {
        grid-template-columns: 1fr;
      }

      .issue-card-body {
        grid-template-columns: 1fr;
        padding: 18px;
      }

      .left-reaction {
        width: auto;
        grid-auto-flow: column;
        justify-content: start;
        gap: 14px;
        padding-top: 0;
      }

      .left-reaction .count {
        align-self: center;
      }

      .card-main,
      .issue-id {
        grid-column: auto;
        padding-top: 0;
      }

      .issue-footer {
        padding: 14px 18px;
      }

      .results-count {
        width: 100%;
        text-align: left;
      }
    }

.card-main h3 {
    cursor: pointer;
    transition: 0.3s;
}

.card-main h3:hover {
    text-decoration: underline;
}
.card-main h3 a:focus {
    outline: none;
}
.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;

    /* ЁЯСЗ роорпБроХрпНроХро┐ропроорпН */
    max-height: 80vh;   /* full height роЖроХро╛рооро▓рпН control */
    overflow-y: auto;   /* content роЕродро┐роХрооро╛ роЗро░рпБроирпНродро╛ scroll */

    margin: auto;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}
.no-record {
    font-size: 15px;
    color: #6b7280;
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.no-record::before {
    content: "🔍";
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
}