 /*==========================================================
    QAMSA EDITOR  block 1
==========================================================*/
.qamsa-editor-shell{
    background:rgba(255,255,255,.72);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border:1px solid rgba(13,110,253,.08);
    border-radius:22px;
    overflow:hidden;
    box-shadow:
        0 10px 30px rgba(0,0,0,.05);
}

/*==========================================================
    CKEDITOR CONTAINER
==========================================================*/
.qamsa-editor-shell .ck{
    border:none !important;
    box-shadow:none !important;
}

.qamsa-editor-shell .ck-editor{
    border:none;
}

.qamsa-editor-shell .ck-editor__main{
    border:none;
}

.qamsa-editor-shell .ck-content{

    min-height:120px;

    padding:22px;

    font-size:.97rem;

    line-height:1.8;

    color:var(--bs-body-color);

    background:transparent;

}

.qamsa-editor-shell .ck-content:focus{

    outline:none;

    box-shadow:none;

}

/*==========================================================
    TOOLBAR
==========================================================*/

.qamsa-editor-shell .ck-toolbar{

    border:none !important;

    border-bottom:1px solid rgba(13,110,253,.08) !important;

    background:rgba(255,255,255,.55) !important;

    backdrop-filter:blur(12px);

    padding:10px 12px;

    gap:4px;

}




/*==========================================================
    TOOLBAR BUTTONS block 2
==========================================================*/

.qamsa-editor-shell .ck-toolbar__items{

    gap:6px;

}

.qamsa-editor-shell .ck-button{

    border-radius:12px !important;

    transition:all .25s ease;

    min-width:36px;

    min-height:36px;

}

.qamsa-editor-shell .ck-button:hover{

    background:rgba(13,110,253,.08) !important;

    transform:translateY(-1px);

}

.qamsa-editor-shell .ck-button.ck-on{

    background:#0d6efd !important;

    color:#fff !important;

}

.qamsa-editor-shell .ck-dropdown__button{

    border-radius:12px !important;

}

 
 /*==========================================================
    QAMSA EDITOR FOOTER
==========================================================*/

.qamsa-editor-footer{

    padding:18px 22px 20px;

    border-top:1px solid rgba(13,110,253,.08);

    background:rgba(255,255,255,.45);

}

/*==========================================================
    TOP ROW
==========================================================*/

.editor-footer-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:18px;

    margin-bottom:12px;

}

.editor-tool-group{

    display:flex;

    align-items:center;

    gap:14px;

    flex-wrap:wrap;

}

/*==========================================================
    GLASS TOOL CARDS
==========================================================*/

.editor-tool-btn{

    width:46px;

    height:46px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:none !important;

    outline:none;

    border-radius:16px;

    cursor:pointer;

    color:#4b5563;

    background:rgba(255,255,255,.72);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.65) !important;

    box-shadow:
        0 6px 16px rgba(15,23,42,.08),
        inset 0 1px 0 rgba(255,255,255,.55);

    transition:all .25s ease;

}

.editor-tool-btn:hover{

    background:#0d6efd;

    color:#fff;

    transform:translateY(-3px);

    box-shadow:
        0 12px 24px rgba(13,110,253,.28);

}

.editor-tool-btn i{

    font-size:1rem;

}

/*==========================================================
    AI BUTTON
==========================================================*/

.editor-ai-btn{

    display:flex;

    align-items:center;

    gap:10px;

    height:46px;

    padding:0 20px;

    border:none;

    border-radius:16px !important;

    font-weight:600;

    box-shadow:

        0 10px 24px rgba(13,110,253,.25);

}

/*==========================================================
    META
==========================================================*/

.editor-footer-meta{

    display:flex;

    align-items:center;

    gap:10px;

    margin-left:4px;

    margin-bottom:18px;

    color:#6b7280;

    font-size:.86rem;

}

.editor-divider{

    opacity:.40;

}

/*==========================================================
    ACTIONS
==========================================================*/

.editor-footer-actions{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:14px;

}

.editor-cancel{

    border:none !important;

    background:transparent !important;

    color:#6b7280 !important;

    font-weight:500;

    box-shadow:none !important;

}

.editor-cancel:hover{

    color:#111827 !important;

}

.editor-submit{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    min-width:165px;

    height:48px;

    padding:0 15px;

    border:none;

    border-radius:999px !important;

    font-weight:600;

    box-shadow:

        0 12px 24px rgba(13,110,253,.28);

    transition:all .25s ease;

}

.editor-submit:hover{

    transform:translateY(-2px);

}

/*==========================================================
    MOBILE
==========================================================*/

@media (max-width:768px){

    .editor-footer-top{

        flex-direction:column;

        align-items:stretch;

        gap:16px;

    }

    .editor-tool-group{

        justify-content:space-between;

        gap:10px;

    }

    .editor-tool-btn{

        width:44px;

        height:44px;

    }

    .editor-ai-btn{

        width:100%;

        justify-content:center;

    }

    .editor-footer-meta{

        justify-content:center;

        margin:0 0 16px;

    }

    .editor-footer-actions{

        justify-content:space-between;

    }

    .editor-submit{

        flex:1;

    }

}