.help_popup_overlay {
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help_popup_container {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 100%;
    min-height: 345px;
    height: 740px;
    max-height: calc(100dvh - 40px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    overflow: visible;
    padding-bottom: 80px;
}



.help_popup_content_wrap {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding: 40px 40px 40px 40px;
    -webkit-overflow-scrolling: touch;
}

.help_popup_image_wrap {
    flex-shrink: 0;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    max-height: 280px;
}

.help_popup_image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    vertical-align: middle;
}

.help_popup_title {
    font-size: 22px;
    color: #333;
    margin: 0 0 15px;
    font-weight: 600;
}

.help_popup_description {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
    /* white-space: pre-wrap; */
}

.help_popup_description ul {
    margin: 0;
    margin-bottom: 1em;
    padding-inline-start: 2em;
}
.help_popup_description p {
    padding-bottom: 1em;
}

.help_popup_nav {
    position: absolute;
    box-sizing: border-box;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0px 40px ;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-shrink: 0;
    margin-top: 10px;
}

.help_popup_arrow {
    width: 44px;
    height: 44px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #444;
    padding: 0;
    flex-shrink: 0;
}

.help_popup_arrow:hover {
    background: #e0e0e0;
}

.help_popup_arrow:disabled,
.help_popup_arrow.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.help_popup_dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex: 1;
}

.help_popup_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s;
}

.help_popup_dot:hover {
    background: #999;
}

.help_popup_dot.active {
    background: var(--main-color, #667eea);
}

.help_close_btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 24px;
    background-color: white;
    border-radius: 50%;
    padding: 5px;
}

.help_close_btn::after {
    content: "\f00d";
    font-family: "FontAwesome";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #444;
    font-size: 26px;
}

.help_popup_back_btn {
    position: absolute;
    top: 7px;
    left: 5px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background-color: white;
    color: #444;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.help_popup_back_btn:hover {
    background: #f5f5f5;
}

.help_popup_list_title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px;
}

.help_popup_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help_popup_list_item {
    padding: 14px 16px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}

.help_popup_list_item:hover {
    background: #f5f5f5;
}

.help_popup_list_item:last-child {
    border-bottom: none;
}