﻿/* =============================================
   HELP PAGE - راهنما
   ============================================= */

/* ----- کانتینر ----- */
.help-txt-style {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

    /* ----- متن‌ها ----- */
    .help-txt-style p {
        font-size: 15px;
        line-height: 2.2;
        color: #4b5563;
        margin-bottom: 12px;
        padding-right: 20px;
        position: relative;
    }

        .help-txt-style p::before {
            content: "";
            position: absolute;
            right: 0;
            top: 12px;
            width: 8px;
            height: 8px;
            background: #ef4444;
            border-radius: 50%;
        }

        /* ----- نکته ----- */
        .help-txt-style p:has(strong) {
            background: rgba(239, 68, 68, 0.04);
            border-right: 3px solid #ef4444;
            padding: 14px 18px;
            border-radius: 10px;
        }

/* ----- تیترهای اصلی (h2) ----- */
.page-header.h2-size {
    font-size: 22px !important;
    font-weight: 800;
    color: #1f2937;
    padding-bottom: 12px;
    margin: 40px 0 25px;
    border-bottom: 2px solid rgba(239, 68, 68, 0.15);
    position: relative;
}

    .page-header.h2-size::after {
        content: "";
        position: absolute;
        bottom: -2px;
        right: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(to left, #ef4444, #f87171);
        border-radius: 3px;
    }

/* ----- تیتر اصلی صفحه ----- */
.page-header.h1-size {
    font-size: 30px !important;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: none !important;
    position: relative;
}

    .page-header.h1-size::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 80px;
        height: 4px;
        background: linear-gradient(to left, #ef4444, #f87171);
        border-radius: 4px;
    }

/* ----- زیرتیترهای مرحله ----- */
.help-txt-style .h4-size {
    font-size: 18px !important;
    font-weight: 700;
    color: #ef4444;
    margin: 25px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .help-txt-style .h4-size::before {
        content: "●";
        font-size: 12px;
    }

/* ----- خط جداکننده ----- */
.help-txt-style hr {
    border: none;
    height: 1px;
    background: rgba(239, 68, 68, 0.15);
    margin: 10px 0 20px;
}

/* ----- تصاویر ----- */
.help-txt-style img {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    margin: 15px 0;
    max-width: 100%;
    height: auto;
}

/* ----- Dark mode ----- */
.dark-mode .help-txt-style p {
    color: #d1d5db;
}

    .dark-mode .help-txt-style p:has(strong) {
        background: rgba(239, 68, 68, 0.06);
    }

.dark-mode .page-header.h2-size {
    color: #f3f4f6;
    border-bottom-color: rgba(239, 68, 68, 0.25);
}

.dark-mode .page-header.h1-size {
    color: #f3f4f6;
}

.dark-mode .help-txt-style .h4-size {
    color: #f87171;
}

.dark-mode .help-txt-style img {
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.06);
}

.dark-mode .help-txt-style hr {
    background: rgba(239, 68, 68, 0.2);
}

/* ----- موبایل ----- */
@media (max-width: 767px) {
    .help-txt-style p {
        font-size: 14px;
        line-height: 2;
        padding-right: 15px;
    }

        .help-txt-style p::before {
            width: 6px;
            height: 6px;
            top: 11px;
        }

    .page-header.h2-size {
        font-size: 18px !important;
        margin: 30px 0 20px;
    }

    .page-header.h1-size {
        font-size: 24px !important;
    }

    .help-txt-style img {
        border-radius: 10px;
    }
}
