.help-doc,
.help-doc * {
    font-family: "Public Sans", "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

body.no-scroll {
    overflow: hidden;
}

.help-doc .heading-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.25rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.help-doc .top-heading {
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    letter-spacing: -0.02em;
    color: #0f172a;
    padding-bottom: 0;
    margin-bottom: 0;
}

.help-doc .card {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    border-radius: 0.75rem;
}

.help-doc .help-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.help-doc .help-toc-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.875rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    line-height: 1.45;
    border: 1px solid #e2e8f0;
    background: #fafafa;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.help-doc .help-toc-link::before {
    content: '';
    width: 6px;
    height: 6px;
    margin-top: 0.45rem;
    border-radius: 9999px;
    background: #6366f1;
    opacity: 0.55;
    flex-shrink: 0;
}

.help-doc .help-toc-link:hover {
    background: #fff;
    border-color: #c7d2fe;
    color: #1e1b4b;
    box-shadow: 0 4px 14px -4px rgba(79, 70, 229, 0.2);
}

.help-doc .help-toc-link:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.help-doc .help-toc-eyebrow {
    color: #0f172a;
}

.help-doc .custom-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    min-height: 5.25rem;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.help-doc .custom-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.15);
    transform: translateY(-1px);
}

.help-doc .custom-card > span:first-child,
.help-doc .custom-card > i.icon:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    background: #f1f5f9;
    flex-shrink: 0;
}

.help-doc .custom-card .icon {
    font-size: 1.35rem;
    color: #64748b;
    margin: 0;
}

.help-doc .custom-card h5 {
    margin-bottom: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.help-doc .custom-card p {
    margin-top: 5px;
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
}

.help-doc .slide-panel {
    position: fixed;
    top: 0;
    right: -60%;
    width: 60%;
    max-width: 42rem;
    height: 100%;
    background-color: #f8fafc;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}

.help-doc .close-panel-box {
    background: #fff;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid #e2e8f0;
}

.help-doc .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: #fff;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.9rem;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.help-doc .back-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.help-doc .close-btn {
    background-color: #fff;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    border: 1px solid #e2e8f0;
    min-height: 2.5rem;
    padding: 0 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.help-doc .close-btn:hover {
    background-color: #f1f5f9;
}

.help-doc .close-btn span {
    font-size: 0.8125rem;
    margin-right: 5px;
}

.help-doc .panel-content {
    overflow-y: auto;
    height: calc(100vh - 58px);
}

.help-doc .panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 30px 30px 15px;
}

.help-doc .panel-header i {
    font-size: 32px;
}

.help-doc .panel-icon {
    font-size: 40px;
    color: #94a3b8;
    margin-right: 15px;
}

.help-doc .panel-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.help-doc .panel-header p {
    color: #64748b;
    margin-bottom: 10px;
}

.help-doc .badge {
    display: inline-block;
    padding: 5px 10px;
    background-color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    color: #64748b;
}

.help-doc .panel-steps {
    padding: 0 30px 4rem;
}

.help-doc .step {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    margin-bottom: 1rem;
    flex-direction: column;
}

.help-doc .step-content-box {
    display: flex;
    width: 100%;
}

.help-doc .step .icon {
    font-size: 1.5rem;
    color: #f59e0b;
    margin-right: 1.5rem;
    margin-left: 0.5rem;
}

.help-doc .step h5 {
    margin-bottom: 0;
    font-size: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 7.5px;
    line-height: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.help-doc .step-number span {
    font-size: 1rem;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.help-doc .step p {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5rem;
}

.help-doc .step img {
    width: 100%;
    margin-top: 10px;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.help-doc .notification-box {
    display: flex;
    align-items: flex-start;
    border-radius: 0.75rem;
    padding: 15px;
    margin: 20px 0;
}

.help-doc .notification-box.success {
    color: #166534;
    border: 1px solid #86efac;
    background-color: #f0fdf4;
}

.help-doc .notification-box.success .notification-icon {
    color: #166534;
}

.help-doc .notification-box.danger {
    color: #991b1b;
    border: 1px solid #fecaca;
    background-color: #fef2f2;
}

.help-doc .notification-box.danger .notification-icon {
    color: #dc2626;
}

.help-doc .notification-icon {
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.help-doc .notification-message {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.help-doc .notification-box i {
    font-size: 24px;
}

.help-doc .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.help-doc .overlay.active {
    opacity: 1;
    pointer-events: auto;
}

@media only screen and (max-width: 800px) {
    .help-doc .card {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        width: 95%;
        margin: 0 auto;
    }

    .help-doc .slide-panel {
        right: -100%;
        width: 100%;
        max-width: none;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .help-doc .panel-steps {
        padding: 0 20px 3rem;
    }
}
