/**
 * Styles the post table column width to avoid layout issues. This width
 * provides enough space for the button, even when the text is translated
 * to Portuguese ("Compartilhar") for example.
 */
.column-metricool {
    width: 130px;
}
/* -- */

/**
 * Admin notices
 */
.toplevel_page_metricool .rsp-metricool-admin-notice {
    margin: 16px;
}

.rsp-metricool-admin-notice {
    border-left-color: #c65880;
}

.rsp-metricool-admin-notice .rsp-metricool-container {
    display: flex;
    padding: 12px;
    position: relative;
}

.rsp-metricool-admin-notice .rsp-metricool-admin-notice-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.rsp-metricool-admin-notice .rsp-metricool-admin-notice-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.rsp-metricool-admin-notice .rsp-metricool-buttons-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rsp-metricool-admin-notice .rsp-metricool-content {
    margin-left: 30px;
    flex: 1;
}

.rsp-metricool-admin-notice .rsp-metricool-content .button {
    background: #000;
    border-color: #999;
    color: #fff;
    border: none;
}

.rsp-metricool-admin-notice .rsp-metricool-content button.link {
    background: none;
    border: none;
    color: #2271b1;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
}

.rsp-metricool-admin-notice .rsp-metricool-dismiss {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #787c82;
    font-size: 16px;
    line-height: 1;
}

.rsp-metricool-admin-notice .rsp-metricool-dismiss:hover {
    color: #d63638;
}

.rsp-metricool-admin-notice.rtl {
    border-left: 0;
    border-right: 4px solid #333;
}

.rsp-metricool-admin-notice.rtl .rsp-metricool-content {
    margin-left: 0;
    margin-right: 30px;
}

.rsp-metricool-admin-notice.rtl .rsp-metricool-dismiss {
    right: auto;
    left: 0;
}
/* -- */
