#cgGalleryBackendDataManagement .cg_gallery_backend_actions{
    position:static;
}
#cgGalleryBackendDataManagement .cg-gallery-export-panel{
    flex-direction:column;
    gap:12px;
    height:auto;
}
#cgGalleryBackendDataManagement .cg-gallery-export-buttons{
    grid-template-rows:none;
    align-content:start;
    height:auto;
}
#cgGalleryBackendDataManagement .cg-gallery-export-button{
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
    min-height:108px;
    padding:20px;
    margin:0;
    border:1px solid #dedede;
    border-radius:16px;
    background:linear-gradient(180deg,#fff,#f7f7f7);
    color:#222;
    text-align:left;
    white-space:normal;
    cursor:pointer;
    box-shadow:2px 4px 12px rgba(0,0,0,.05);
    box-sizing:border-box;
}
#cgGalleryBackendDataManagement .cg-gallery-export-button:hover,
#cgGalleryBackendDataManagement .cg-gallery-export-button:focus-visible{
    background:#f0f3f5;
    border-color:#89949c;
}
#cgGalleryBackendDataManagement .cg-gallery-export-button:disabled{opacity:.55;cursor:default;}
#cgGalleryBackendDataManagement .cg-gallery-export-button .dashicons{font-size:28px;width:28px;height:28px;flex:none;color:#58636c;}
.cg-gallery-export-copy{display:flex;flex-direction:column;gap:7px;}
.cg-gallery-export-copy strong{font-size:14px;line-height:1.35;}
.cg-gallery-export-copy>span{font-size:12px;line-height:1.5;font-weight:400;color:#60666b;}
#cgGalleryBackendDataManagement .cg-gallery-export-zip-card{
    border:1px solid #dedede;
    border-radius:16px;
    background:linear-gradient(180deg,#fff,#f7f7f7);
    box-shadow:2px 4px 12px rgba(0,0,0,.05);
    overflow:hidden;
    box-sizing:border-box;
}
#cgGalleryBackendDataManagement .cg-gallery-export-zip-card>.cg-gallery-export-button{
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
#cgGalleryBackendDataManagement .cg-gallery-export-zip-card>.cg-gallery-export-button:hover,
#cgGalleryBackendDataManagement .cg-gallery-export-zip-card>.cg-gallery-export-button:focus-visible{background:#f0f3f5;}
.cg-gallery-export-existing{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;font-size:12px;padding:12px 16px 16px;border-top:1px solid #e3e7ea;}
.cg-gallery-export-existing button,.cg-gallery-export-existing a{background:transparent;border:0;color:#394b58;padding:3px 0;cursor:pointer;text-decoration:underline;font:inherit;line-height:1.5;}
.cg-gallery-export-existing-message{width:100%;}
.cg-gallery-export-existing-message:empty{display:none;}
#cgGalleryExportModalContainer.cg_backend_action_container{
    top:50%;
    left:50%;
    width:min(580px,calc(100vw - 40px));
    max-width:calc(100vw - 40px);
    max-height:calc(100vh - 60px);
    min-height:0;
    height:auto;
    text-align:left;
    transform:translate(-50%,-50%);
    overflow:auto;
    padding:28px;
    border:1px solid #dedede;
    border-radius:16px;
    background:#fff;
    box-sizing:border-box;
    color:#222;
}
#cgGalleryExportLabel{font-size:12px;font-weight:600;color:#60666b;padding-right:25px;}
#cgGalleryExportHeadline{font-size:24px;line-height:1.3;margin:10px 0;}
#cgGalleryExportModalContainer p{font-size:14px;line-height:1.5;}
#cgGalleryExportProgress{height:9px;background:#e9edef;border-radius:5px;overflow:hidden;margin-top:24px;}
#cgGalleryExportProgress>span{display:block;height:100%;width:0;background:#526b7a;transition:width .15s;}
.cg-gallery-export-meta{display:flex;justify-content:space-between;font-size:12px;margin-top:10px;}
#cgGalleryExportError{background:#fff0ef;color:#a02c24;border-radius:8px;padding:12px;}
#cgGalleryExportModalContainer #cgGalleryExportNote{font-size:12px;color:#60666b;margin:20px 0;}
.cg-gallery-export-dialog-actions{display:flex;flex-wrap:wrap;gap:10px;}
.cg-gallery-export-dialog-actions button,.cg-gallery-export-dialog-actions a{
    display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;
    border:1px solid #d8dfe3;border-radius:8px;background:#f5f7f8;color:#253946;cursor:pointer;text-decoration:none;font:inherit;box-sizing:border-box;
}
.cg-gallery-export-dialog-actions button:hover,.cg-gallery-export-dialog-actions a:hover,
.cg-gallery-export-dialog-actions button:focus-visible,.cg-gallery-export-dialog-actions a:focus-visible{background:#e4ebef;border-color:#8394a0;}
.cg-gallery-export-dialog-actions button:disabled{opacity:.5;cursor:default;}
#cgGalleryExportDownload{background:#314c5b;border-color:#314c5b;color:#fff;}
#cgGalleryExportDownload:hover,#cgGalleryExportDownload:focus-visible{background:#203744;}
#cgGalleryExportModalContainer .cg-gallery-export-close-icon{position:absolute;right:16px;top:12px;background:transparent;border:0;font-size:26px;cursor:pointer;color:#555;}
#cgGalleryExportModalContainer button,#cgGalleryExportModalContainer a,
#cgGalleryBackendDataManagement .cg-gallery-export-button,.cg-gallery-export-existing button,.cg-gallery-export-existing a{
    outline:none !important;
}
#cgGalleryExportModalContainer button:focus,#cgGalleryExportModalContainer a:focus,.cg-gallery-export-existing button:focus,.cg-gallery-export-existing a:focus{box-shadow:none;}
@media(max-width:600px){
    #cgGalleryExportModalContainer.cg_backend_action_container{padding:22px;}
    #cgGalleryBackendDataManagement .cg-gallery-export-button{padding:16px;min-height:104px;}
}

@media(max-width:782px){
    #cgGalleryBackendDataManagement .cg_gallery_backend_data_management_row,
    #cgGalleryBackendDataManagement .cg_gallery_backend_data_management_row>td{display:block;width:100%;box-sizing:border-box;}
    #cgGalleryBackendDataManagement .cg_gallery_backend_actions_cell{padding:16px;}
    #cgGalleryBackendDataManagement .cg_gallery_backend_actions{position:static;}
    #cgGalleryBackendDataManagement .cg-gallery-export-panel{height:auto;max-width:none;}
    #cgGalleryBackendDataManagement .cg-gallery-export-buttons{height:auto;grid-template-rows:none;gap:12px;}
}
