/* =============================================
   ShopOS Help Center — v4.0
   Полный редизайн: шире layout, 12 табов,
   поиск с dropdown, breadcrumbs, новые компоненты
   ============================================= */

/* === BASE === */
.help-page {
    min-height: 100vh;
    padding-top: 64px;
    background: #fff;
}

/* === HERO === */
.help-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 52px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.help-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(45, 190, 96, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.help-hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.help-hero p {
    font-size: 17px;
    color: #94a3b8;
    margin-bottom: 28px;
    position: relative;
}

.help-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 28px;
    position: relative;
}

.help-hero-stat {
    text-align: center;
}

.help-hero-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #2dbe60;
}

.help-hero-stat span {
    font-size: 13px;
    color: #64748b;
}

/* === SEARCH === */
.help-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 50;
}

.help-search input {
    width: 100%;
    padding: 16px 48px 16px 52px;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.help-search input:focus {
    border-color: #2dbe60;
    box-shadow: 0 4px 24px rgba(45, 190, 96, 0.2);
}

.help-search input::placeholder {
    color: #94a3b8;
}

.help-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.help-search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.15s;
}

.help-search-clear:hover {
    background: #f1f5f9;
    color: #475569;
}

.help-search.has-value .help-search-clear {
    display: flex;
}

/* === SEARCH RESULTS DROPDOWN === */
/* Обёртка для dropdown результатов — лежит ПОД .help-hero, чтобы не клиппилась его overflow:hidden */
.help-search-results-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 100;
}

.help-search-results {
    position: absolute;
    /* Подтягиваем дропдаун в зону под инпутом — у hero снизу 48px паддинга,
       поэтому смещаемся на -40px вверх (8px зазор от инпута) */
    top: -40px;
    left: 24px;
    right: 24px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 100;
    /* Тонкий инсетный скроллбар, чтобы не залезал на закруглённые углы */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.help-search-results::-webkit-scrollbar {
    width: 10px;
}
.help-search-results::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0; /* отступ сверху/снизу — не упирается в скруглённые углы */
}
.help-search-results::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 8px;
    border: 3px solid transparent; /* визуальный инсет от правой кромки */
    background-clip: padding-box;
}
.help-search-results::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

.help-search-results.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}

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

.help-search-result {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.1s;
}

.help-search-result:last-child {
    border-bottom: none;
}

.help-search-result:hover,
.help-search-result.active {
    background: #f0fdf4;
}

.help-search-result-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #16a34a;
    border-radius: 8px;
    font-size: 14px;
}

.help-search-result-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 2px;
}

.help-search-result-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.help-search-result-text mark {
    background: #fef08a;
    color: #0f172a;
    border-radius: 2px;
    padding: 0 1px;
}

.help-search-result-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 2px;
}

.help-search-empty {
    padding: 32px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* Стили для актуальной разметки результатов поиска (help-search-item-*) */
.help-search-item {
    position: relative;
    padding: 14px 20px 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.12s;
}

.help-search-item:last-child {
    border-bottom: none;
}

.help-search-item:hover,
.help-search-item.active {
    background: #f0fdf4;
}

.help-search-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px;
    padding-right: 90px; /* место для бейджа */
    line-height: 1.3;
}

.help-search-item-snippet {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.help-search-item-title mark,
.help-search-item-snippet mark {
    background: #fef08a;
    color: #0f172a;
    border-radius: 2px;
    padding: 0 2px;
}

.help-search-item-tab {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.4;
}

.help-search-hint {
    padding: 10px 20px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
}

.help-search-hint kbd {
    display: inline-block;
    padding: 1px 5px;
    font-size: 11px;
    font-family: inherit;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #64748b;
}

/* === TABS (горизонтальный скролл) === */
.help-tabs-wrapper {
    position: relative;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.help-tabs {
    display: flex;
    gap: 6px;
    padding: 16px 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.help-tabs-fade-left,
.help-tabs-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s;
}

.help-tabs-fade-left {
    left: 0;
    background: linear-gradient(90deg, #f8fafc 0%, transparent 100%);
}

.help-tabs-fade-right {
    right: 0;
    background: linear-gradient(270deg, #f8fafc 0%, transparent 100%);
}

.help-tabs-fade-left.show,
.help-tabs-fade-right.show {
    opacity: 1;
}

.help-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
}

.help-tab:hover {
    border-color: #2dbe60;
    color: #2dbe60;
}

.help-tab.active {
    background: #2dbe60;
    border-color: #2dbe60;
    color: #fff;
}

.help-tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.help-tab .tab-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 2px;
}

.help-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
}

.help-tab:not(.active) .tab-count {
    background: #f1f5f9;
    color: #94a3b8;
}

/* === BREADCRUMB === */
.help-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-bottom: 24px;
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.help-breadcrumb a {
    color: #64748b;
    transition: color 0.15s;
}

.help-breadcrumb a:hover {
    color: #2dbe60;
}

.help-breadcrumb .bc-sep {
    color: #cbd5e1;
    font-size: 11px;
}

.help-breadcrumb .bc-current {
    color: #0f172a;
    font-weight: 600;
}

/* === MAIN LAYOUT (wider) === */
.help-main {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

/* === SIDEBAR === */
.help-sidebar {
    width: 300px;
    flex-shrink: 0;
    padding: 20px 16px;
    background: #fafbfc;
    border-right: 1px solid #e2e8f0;
    height: calc(100vh - 240px);
    position: sticky;
    top: 64px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.help-sidebar::-webkit-scrollbar {
    width: 4px;
}

.help-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.help-sidebar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.help-sidebar-filter {
    position: relative;
    margin-bottom: 12px;
}

.help-sidebar-filter input {
    width: 100%;
    padding: 9px 12px 9px 34px;
    font-size: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}

.help-sidebar-filter input:focus {
    border-color: #2dbe60;
}

.help-sidebar-filter input::placeholder {
    color: #94a3b8;
}

.help-sidebar-filter svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #94a3b8;
}

/* === NAV GROUPS === */
.help-nav-group {
    margin-bottom: 6px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: border-color 0.15s;
}

.help-nav-group:hover {
    border-color: #cbd5e1;
}

.help-nav-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.help-nav-header:hover {
    background: #f1f5f9;
}

.help-nav-header svg {
    width: 18px;
    height: 18px;
    color: #2dbe60;
    flex-shrink: 0;
}

.help-nav-header .nav-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 1px 7px;
    border-radius: 8px;
}

.help-nav-header .arrow {
    width: 14px;
    height: 14px;
    color: #94a3b8;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.help-nav-group.open .help-nav-header .arrow {
    transform: rotate(180deg);
}

.help-nav-group.open .help-nav-header {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.help-nav-links {
    display: none;
    padding: 6px;
}

.help-nav-group.open .help-nav-links {
    display: block;
}

.help-nav-link {
    display: block;
    padding: 8px 10px 8px 38px;
    font-size: 13px;
    color: #64748b;
    border-radius: 6px;
    transition: all 0.15s;
    position: relative;
    line-height: 1.3;
}

.help-nav-link::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.15s;
}

.help-nav-link:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.help-nav-link:hover::before {
    background: #2dbe60;
}

.help-nav-link.active {
    background: #ecfdf5;
    color: #059669;
    font-weight: 500;
}

.help-nav-link.active::before {
    background: #2dbe60;
    width: 7px;
    height: 7px;
}

/* === CONTENT === */
.help-content {
    flex: 1;
    padding: 32px 48px 60px;
    min-height: calc(100vh - 240px);
    min-width: 0;
}

.help-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.help-section.active {
    display: block;
}

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

/* === CONTENT TYPOGRAPHY === */
.help-section h1 {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.help-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 32px 0 12px;
}

.help-section h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin: 24px 0 8px;
}

.help-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    margin: 20px 0 8px;
}

.help-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 16px;
}

.help-section ul,
.help-section ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.help-section li {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}

.help-section ol li {
    list-style-type: decimal;
}

.help-section ul li {
    list-style-type: disc;
}

.help-intro {
    font-size: 17px;
    color: #64748b;
    margin-bottom: 24px;
}

/* === STEPS === */
.help-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.help-step {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.2s;
}

.help-step:hover {
    border-color: #2dbe60;
    box-shadow: 0 6px 20px rgba(45, 190, 96, 0.1);
    transform: translateY(-1px);
}

.help-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #2dbe60 0%, #16a34a 100%);
    border-radius: 10px;
}

.help-step-content h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.help-step-content p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 0;
}

/* === CARDS === */
.help-card {
    padding: 20px 24px;
    background: #f8fafc;
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid #f1f5f9;
}

.help-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}

.help-card ol,
.help-card ul {
    padding-left: 20px;
    margin: 0;
}

.help-card li {
    font-size: 14px;
    color: #475569;
    line-height: 1.9;
}

.help-card ol li {
    list-style-type: decimal;
}

.help-card ul li {
    list-style-type: disc;
}

/* === CALLOUTS: TIP, WARNING, IMPORTANT === */
.help-tip {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #bbf7d0;
}

.help-tip-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #16a34a;
    margin-top: 1px;
}

.help-tip-content strong {
    color: #166534;
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.help-tip-content span {
    font-size: 14px;
    color: #15803d;
    line-height: 1.5;
}

.help-warning {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #fde68a;
}

.help-warning-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #d97706;
    margin-top: 1px;
}

.help-warning-content strong {
    color: #92400e;
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.help-warning-content span {
    font-size: 14px;
    color: #a16207;
    line-height: 1.5;
}

.help-important {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #fca5a5;
}

.help-important-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #dc2626;
    margin-top: 1px;
}

.help-important-content strong {
    color: #991b1b;
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.help-important-content span {
    font-size: 14px;
    color: #b91c1c;
    line-height: 1.5;
}

/* === BADGES & DOTS === */
.help-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    line-height: 1.5;
}

.help-badge-gray { background: #f1f5f9; color: #64748b; }
.help-badge-green { background: #dcfce7; color: #166534; }
.help-badge-blue { background: #dbeafe; color: #1e40af; }
.help-badge-orange { background: #ffedd5; color: #9a3412; }
.help-badge-red { background: #fee2e2; color: #991b1b; }

.help-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

.help-dot-green { background: #22c55e; }
.help-dot-orange { background: #f59e0b; }
.help-dot-red { background: #ef4444; }

/* === TABLE === */
.help-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 14px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.help-table thead th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    font-size: 13px;
}

.help-table tbody td {
    padding: 10px 16px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.help-table tbody tr:last-child td {
    border-bottom: none;
}

.help-table tbody tr:hover {
    background: #fafbfc;
}

/* === ACCORDION === */
.help-accordion {
    margin: 16px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.help-accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.help-accordion-item:last-child {
    border-bottom: none;
}

.help-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    background: #fff;
    transition: background 0.15s;
    user-select: none;
}

.help-accordion-header:hover {
    background: #f8fafc;
}

.help-accordion-header .acc-arrow {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.help-accordion-item.open .help-accordion-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.help-accordion-item.open .help-accordion-header .acc-arrow {
    transform: rotate(180deg);
}

.help-accordion-body {
    display: none;
    padding: 16px 18px;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

.help-accordion-item.open .help-accordion-body {
    display: block;
}

/* === FEATURE GRID === */
.help-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.help-feature {
    display: block;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.help-feature:hover {
    border-color: #2dbe60;
    box-shadow: 0 4px 12px rgba(45, 190, 96, 0.08);
}

.help-feature strong {
    color: #0f172a;
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.help-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #16a34a;
    border-radius: 10px;
    font-size: 18px;
}

.help-feature h4 {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 2px;
}

.help-feature p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* === SHORTCUT KEYS === */
.help-kbd {
    display: inline-block;
    padding: 2px 7px;
    font-size: 12px;
    font-family: inherit;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-bottom-width: 2px;
    border-radius: 5px;
    color: #475569;
}

/* === CROSS-REFERENCE LINK === */
.help-link {
    color: #2dbe60;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s;
}

.help-link:hover {
    color: #16a34a;
    text-decoration: underline;
}

/* === FOOTER === */
.help-footer {
    padding: 40px 24px;
    background: #f8fafc;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.help-footer-card {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.help-footer-card p {
    margin: 0;
    font-size: 16px;
    color: #475569;
}

.help-footer-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #25D366;
    border-radius: 100px;
    transition: all 0.2s;
}

.help-footer-card a:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
}

/* === MOBILE NAV === */
.mobile-nav-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    background: #2dbe60;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(45, 190, 96, 0.4);
    cursor: pointer;
    z-index: 100;
    transition: all 0.2s;
    border: none;
}

.mobile-nav-btn:hover {
    transform: scale(1.1);
}

.mobile-nav-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-nav-overlay.show {
    display: block;
    opacity: 1;
}

.mobile-nav-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 75vh;
    background: #fff;
    border-radius: 20px 20px 0 0;
    z-index: 201;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.mobile-nav-overlay.show .mobile-nav-drawer {
    transform: translateY(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-nav-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.15s;
    border: none;
    background: none;
}

.mobile-nav-close:hover {
    background: #f1f5f9;
}

/* Mobile tabs selector */
.mobile-tab-select {
    display: none;
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #1e293b;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.mobile-nav-content {
    padding: 12px;
    max-height: calc(75vh - 60px);
    overflow-y: auto;
}

.mobile-nav-content .help-nav-group {
    margin-bottom: 6px;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .help-content {
        padding: 28px 32px 48px;
    }

    .help-sidebar {
        width: 260px;
    }
}

@media (max-width: 1024px) {
    .help-content {
        padding: 24px 28px 40px;
    }

    .help-sidebar {
        width: 240px;
    }

    .help-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .help-hero {
        padding: 28px 20px 24px;
    }

    .help-hero h1 {
        font-size: 26px;
    }

    .help-hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .help-hero-stats {
        gap: 20px;
        margin-bottom: 20px;
    }

    .help-hero-stat strong {
        font-size: 22px;
    }

    .help-tabs-wrapper {
        display: none;
    }

    .mobile-tab-select {
        display: block;
        margin: 12px 16px;
        width: calc(100% - 32px);
    }

    .help-sidebar {
        display: none;
    }

    .help-content {
        padding: 20px 16px 32px;
    }

    .help-section h1 {
        font-size: 22px;
    }

    .help-section h2 {
        font-size: 18px;
    }

    .help-step {
        flex-direction: column;
        gap: 10px;
    }

    .mobile-nav-btn {
        display: flex;
    }

    .help-footer-card {
        flex-direction: column;
        padding: 20px;
    }

    .help-breadcrumb {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .help-features {
        grid-template-columns: 1fr;
    }

    .help-table {
        font-size: 13px;
    }

    .help-table thead th,
    .help-table tbody td {
        padding: 8px 10px;
    }
}
