/* 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(100px, 1fr));
    gap: 16px;
    padding: 16px;
}

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

.unlock-pro {
    position: relative;
    text-align: center;
    margin: 0 auto;
    display: block;
    top: 175px;
    background: rgba(255,255,255,0.5);
    z-index: 9;
    padding: 13px 0 22px;
    width: 50%;
    min-width: 350px;
    font-size: 18px;
    border-radius: 5px;
    font-weight: 700;
}

.unlock-pro a {
    text-decoration: none;
}
.unlock-pro a:hover {
    text-decoration: initial;
}

.unlock-pro img {
    vertical-align: -40%;
}

.wp-core-ui .attachment.mpt-attachment {
    width: 100%;
    min-width: 200px;
}

.results-search > .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.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;
}