/*!**************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./admin/blocks/mpt-images/editor.css ***!
  \**************************************************************************************/
/* editor.css */

.mpt-tab-panel  {
    margin-top: 15px;
}

.mpt-tab-panel .components-tab-panel__tabs-item.active-tab {
    background-color: #fff;
    border-bottom: 1px solid #fff;

    background: #fff;
    border: 1px solid #dcdcde;
    border-bottom: none;
}

.button-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* takes the full height of the block */
    padding: 20px 0; /* adds space above and below the button */
}


/* Fichier editor.css */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-auto-rows: 10px;
    grid-auto-flow: dense;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.media-grid .attachment {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: block;
}

.media-grid .attachment .thumbnail,
.media-grid .attachment img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.blue-grid {
    filter: blur(14px);
    margin-top: -75px;
}



.wp-core-ui .attachment.mpt-attachment {
    position: relative;
    cursor: pointer;
}

.results-search > .media-grid {
    /* Heredar estilos del .media-grid padre */
}

.results-search .attachment .thumbnail {
    border: 1px solid #eee;
}

.results-search .attachment:hover .img-result {
    display: flex;
}

.results-search .attachment .img-result {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.7);
    justify-content: center;
    align-items: center;
    cursor: default;
}

.results-search .img-result > div {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 99;
    cursor: pointer;
}

.results-search > span {
    width: 200px;
    height: 200px;
    margin: 15px auto 0;
    display: block;
}

.wp-core-ui .blue-grid .attachment-preview {
    cursor: auto;
}


.wp-core-ui .attachment.mpt-attachment .thumbnail:after {
    position: static !important;
}


.loader-mpt {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 999;
}

.loader-mpt p {
    margin-top: 30px;
    font-size: 15px;
}

.hidden {
    display: none !important;
}

.show {
    display: block;
}
