/**
 * Admin Notices Styles
 *
 * Styles for admin notices and review prompts
 * Always loaded on all admin pages
 */

/* Admin review notice */
.ipb-review-notice {
    box-sizing: border-box;
    width: auto;
    max-width: calc(100% - 20px);
    overflow: hidden;
}

.ipb-review-notice .ipb-review-notice__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    min-width: 0;
}

.ipb-review-notice .ipb-review-notice__message {
    flex: 1 1 420px;
    min-width: 0;
}

.ipb-review-notice .ipb-review-notice__actions {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 6px;
}

.ipb-review-notice .ipb-review-notice__actions .button {
    margin: 0;
    white-space: nowrap;
}

@media screen and (max-width: 782px) {
    .ipb-review-notice {
        max-width: calc(100% - 10px);
    }

    .ipb-review-notice .ipb-review-notice__inner {
        align-items: flex-start;
        padding: 8px 0;
    }

    .ipb-review-notice .ipb-review-notice__message,
    .ipb-review-notice .ipb-review-notice__actions {
        flex-basis: 100%;
        margin: 0;
    }
}

/* End review */
