/**
 * Responsive Stylesheet
 * Le Quy Don Commune Portal
 * Breakpoints: 1200px, 1024px, 768px, 600px, 480px, 390px, 360px
 */

/* ==========================================================================
   GLOBAL ACCESSIBILITY & PREVENT HORIZONTAL SCROLL
   ========================================================================== */
html, body {
  overflow-x: hidden;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

.table-responsive,
.lqd-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

/* ==========================================================================
   LARGE DESKTOP (1440px - 1920px)
   ========================================================================== */
@media screen and (min-width: 1440px) {
  .lqd-container {
    max-width: 1280px;
  }
}

/* ==========================================================================
   TABLET LANDSCAPE & SMALL LAPTOP (<= 1024px)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .lqd-container {
    max-width: 960px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-quote-wrap {
    display: none; /* Hide decorative quote on tablets to make room for search */
  }

  .lqd-menu-wrapper {
    flex: 1 1 auto;
    max-width: calc(100% - 46px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .lqd-menu-wrapper::-webkit-scrollbar {
    display: none;
  }

  .lqd-nav-menu {
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: max-content;
  }

  .lqd-nav-menu > li {
    flex-shrink: 0;
  }

  .lqd-nav-menu > li > a {
    padding: 10px 8px;
    font-size: 11px;
    letter-spacing: 0;
  }

  /* Hero Section */
  .lqd-hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 15px;
  }

  .hero-col-notices,
  .hero-col-utilities {
    grid-column: span 2;
  }

  .hero-col-utilities .hero-utilities-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px;
  }

  /* Utilities Grid */
  .lqd-utilities-grid,
  .utilities-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px;
  }

  /* Leaders Grid */
  .leaders-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .leader-thumb-wrap {
    height: 155px;
  }

  /* Middle 2-Column Section (Tin tức – Sự kiện & Văn bản mới) on Tablet */
  .lqd-middle-section {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .lqd-two-col-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .lqd-two-col-grid > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .two-col-left,
  .two-col-right {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 1. Khối Tin tức – Sự kiện & Xây dựng Đảng on Tablet */
  .lqd-news-block,
  .lqd-party-block {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .lqd-news-block .section-tabs,
  .lqd-party-block .section-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-bottom: 14px;
  }
  .lqd-news-block .section-tabs::-webkit-scrollbar,
  .lqd-party-block .section-tabs::-webkit-scrollbar {
    display: none;
  }

  .lqd-news-block .tab-btn,
  .lqd-party-block .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .lqd-news-block .news-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .lqd-news-block .news-big-col,
  .lqd-news-block .news-small-col {
    width: 100%;
    min-width: 0;
  }

  .lqd-news-block .news-big-thumb {
    height: 220px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
  }

  .lqd-news-block .news-big-thumb .news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .lqd-news-block .news-big-title {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 8px;
    font-weight: 700;
  }

  .lqd-news-block .news-small-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .lqd-news-block .news-small-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 10px;
    border-bottom: 1px dashed #edf2f7;
  }

  .lqd-news-block .news-small-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .lqd-news-block .news-small-thumb {
    width: 90px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
  }

  .lqd-news-block .news-small-thumb .news-small-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .lqd-news-block .news-small-content {
    flex: 1;
    min-width: 0;
  }

  .lqd-news-block .news-small-title {
    font-size: 13.5px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* 2. Khối Văn bản mới on Tablet */
  .lqd-documents-block {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .lqd-documents-block .section-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-bottom: 14px;
  }
  .lqd-documents-block .section-tabs::-webkit-scrollbar {
    display: none;
  }

  .lqd-documents-block .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .lqd-documents-block .doc-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .lqd-documents-block .doc-row-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color, #e2e8f0);
    font-size: 13.5px;
  }

  .lqd-documents-block .doc-row-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .lqd-documents-block .doc-code {
    font-weight: 700;
    color: #0056b3;
    white-space: nowrap;
    font-size: 13px;
    min-width: 110px;
  }

  .lqd-documents-block .doc-title-excerpt {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lqd-documents-block .doc-date {
    font-size: 12.5px;
    color: var(--text-muted, #718096);
    white-space: nowrap;
  }

  /* Lower Three-Column Section on Tablets */
  .lqd-three-col-section {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .lqd-three-col-grid,
  .lqd-lower-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .lqd-three-col-grid > *,
  .lqd-lower-layout-grid > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .lower-layout-left,
  .lower-layout-right {
    width: 100%;
    min-width: 0;
  }

  .lower-two-cols-row {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .banner-slide-img {
    height: auto !important;
  }

  .right-banner-img {
    height: auto !important;
  }

  /* News Layout */
  .lqd-news-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Disclosure Grid */
  .lqd-disclosure-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Partners Grid */
  .lqd-partners-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Layout with Sidebar */
  .lqd-content-layout {
    grid-template-columns: 1fr;
  }

  .lqd-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-col-stats {
    grid-column: span 2;
  }
}

/* ==========================================================================
   TABLET PORTRAIT & MOBILE LANDSCAPE (<= 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* Topbar */
  .topbar-right .topbar-links li:not(.accessibility-ctrl):not(:last-child) {
    display: none; /* Keep accessibility & hotline on mobile */
  }

  .lqd-topbar-inner {
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Header Branding - Ultra Compact Mobile Layout */
  .lqd-header-banner {
    padding: 8px 0 !important;
    min-height: auto !important;
    background-position: center right;
    background-size: cover;
    position: relative;
  }

  .lqd-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(250, 245, 235, 0.90);
    pointer-events: none;
  }

  .lqd-header-banner-inner {
    position: relative;
    z-index: 1;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    text-align: left !important;
  }

  .branding-left {
    flex: 1;
    min-width: 0;
  }

  .branding-link {
    flex-direction: row !important;
    text-align: left !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .national-emblem {
    width: 48px !important;
    height: 48px !important;
    max-height: 48px !important;
    flex-shrink: 0;
  }

  .portal-sup {
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    opacity: 0.92;
    font-weight: 700 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .portal-main {
    font-size: 17px !important;
    line-height: 1.15 !important;
    margin: 1px 0 !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .portal-sub {
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    opacity: 0.88;
    font-weight: 600 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .portal-slogan {
    display: none !important;
  }

  .branding-right {
    display: none !important;
  }

  .header-search-wrap {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  /* Navigation Bar & Sleek Mobile Menu ("Danh mục") */
  .lqd-main-nav {
    background: var(--primary-color) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .lqd-nav-inner {
    padding: 0 12px;
  }

  .mobile-menu-toggle {
    display: flex !important;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 8px 4px;
  }

  .mobile-menu-toggle i {
    font-size: 18px;
    margin-right: 8px;
  }

  .lqd-menu-wrapper {
    display: none;
    width: 100%;
    background: var(--primary-dark);
    border-top: 2px solid var(--accent-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    max-height: 75vh;
    overflow-y: auto;
    border-radius: 0 0 12px 12px;
  }

  .lqd-menu-wrapper.is-open {
    display: block;
    animation: lqdMenuSlideDown 0.22s ease-out forwards;
  }

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

  .lqd-nav-menu {
    flex-direction: column !important;
    margin: 0;
    padding: 6px 0;
    list-style: none;
  }

  .lqd-nav-menu > li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lqd-nav-menu > li > a {
    display: flex;
    align-items: center;
    padding: 11px 44px 11px 16px !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    min-height: 44px;
    line-height: 1.3;
    border: none !important;
    transition: background 0.2s;
  }

  .lqd-nav-menu > li.current-menu-item > a,
  .lqd-nav-menu > li.menu-home.current-menu-item > a {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fef08a !important;
    border-left: 4px solid #fef08a !important;
  }

  .lqd-nav-menu > li > a:active,
  .lqd-nav-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
  }

  /* Submenu Toggle Button on Mobile */
  .mobile-sub-toggle {
    position: absolute;
    right: 10px;
    top: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 2;
  }

  .mobile-sub-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
  }

  .lqd-nav-menu li.sub-open > .mobile-sub-toggle {
    transform: rotate(180deg);
    background: var(--accent-gold);
    color: #022147;
  }

  /* Submenu Styling on Mobile */
  .lqd-nav-menu ul.sub-menu {
    display: none;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: rgba(0, 0, 0, 0.22) !important;
    padding: 4px 0 !important;
    margin: 0 !important;
  }

  .lqd-nav-menu ul.sub-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .lqd-nav-menu ul.sub-menu li a {
    display: flex !important;
    align-items: center;
    padding: 10px 16px 10px 28px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    min-height: 40px;
    line-height: 1.3;
    border: none !important;
  }

  .lqd-nav-menu ul.sub-menu li a::before {
    content: "•";
    color: #93c5fd;
    font-size: 14px;
    margin-right: 8px;
  }

  .lqd-nav-menu ul.sub-menu li a:hover,
  .lqd-nav-menu ul.sub-menu li a:active {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
  }

  /* Hero Section */
  .lqd-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-col-notices,
  .hero-col-utilities {
    grid-column: span 1;
  }

  .hero-col-utilities .hero-utilities-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px;
  }

  .hero-main-card .hero-img {
    height: 200px;
  }

  /* Utilities */
  .lqd-utilities-grid,
  .utilities-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px;
  }

  /* Leaders Section */
  .leaders-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  /* Middle 2-Column Section (Tin tức – Sự kiện & Văn bản mới) */
  .lqd-middle-section {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .lqd-two-col-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .lqd-two-col-grid > * {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .two-col-left,
  .two-col-right {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* 1. Khối Tin tức – Sự kiện & Xây dựng Đảng */
  .lqd-news-block,
  .lqd-party-block {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .news-split-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .news-split-grid > * {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .news-big-col,
  .news-small-col {
    width: 100%;
    min-width: 0;
  }

  .news-big-thumb {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 200px;
    width: 100%;
  }

  .news-big-title {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .news-small-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .news-small-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-bottom: 9px;
    border-bottom: 1px dashed #edf2f7;
  }

  .news-small-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .news-small-thumb {
    width: 80px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
  }

  .news-small-content {
    flex: 1;
    min-width: 0;
  }

  .news-small-title {
    font-size: 12px;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 3px;
  }

  /* 2. Khối Văn bản mới */
  .lqd-documents-block {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .doc-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
  }

  .doc-row-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 12px;
  }

  .doc-row-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .doc-row-item .doc-icon {
    font-size: 13px;
    color: #0d6efd;
    flex-shrink: 0;
  }

  .doc-row-item .doc-code {
    font-weight: 700;
    font-size: 12px;
    color: #0056b3;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .doc-row-item .doc-code a {
    color: #0056b3;
  }

  .doc-row-item .doc-date {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .doc-row-item .doc-title-excerpt {
    width: 100%;
    flex: 0 0 100%;
    min-width: 0;
    white-space: normal;
    font-size: 12.5px;
    line-height: 1.4;
    color: #1e293b;
    word-break: break-word;
    overflow-wrap: break-word;
    padding-left: 21px;
  }

  .doc-row-item .doc-title-excerpt a {
    color: #1e293b;
  }

  .doc-row-item .doc-title-excerpt a:hover {
    color: var(--primary-color);
  }

  /* Lower Three Column Section (Chỉ đạo điều hành | Công khai | Multimedia) */
  .lqd-three-col-section {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .lqd-three-col-grid,
  .lqd-lower-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .lqd-three-col-grid > *,
  .lqd-lower-layout-grid > * {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .three-col-item,
  .lower-layout-left,
  .lower-layout-right {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .lower-two-cols-row {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .banner-slide-img {
    height: auto !important;
  }

  .right-banner-img {
    height: auto !important;
  }

  /* 3. Khối Chỉ đạo – Điều hành */
  .lqd-direction-block {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .direction-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
  }

  .direction-row-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3px 8px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border-color);
  }

  .direction-row-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .direction-row-item .dir-icon {
    font-size: 12px;
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
  }

  .direction-row-item .dir-title {
    flex: 1 1 calc(100% - 24px);
    min-width: 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .direction-row-item .dir-title a {
    color: #1e293b;
  }

  .direction-row-item .dir-title a:hover {
    color: var(--primary-color);
  }

  .direction-row-item .dir-date {
    width: 100%;
    padding-left: 20px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  /* 4. Ẩn khối Liên kết nổi bật trên mobile */
  .lqd-partners-section {
    display: none !important;
  }

  /* Category & Filter Tabs */
  .section-tabs {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    gap: 6px;
    padding-bottom: 6px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .section-tabs::-webkit-scrollbar {
    height: 3px;
  }

  .section-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
  }

  .tab-content-panel {
    min-width: 0;
    max-width: 100%;
  }

  /* Banners */
  .lqd-banners-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* Direction Section */
  .lqd-direction-grid {
    grid-template-columns: 1fr !important;
  }

  /* Multimedia */
  .lqd-multimedia-grid {
    grid-template-columns: 1fr !important;
  }

  /* Khối Kết quả giải quyết hồ sơ */
  .lqd-dossier-block {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 14px;
  }

  .dossier-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dossier-metric-item {
    padding: 7px 8px;
  }

  .dossier-metric-item .metric-value {
    font-size: 14px;
  }

  .dossier-legend-list {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .dossier-footer-bar {
    flex-direction: column;
    gap: 6px;
  }

  /* Document Filter Form */
  .doc-filter-form {
    grid-template-columns: 1fr !important;
  }

  /* Document Table */
  .lqd-table {
    font-size: 13px;
  }

  .lqd-table th,
  .lqd-table td {
    padding: 8px 10px;
    white-space: normal;
  }

  /* Footer */
  .lqd-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-col-stats {
    grid-column: span 1;
  }

  .footer-social-links {
    justify-content: center;
  }

  .lqd-footer-bottom-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* ==========================================================================
   MOBILE PHONES (<= 640px)
   ========================================================================== */
@media screen and (max-width: 640px) {
  .portal-main {
    font-size: 18px;
    letter-spacing: 0.5px;
  }

  .portal-sup,
  .portal-sub {
    font-size: 12px;
  }

  .national-emblem {
    width: 60px;
    height: 60px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    white-space: nowrap;
    font-size: 11.5px;
    padding: 4px 10px;
    flex-shrink: 0;
  }

  /* Hero Utilities in Col 3: 2 columns on mobile */
  .hero-col-utilities .hero-utilities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .hero-util-card {
    min-height: 56px;
    padding: 7px 6px;
  }

  /* Utilities: 2 columns on mobile for comfortable tap size */
  .lqd-utilities-grid,
  .utilities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  /* Leaders: 1 column on mobile */
  .leaders-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .leader-thumb-wrap {
    height: 180px;
  }
  .leader-title {
    min-height: auto;
  }

  .utility-card {
    padding: 10px 8px;
  }

  .utility-name,
  .utility-title {
    font-size: 11px;
  }

  /* Disclosure: 2 columns on mobile */
  .lqd-disclosure-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .disclosure-card {
    padding: 10px 8px;
  }

  /* Partners: 2 columns */
  .lqd-partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .hero-sub-item {
    flex-direction: row;
    gap: 8px;
  }

  .sub-item-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
  }

  .sub-item-title {
    font-size: 12px;
    line-height: 1.3;
  }

  .news-split-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .news-sub-item,
  .news-small-item {
    gap: 8px;
  }

  .news-sub-thumb {
    width: 75px;
    height: 55px;
  }

  .news-sub-title {
    font-size: 12px;
  }

  /* Audio player items */
  .audio-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .audio-item audio {
    width: 100%;
  }

  /* Single doc table */
  .doc-detail-meta-table th,
  .doc-detail-meta-table td {
    display: block;
    width: 100%;
  }

  .doc-detail-meta-table th {
    background: #f1f5f9;
    font-weight: 700;
    border-bottom: none;
  }

  /* Accessibility control buttons */
  .accessibility-ctrl button {
    padding: 4px 6px;
    min-height: 36px;
  }
}

/* ==========================================================================
   EXTRA SMALL MOBILE (<= 360px)
   ========================================================================== */
@media screen and (max-width: 360px) {
  .portal-main {
    font-size: 16px;
  }

  .portal-sup,
  .portal-sub {
    font-size: 11px;
  }

  .national-emblem {
    width: 50px;
    height: 50px;
  }

  .header-search-wrap {
    max-width: 100%;
  }

  .utility-name {
    font-size: 10px;
  }
}

/* ==========================================================================
   MOBILE OPTIMIZATION FOR SINGLE DETAIL PAGES (News, Page, Document, Notice)
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* 1. Container & Card Padding on Mobile */
  .lqd-article-detail,
  .document-detail-card,
  .notice-detail-card,
  .direction-detail-card,
  .disclosure-detail-card,
  .page-detail-card,
  .lqd-card {
    padding: 14px 14px 20px !important;
    border-radius: 6px;
    box-sizing: border-box;
  }

  /* 2. Single Article Header & Titles */
  .entry-header {
    margin-bottom: 14px;
  }

  .entry-title,
  .doc-detail-title,
  .notice-detail-title,
  .direction-detail-title,
  .page-title {
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 700;
    margin-bottom: 12px !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* 3. Toolbar & Publication Meta Info */
  .lqd-article-toolbar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    background: #f8fafc !important;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
  }

  .toolbar-meta-info {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    font-size: 12px !important;
    width: 100%;
  }

  .meta-sep {
    display: none !important;
  }

  .toolbar-actions-bar {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 8px !important;
    border-top: 1px dashed #cbd5e1 !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
  }

  .font-sizer-buttons button,
  .btn-font-size {
    min-width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
  }

  .tool-btn-action,
  .btn-share-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 14px !important;
  }

  /* Meta bars for Notice, Direction & Document */
  .notice-meta-bar,
  .direction-meta-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    font-size: 12.5px !important;
  }

  /* 4. Article Excerpt & Entry Content */
  .entry-excerpt {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    padding: 10px 14px !important;
    border-left-width: 3px !important;
    margin-bottom: 16px !important;
  }

  .entry-content,
  .page-entry-content,
  .doc-text-content,
  .notice-body-content,
  .direction-body-content {
    font-size: 15px !important;
    line-height: 1.75 !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Fluid Media inside Content */
  .entry-content img,
  .entry-content figure,
  .entry-content iframe,
  .entry-content video,
  .entry-content object,
  .entry-content embed,
  .page-entry-content img,
  .page-entry-content figure,
  .page-entry-content iframe,
  .doc-text-content img,
  .doc-text-content figure {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }

  .entry-content figure {
    margin: 12px 0 !important;
  }

  .entry-content figcaption {
    font-size: 12px !important;
    line-height: 1.4 !important;
    padding: 4px 6px !important;
  }

  /* Scrollable Content Tables on Mobile */
  .entry-content table,
  .page-entry-content table,
  .doc-text-content table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin: 14px 0 !important;
  }

  /* 5. Document Attributes Table on Mobile */
  .doc-attributes-box {
    margin: 14px 0 !important;
    border-radius: 6px;
    overflow: hidden;
  }

  .doc-attributes-table,
  .doc-attributes-table tbody,
  .doc-attributes-table tr,
  .doc-attributes-table th,
  .doc-attributes-table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .doc-attributes-table tr {
    margin-bottom: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
  }

  .doc-attributes-table tr:last-child {
    margin-bottom: 0;
  }

  .doc-attributes-table th {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 6px 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    text-transform: uppercase;
  }

  .doc-attributes-table td {
    padding: 8px 12px !important;
    background: #ffffff !important;
    font-size: 13.5px !important;
  }

  /* 6. Document Actions & PDF Viewer on Mobile */
  .doc-action-bar {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px !important;
    margin: 16px 0 !important;
  }

  .doc-download-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .btn-doc-action,
  .btn-notice-download {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
    font-size: 13.5px !important;
  }

  .doc-qr-code,
  .qr-code-box {
    display: none !important; /* Hide QR box on mobile view */
  }

  .doc-pdf-viewer {
    margin-top: 20px !important;
  }

  .pdf-viewer-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 10px 12px !important;
  }

  .pdf-viewer-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .btn-pdf-tool {
    width: 100% !important;
    justify-content: center !important;
    min-height: 40px !important;
    font-size: 12.5px !important;
  }

  .pdf-embed-wrapper iframe,
  .pdf-embed-wrapper object,
  .pdf-embed-wrapper embed {
    height: 440px !important;
  }

  /* 7. Bottom Share Bar on Mobile */
  .article-actions-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 12px 14px !important;
    gap: 12px !important;
    margin-top: 20px !important;
  }

  .article-actions-bar .share-tools {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .article-actions-bar .share-tools span {
    grid-column: span 2;
    margin-bottom: 2px;
  }

  .article-actions-bar .btn-share {
    width: 100% !important;
    justify-content: center !important;
    min-height: 42px !important;
    box-sizing: border-box;
  }

  /* Copy Toast Notification on Mobile */
  #lqd-copy-toast {
    left: 15px !important;
    right: 15px !important;
    bottom: 15px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    justify-content: center !important;
  }

  /* 8. Related Posts on Mobile */
  .related-posts-section {
    margin-top: 24px !important;
    padding-top: 16px !important;
  }

  .related-title {
    font-size: 15px !important;
  }

  .related-list li a {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}

/* ==========================================================================
   MOBILE OPTIMIZATION FOR USER REQUESTS #1, #2, #3
   ========================================================================== */
@media screen and (max-width: 991px) {

  /* --------------------------------------------------------------------------
     REQUIREMENT #1: SINGLE POST MOBILE LAYOUT & HIDE RIGHT SIDEBAR
     -------------------------------------------------------------------------- */
  body.single .lqd-sidebar-area,
  body.single-post .lqd-sidebar-area,
  body.single-lqd_notice .lqd-sidebar-area,
  body.single-lqd_direction .lqd-sidebar-area,
  body.single-lqd_document .lqd-sidebar-area,
  body.single-lqd_disclosure .lqd-sidebar-area,
  body.single-lqd_gallery .lqd-sidebar-area,
  body.single-lqd_video .lqd-sidebar-area,
  body.page .lqd-sidebar-area,
  .lqd-article-detail ~ .lqd-sidebar-area,
  .direction-detail-card ~ .lqd-sidebar-area,
  .document-detail-card ~ .lqd-sidebar-area,
  .notice-detail-card ~ .lqd-sidebar-area,
  .disclosure-detail-card ~ .lqd-sidebar-area {
    display: none !important;
  }

  .lqd-layout-grid,
  .lqd-content-layout,
  body.single .lqd-layout-grid,
  body.page .lqd-layout-grid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .lqd-content-area,
  body.single .lqd-content-area,
  body.page .lqd-content-area {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    box-sizing: border-box !important;
  }
}

@media screen and (max-width: 768px) {

  /* --------------------------------------------------------------------------
     REQUIREMENT #2: PAGE CHỈ ĐẠO - ĐIỀU HÀNH MOBILE OPTIMIZATION
     -------------------------------------------------------------------------- */
  .direction-archive-header {
    padding: 12px 14px !important;
    margin-bottom: 12px !important;
    border-radius: 6px !important;
  }

  .direction-archive-header .section-title {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }

  .direction-items-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

  .direction-card-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
    border-radius: 6px !important;
    border-left: 4px solid var(--primary-color) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    background: #ffffff !important;
  }

  .direction-card-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }

  .direction-card-body {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .direction-card-title {
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .direction-card-meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    font-size: 12px !important;
    color: #64748b !important;
  }

  .direction-card-meta .sep {
    display: none !important;
  }

  .direction-card-meta span {
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  /* --------------------------------------------------------------------------
     REQUIREMENT #3: PAGE VĂN BẢN SEARCH RESULTS MOBILE OPTIMIZATION (50 VĂN BẢN)
     -------------------------------------------------------------------------- */
  .doc-filter-card {
    padding: 14px !important;
    margin-bottom: 14px !important;
  }

  .filter-heading {
    font-size: 15px !important;
    padding-bottom: 6px !important;
    margin-bottom: 12px !important;
  }

  .filter-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .filter-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .btn-filter-submit,
  .btn-filter-reset {
    width: 100% !important;
    justify-content: center !important;
    min-height: 40px !important;
    font-size: 12.5px !important;
  }

  .doc-results-card {
    padding: 12px !important;
    border-radius: 6px !important;
  }

  .results-header {
    background: #f8fafc !important;
    border-bottom: 2px solid var(--primary-color) !important;
    padding: 10px 12px !important;
    margin-bottom: 14px !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .results-count {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
  }

  .results-count .count-badge,
  .results-count strong {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    display: inline-block !important;
  }

  /* Responsive 50 document card items for mobile view */
  .table-responsive {
    border: none !important;
    margin-bottom: 0 !important;
  }

  .doc-table thead {
    display: none !important;
  }

  .doc-table, 
  .doc-table tbody {
    display: block !important;
    width: 100% !important;
  }

  .doc-table tr {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid var(--primary-color) !important;
    border-radius: 6px !important;
    padding: 12px 14px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .doc-table tr:hover {
    background: #f8fafc !important;
  }

  .doc-table td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .doc-table td.col-stt {
    display: none !important;
  }

  .doc-table td.col-number {
    margin-bottom: 5px !important;
  }

  .doc-table td.col-number .table-doc-number {
    font-size: 13.5px !important;
    color: #0056b3 !important;
    font-weight: 700 !important;
  }

  .doc-table td.col-title {
    margin-bottom: 10px !important;
  }

  .doc-table td.col-title .table-doc-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    color: #1e293b !important;
    display: block !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .doc-table td.col-agency {
    display: inline-block !important;
    width: auto !important;
    margin-bottom: 8px !important;
  }

  .doc-agency-pill,
  .doc-table td.col-agency .doc-agency-pill {
    font-size: 11.5px !important;
    color: #0369a1 !important;
    background: #e0f2fe !important;
    padding: 3px 8px !important;
    border-radius: 3px !important;
    font-weight: 600 !important;
  }

  .doc-table td.col-date {
    font-size: 12px !important;
    color: #64748b !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .doc-table td.col-date::before {
    content: "Ngày ban hành: ";
    font-weight: 600;
    color: #475569;
  }

  .doc-table td.col-action {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px dashed #e2e8f0 !important;
  }

  .doc-table td.col-action .btn-table-download,
  .doc-table td.col-action .btn-table-view {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    min-height: 40px !important;
    font-size: 13px !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   PAGE CẢI CÁCH HÀNH CHÍNH & CHUYỂN ĐỔI SỐ RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .cchc-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .cds-handbook-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 768px) {
  .cds-hero-card {
    padding: 16px 14px !important;
  }

  .cds-hero-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .cds-hero-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
  }

  .cds-hero-subtitle {
    font-size: 13px !important;
  }

  .cds-hero-graphics {
    width: 100% !important;
    flex-direction: row !important;
    gap: 8px !important;
  }

  .cds-stat-chip {
    flex: 1 !important;
    padding: 6px 10px !important;
  }

  .cds-quick-nav {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch;
  }

  .cds-nav-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 11.5px !important;
    padding: 5px 10px !important;
  }

  .cds-news-split-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .cds-feat-thumb-link {
    height: 180px !important;
  }

  .cchc-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .cds-videos-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .cds-apps-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .cds-handbook-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Utility class to toggle off sections on mobile */
  .lqd-hide-mobile {
    display: none !important;
  }

  .promo-banners-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ==========================================================================
     PUBLIC DISCLOSURE PAGE (CÔNG KHAI - MINH BẠCH) MOBILE OPTIMIZATION
     ========================================================================== */
  .disclosure-header .section-tabs {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 6px !important;
    margin-bottom: 10px !important;
  }
  .disclosure-header .section-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .disclosure-header .tab-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
  }

  /* Transform table into mobile responsive cards */
  .disclosure-table-card .table-responsive {
    overflow: visible !important;
  }
  .disclosure-table-card .lqd-table,
  .disclosure-table-card .lqd-table tbody,
  .disclosure-table-card .lqd-table tr,
  .disclosure-table-card .lqd-table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .disclosure-table-card .lqd-table thead {
    display: none !important;
  }
  .disclosure-table-card .lqd-table tr {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin-bottom: 14px !important;
    padding: 14px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .disclosure-table-card .lqd-table tr:hover {
    background: #f8fafc !important;
  }
  .disclosure-table-card .lqd-table td {
    padding: 3px 0 !important;
    border: none !important;
    text-align: left !important;
  }
  /* STT */
  .disclosure-table-card .lqd-table td:nth-child(1) {
    display: inline-block !important;
    width: auto !important;
    font-weight: 700 !important;
    color: var(--primary-color, #c8102e) !important;
    font-size: 13px !important;
    margin-right: 8px !important;
  }
  .disclosure-table-card .lqd-table td:nth-child(1)::before {
    content: "STT ";
  }
  /* Year/Kỳ Badge */
  .disclosure-table-card .lqd-table td:nth-child(4) {
    display: inline-block !important;
    width: auto !important;
    float: right !important;
  }
  /* Title link */
  .disclosure-table-card .lqd-table td:nth-child(2) {
    clear: both !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  .disclosure-table-card .lqd-table td:nth-child(2) a {
    color: #0f172a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }
  /* Org/Department */
  .disclosure-table-card .lqd-table td:nth-child(3) {
    font-size: 13px !important;
    color: #64748b !important;
    margin-bottom: 8px !important;
  }
  .disclosure-table-card .lqd-table td:nth-child(3)::before {
    content: "🏢 ";
  }
  /* Action/Download button */
  .disclosure-table-card .lqd-table td:nth-child(5) {
    margin-top: 10px !important;
    border-top: 1px dashed #e2e8f0 !important;
    padding-top: 10px !important;
  }
  .disclosure-table-card .lqd-table td:nth-child(5) .btn-table-download,
  .disclosure-table-card .lqd-table td:nth-child(5) .btn-table-view {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
  }
}

