
#wpcontent {
    padding-left: 0;
}


#forumax {
    /* Pagination styling for admin table */
    .tablenav-pages {
        float: right;
        margin: 1em 0;
    }

    .tablenav-pages a,
    .tablenav-pages span {
        display: inline-block;
        padding: 4px 10px;
        margin: 0 3px;
        border: 1px solid #ddd;
        background: #f7f7f7;
        color: #555;
        text-decoration: none;
        border-radius: 3px;
    }

    .tablenav-pages a:hover {
        background: #e8e8e8;
        border-color: #ccc;
        color: #23282d;
    }

    .tablenav-pages .current {
        background: #0073aa;
        border-color: #006799;
        color: #fff;
        font-weight: 600;
    }

    .tablenav-pages .tablenav-pages-navspan {
        color: #bbb;
        background: #f7f7f7;
        border-color: #ddd;
    }

    /* Table navigation bottom margin */
    .tablenav.bottom {
        margin-top: 20px;
    }

    /* Responsive pagination */
    @media screen and (max-width: 782px) {
        .tablenav-pages {
            float: none;
            text-align: center;
        }

        .tablenav-pages a,
        .tablenav-pages span {
            padding: 6px 14px;
            font-size: 14px;
        }
    }
}

#screen-meta-links{
    float: inherit;
    position: relative;
    width: 100%;
    .screen-meta-toggle{
        float: inherit;
        position: absolute;
        top:100%;
        right:20px;
    }
}
.atml-container.wrap{
    margin: 0;
}

#atml-docs {
    .atml-docs {
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        @media screen and (max-width: 960px) {
            grid-template-columns: 1fr;
        }

        .atml-prompt-area {
            height: max-content;
        }

        .atml-doc-outline {
            height: max-content;
            padding: 20px 40px 30px 40px;

            .atml-form-inner-wrapper {
                max-width: 100%;
                margin-top: 10px;

                .atml-doc-main-title {
                    font-size: 2em;
                    text-align: center;
                    line-height: 1.3;
                }

                .atml-lesson-title {
                    font-size: 1.5em;
                    line-height: 1.5em;
                    min-height: 29.25px;
                    margin: 10px 0;
                }

                .atml-lesson-title-editable {
                    outline: none;

                    &.loading {
                        opacity: 0.7;
                    }
                }

                .atml-lesson {
                    padding: 10px 20px;
                    margin-bottom: 10px;
                    border-radius: 8px;
                    border: 1px solid #cccccc44;
                    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                    position: relative;

                    .atml-lesson-actions {
                        display: none;
                        align-items: center;
                        gap: 6px;
                        position: absolute;
                        top: 10px;
                        right: 10px;

                        .action {
                            cursor: pointer;

                            &.add-lesson {
                                &:hover {
                                    color: #007cba;
                                }
                            }

                            &.remove-lesson {
                                font-size: 12px;

                                &:hover {
                                    color: #7e0606;
                                }
                            }
                        }
                    }

                    &:hover {
                        .atml-lesson-actions {
                            display: flex;
                        }
                    }

                    .atml-sub-lessons {
                        list-style-type: disc;
                        padding-left: 24px;
                    }
                }
            }
        }
    }
}
