.gf-migration-notices {
    display: grid;
    gap: 8px;
    margin: 14px 0 18px;
}

.gf-migration-notice {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 48px 14px 16px;
    background: #fff;
    border-left: 3px solid var(--wp-admin-theme-color, #2271b1);
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
}

.gf-migration-notice.is-dismissing {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 180ms ease, transform 180ms ease, margin 180ms ease, padding 180ms ease, max-height 180ms ease;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    max-height: 0;
    overflow: hidden;
}

.gf-migration-notice-bridge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #4b5563;
}

.gf-migration-notice-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
}

.gf-migration-notice-logo img {
    display: block;
    width: auto;
    max-height: 24px;
}

.gf-migration-notice-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #dbeafe;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.gf-migration-notice-arrow {
    display: inline-flex;
    align-items: center;
    animation: gfMigrationArrowNudge 1.5s ease-in-out infinite;
}

.gf-migration-notice-arrow svg {
    width: 56px;
    height: 14px;
}

.gf-migration-notice-copy {
    min-width: 0;
}

.gf-migration-notice-copy p {
    margin: 0;
    color: #0f172a;
}

.gf-migration-notice-title {
    font-weight: 600;
}

.gf-migration-notice-text {
    margin-top: 2px;
    color: #334155;
}

.gf-migration-notice-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.gf-migration-notice-dismiss {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 2px;
}

.gf-migration-notice-dismiss:hover,
.gf-migration-notice-dismiss:focus {
    color: #111827;
}

@keyframes gfMigrationArrowNudge {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}

@media (max-width: 767px) {
    .gf-migration-notice {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-right: 40px;
    }

    .gf-migration-notice-actions {
        width: 100%;
    }

    .gf-migration-notice-actions .button {
        width: 100%;
        text-align: center;
    }
}
